Mail Archives: djgpp/1997/03/14/13:27:10
Hi!
I'm quite new to c programming and I have the following problem.
In my main function I pass a string that contains a direction to
the function 'walk(direction)'
In this function I also give a value to 'int frame_number'
The sprite is defined named like RIGHT_1, RIGHT_2, LEFT_1 and so on
How can I use draw_sprite (in Allegro) to draw the right frame if
I have the right direction and frame_number?
------------------------------------------------------------------------
mailto:deltaman AT swipnet DOT se
Please visit my homepage at http://www.geocities.com/TimesSquare/8240
------------------------------------------------------------------------
______ _______ _______ _______ _______ _______ __ _
| \ |______ | | |_____| | | | |_____| | \ |
|_____/ |______ |_____ | | | | | | | | | \_|
- Raw text -