Brett - animations

Started by
0 comments, last by Cobra 23 years, 1 month ago
I hope you get to see this. I tried visiting BOTH of your sites ( old and new ) for an e-mail addy, but both sites were down! ( sods law! hehe ). Basically I just wanted to know if there is any way to set which animation frames are ran depending on which key is being pressed. For example, how would I make it so that when you press the forwards key, it runs through animation frames 1-15 e.t.c. Hope you can help me.. Thanx. ~Cobra~ Edited by - Cobra on February 16, 2001 6:19:07 PM
"Build a man a fire, and he will be warm for a day. Set a man on fire, and he will have warmth for the rest of his life"
Advertisement
I''m not great at c programming but I would do it by declaring a variable for the animation mode, and a variable for the frame, alter the animation mode variable with key presses and cycle the frame. If you think about it a bit and use a few "if"s it''s not hard. Like, if mode=2 draw frame+15.

Or is your problem with keyboard input?

This topic is closed to new replies.

Advertisement