Page 1 of 1

changing a file?

PostPosted: Sun Nov 28, 2010 12:01 am
by Toasterman
Hello, I'm working on a game based on the original megaman games (first part posted here: http://game-editor.com/forum/viewtopic.php?f=4&t=9227 )

In the original games you're character is blue, but when you beat one of the eight bosses
you would take their power (like flame, electricity, a drill, a bomb, or whatever) and you would turn that color too.
You start out blue, but you can be green, yellow, red, etc when you have the powers selected- other than color scheme you are identical

My character is one master file (attached) that contains all the character's actions- the animations are all sequences based on the main file (4-6 is walking etc)
I have ten or so animations, but for 8 different colors that would be 80!

What I want to know is whether or not I could just change that one main file to another identical (but for the color) one so I could have 8 files?
Is there a way to change the file directory (in game) or something like that? Is there a better way to do this?

Also, I thought I could use the r b g deal to specify the color, but not all the colors change- his armor is two shades of blue, but his face is always orange

Any thoughts?

Re: changing a file?

PostPosted: Sun Nov 28, 2010 12:13 am
by skydereign
Well, you can split the image into two images, one with the face, and the other with the armor. That way you can make a white armor, and use rgb to get any color you want. As for changing sequences, you'll have to create animations for each color, and then the proper sequences (assuming you don't split the image into two).

Re: changing a file?

PostPosted: Sun Nov 28, 2010 8:48 pm
by Toasterman
Thanks for the prompt response skydereign :D
I think splitting the animation in two should work- I'm going to try it now