Computer Science Canada

I need help on scrolling

Author:  ragex [ Sat Dec 13, 2003 2:26 pm ]
Post subject:  I need help on scrolling

This is my retarded pacman game that i wrote, its a start, but i cant seem to get my pacman to stay on the screen or keep moving when you let go of the arrow keys. If you can help me plz e-mail me.

Author:  AsianSensation [ Sat Dec 13, 2003 3:16 pm ]
Post subject: 

in your code, you are only drawing pacman when a key is pressed down. so naturally when no key is pressed, then pacman is not drawn. I suggest that at the end of your loop or something, draw pac-man once, but make sure to remember which way he is facing.

btw, do try and use View.Update, I was getting a headache watching the thing flickering.

Author:  DanShadow [ Sat Dec 13, 2003 5:11 pm ]
Post subject: 

http://www.compsci.ca/v2/viewtopic.php?t=2462
There is my topic, it explains the basic or scrolling maps...if you dont understand, pm me or something.

Author:  DanShadow [ Sat Dec 13, 2003 6:38 pm ]
Post subject: 

Actually, even better! I just wrote a tutorial on graphical RPGs, and it includes the secret to make scrolling games. Just goto here:
[Tutorial] Graphical RPG
http://www.compsci.ca/v2/viewtopic.php?t=2524


: