What I want to do is take my rpg man sprite and understand how I can access each of his eight animations with methods. I've looked at code that does something like this but I'm not quite getting it. Right now, I got my guy to do two seperate animations from two separate bmps and he's facing forward in every direction he goes.So it looks like he's walking forward all the time. I guess what I am asking is how do I go about accessing all eight of his animations from a single bmp and assign them to the direction I want that animation to go to?
Pikachumanson
0
Light Poster
Recommended Answers
Jump to PostWell, your bmp, is it done the standard way of having in effect the 8 pictures side by side in say a 2 row, 4 column format? If so you have to copy the relevant "frame" out of that picture and place it on the screen
Jump to PostAs I said you need to copy out the relevant "frame" from within your big picture. Doing it into an array is often easiest to code with later.
so if your picture was in the format
1 2 3 4
5 6 7 8(numbers representing your …
All 5 Replies
LizR
171
Posting Virtuoso
Pikachumanson
0
Light Poster
LizR
171
Posting Virtuoso
Pikachumanson
0
Light Poster
LizR
171
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.