RPG Problem
Root / Programming Questions / [.]
blizordCreated:
The problem is having/moving other sprites on my map aside from my main character. Because the map moves instead of the sprite, the other sprites on the map move too. I found away around this in my game Hoppy because the background is moving constantly in one direction so I just had to keep minusing the sprites x. This won't be that easy. Even if I were to minus all of the sprites stats wherever the main character move I would need to make them move at the same speed as the sprite, which I wouldn't know how to do it.(because the main character moves by 16 pixels each time. And there also isn't a timer on it i would probably have to make. It just moves like: BGY=BGY+1, GOSUB @BGMOVE, SPCHR whatever, etc. etc. etc. until it reaches reaches 16 pixels. So the other sprites wouldn't be able to move at the same time. pretty much the whole rpg would stop while the character is moving. If anyone could help with the timer for this I'd really appreciate it or pretty much anything with this problem.)Wait, why was all of that in parentheses. whatever..
EDIT: I forgot the key: XRWXVNQE
if you check out my program its a little bit sloppy with testing and stuff. Also, you can't move out of the map(like -1) or else there will be an error.