YesNoOk
avatar

stage as one big animation (Read 782 times)

Started by Andre #2, January 15, 2011, 10:23:39 pm
Share this topic:
stage as one big animation
#1  January 15, 2011, 10:23:39 pm
  • avatar
  • **
    • sites.google.com/site/andreswebstation/home
on my beach hut stage I want to try it as one big animation. I tried it awhile back but the color loss was horrible and uneven. Using the RGB method whats the best way to code that? Has anyone done that or know of a stage that did?

Version 3.0 coming... Um...  When I get to it.
Re: stage as one big animation
#2  January 15, 2011, 10:29:18 pm
  • *****
  • Most Dangerous Mugen
    • USA
    • caddie.smeenet.org
Yes, you'll have to split the images into sections. Decrease colors on each section individually. This will give each section a 256 color count, instead of 256 colors for the entire image. I've done a stage like that before, so if you want an example of how to do it, download the "Clocktower" stage from here:

http://caddie.smeenet.org/pages/stages/neowave.html
Re: stage as one big animation
#3  January 15, 2011, 10:54:51 pm
  • avatar
  • **
    • sites.google.com/site/andreswebstation/home
Thanks. I know about splitting the colors but I was more focused on the coding of the stage. would I have to animate the reds, greens, and blues separately?

-Edit- I saw you used the jigsaw method on that stage.

Version 3.0 coming... Um...  When I get to it.
Last Edit: January 15, 2011, 11:01:51 pm by Andre #2
Re: stage as one big animation
#4  January 15, 2011, 11:11:41 pm
  • ***
  • I'm not a player, I guard-crush a lot.
    • USA
    • mugenorama.smeenet.org/index.html
Thanks. I know about splitting the colors but I was more focused on the coding of the stage. would I have to animate the reds, greens, and blues separately?

Yes, you would have to.  I did something like that in my Junon Dock stage.  Just remember to handle the transparency in the animation elements themselves when you layer them, like this (code stolen from myself):

Code:
;waves, layered in RGB fashion

[bg 2]
type = anim
actionno = 2
start = -320,151

[begin action 2]
-1,0,0,0,5
2,0,0,0,5
2,1,0,0,5
2,2,0,0,5
2,3,0,0,5
2,4,0,0,5
2,5,0,0,5
2,6,0,0,5

[bg 2]
type = anim
actionno = 3
start = -320,151

[begin action 3]
-1,0,0,0,5
3,0,0,0,5,,A
3,1,0,0,5,,A
3,2,0,0,5,,A
3,3,0,0,5,,A
3,4,0,0,5,,A
3,5,0,0,5,,A
3,6,0,0,5,,A

[bg 2]
type = anim
actionno = 4
start = -320,151

[begin action 4]
-1,0,0,0,5
4,0,0,0,5,,A
4,1,0,0,5,,A
4,2,0,0,5,,A
4,3,0,0,5,,A
4,4,0,0,5,,A
4,5,0,0,5,,A
4,6,0,0,5,,A

So you're doing the RGB trick, but defining the transparency in the animation code itself instead of in the [bg X] part.  That's basically it. :)
Re: stage as one big animation
#5  January 16, 2011, 12:43:09 am
  • avatar
  • **
    • sites.google.com/site/andreswebstation/home
Thanks. you guys have been a big help.

Version 3.0 coming... Um...  When I get to it.