Search found 9 matches

by Dialglex
Tue Jun 20, 2017 7:14 am
Forum: Support and Development
Topic: Help with filter data
Replies: 2
Views: 2227

Help with filter data

I have tried to implement filter data into my game but I am having troubles. I have the map, 4 cars, and bullets from each car. I want everything to collide with the map. I want the cars to collide with everything, except their own bullets. I want the bullets to collide with everything except their ...
by Dialglex
Fri Feb 10, 2017 5:45 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Re: Is it possible to tile a triangle like you can with quads?

I am setting the wrap in the load function, should I be putting it somewhere else?

Code: Select all

maptileimage = love.graphics.newImage("Images/Map/SandBlock.png") NEWLINE 

maptileimage:setWrap("repeat", "repeat")
I can't make a new line for some reason.
by Dialglex
Thu Feb 09, 2017 8:38 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Re: Is it possible to tile a triangle like you can with quads?

I want the image to tile, but using 1 just makes it a single big image. The image is 32x32 by the way.
by Dialglex
Wed Feb 08, 2017 10:57 pm
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Re: Is it possible to tile a triangle like you can with quads?

Code: Select all

objects.leftramp.meshtable = {{0,0, 0, 10}, {320, -160, 10, 0}, {320, 0, 10, 10}}
objects.leftramp.mesh = love.graphics.newMesh(objects.leftramp.meshtable)
Thanks for your help :)
by Dialglex
Wed Feb 08, 2017 11:13 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Re: Is it possible to tile a triangle like you can with quads?

I am but all it is doing is tilting the image.
by Dialglex
Wed Feb 08, 2017 10:04 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Re: Is it possible to tile a triangle like you can with quads?

Thanks for the replies, I have used meshes and it is almost done but it is stretching the image because it is it is not a square shaped triangle. How would I make it not stretch?
by Dialglex
Wed Feb 08, 2017 5:52 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Re: Is it possible to tile a triangle like you can with quads?

peterrust, how would I make half of it transparent? I already had the idea, but I just didn't know how to do it.
by Dialglex
Tue Feb 07, 2017 6:49 am
Forum: Support and Development
Topic: Is it possible to tile a triangle like you can with quads?
Replies: 17
Views: 7900

Is it possible to tile a triangle like you can with quads?

I am making a platformer map with slopes but I am not sure how to give a triangle a tile effect.