Thread
:
Detecting Tiles on a Board
View Single Post
#
3
02-01-2004, 11:48 AM
WanDaMan
Master Tux
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
I use it for weapons where you have to be on specific tile(s).
It goes like:
Quote:
if(tiles[playerx,playery] == tileshere||tileshere2){
//stuff
}
Or put all the tile values in a variable to make it easier to add and read.
WanDaMan
View Public Profile
View GraalOnline Profile
Find all posts by WanDaMan