Howdy all, I asked this q in the "phantom" forum, and diden't really get an answer....
The game I'm currently working on uses tiles for background graphics, I have 2 2-d arrays to store background information, and foreground information (extras), eg... if the location is solid (player can stand on it etc), anyhow I currently have the player moving around a "tile" space at a time, because it's easy to do the checking to see if the location is ok for the player to moveto etc, but I'd like the player (and possibly others) to move at say a 1/4 of a tile size at a time... can someone give me a idea as to how to check if the player can move etc, would this involve deviding the player location by 4, then seeing if there is a remainder to see if they have started to move into the next tile etc? (BTW the player movement I have at the moment is good, but very fast, it's running at about 50fps, so the player can move quite a distance in 1sec
)
better still are there an 2-d top down RPG etc engines out there ?
-thanks in advance
The game I'm currently working on uses tiles for background graphics, I have 2 2-d arrays to store background information, and foreground information (extras), eg... if the location is solid (player can stand on it etc), anyhow I currently have the player moving around a "tile" space at a time, because it's easy to do the checking to see if the location is ok for the player to moveto etc, but I'd like the player (and possibly others) to move at say a 1/4 of a tile size at a time... can someone give me a idea as to how to check if the player can move etc, would this involve deviding the player location by 4, then seeing if there is a remainder to see if they have started to move into the next tile etc? (BTW the player movement I have at the moment is good, but very fast, it's running at about 50fps, so the player can move quite a distance in 1sec
better still are there an 2-d top down RPG etc engines out there ?
-thanks in advance