lol@dr derek.
thanks for your reponses. it is 2d btw.
it the actual code to get the character to walk on the ground and check when is is jumping/falling when he hits a bit of floor. would i need to check collisions between the image and ever single tile or piece of ground in the level?
i know you said not to use imagescollide but this is for example purposes
or store all the tiles in a type collection when they are being used and cycle thru them maybe?
and dr., what other method do you suggest for checkin image collision?
thanks for your reponses. it is 2d btw.
it the actual code to get the character to walk on the ground and check when is is jumping/falling when he hits a bit of floor. would i need to check collisions between the image and ever single tile or piece of ground in the level?
i know you said not to use imagescollide but this is for example purposes
if imagescollided(player,x,y,groundtile1,gx,gy)
or store all the tiles in a type collection when they are being used and cycle thru them maybe?
and dr., what other method do you suggest for checkin image collision?