Tiles and collision

Blitz3D Forums/Blitz3D Beginners Area/Tiles and collision

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks for the tip BlackD, the only main problem i'm having is know where the errors are. i took your advise on adding lines for code to print the results but where ever i place it i get some kind of error like : array index out of range or variable must be a type ??? the code i put in is:
If Map(player\x,player\y)=0 Then Text 0,0,"Player has collided with the scene!"
i placed it in the update_player function which give me the first message i quoted and also in the main loop of the program which give the seconds error, i haven't placed the code in the two places at once. and i dunno where the code has gone wrong.