YesNoOk
avatar

transparant parallaxed floor? (Read 154 times)

Started by rukifellth, June 17, 2012, 09:26:54 pm
Share this topic:
transparant parallaxed floor?
#1  June 17, 2012, 09:26:54 pm
  • ****
  • Currently working in 8 bits...
    • Sweden
Is it possible to have transparant parallax floor? I'm trying to make a stage that features this, but dunno how to do it. Here's the code so far:

[BG Background]
type = norm
spriteno = 0,2
start = 0,17
delta = 1,0
trans =none
layerno =0
mask =1

[BG Floor]
type  = parallax
spriteno = 1,0
start = -10,15
delta = .8, .65
xscale = .4, .8
yscalestart = 100
yscaledelta = 1.05
layerno =0
trans =add
mask =1

I have trans = add, but the floor is still not transparant. :S
Re: transparant parallaxed floor?
#2  June 17, 2012, 09:45:06 pm
  • *****
  • Most dangerous person in Mugen
    • USA
    • caddie.smeenet.org
I've never tried but from what I've heard it's not. However, since I'm a brilliant, I thought of a way you COULD circumvent this by separating the floor into 1 pixel high layers(say if the floor was 64 pixels tall, you would separate it into 64 layers) and giving each layer it's own delta. Then make them all transparent.

It actually wouldn't be HARD to do, in fact doing the parallax that way is a good way to ensure 100% accuracy. It would just take a few hours of work.
Re: transparant parallaxed floor?
#3  June 17, 2012, 10:29:18 pm
  • ****
  • Currently working in 8 bits...
    • Sweden
Hmmm, that's an interesting idea. :P

I should try and see how it works. Thanks for the help. :D
Re: transparant parallaxed floor?
#4  June 17, 2012, 11:23:00 pm
  • *****
  • One Alpha at a time
    • Puerto Rico
    • maxbeta.webs.com/mugen.htm

I know what you are trying to do here and Caddie has presented quite the alternative.

I just wanted to add that you may however make transparency apparent on parallax if the sprite or render you are using resembles a see-through glass floor.

Just place the zero color in the proper position and it should work fine.

Spoiler, click to toggle visibilty
On Indefinite Hiatus - Add me on Wii U Smash Bros: Maxbeta
"We need other people in order to create the circumstances for the learning that we are here to generate" RIP Adam Yauch aka MCA
Re: transparant parallaxed floor?
#5  June 18, 2012, 02:07:28 am
  • ****
  • Currently working in 8 bits...
    • Sweden
Actually, I decided to screw the Parallax floor. Thanks for the help anyways, and now I know more! :D

"And knowing is half the battle!"
Re: transparant parallaxed floor?
#6  June 18, 2012, 02:17:41 am
  • *****
  • JoJo is boring
    • USA
You could try making the sprites in the back transparent and appear over the floor, just make sure the un transparent parts of the floor are over the bg

Just throwing that out there
Re: transparant parallaxed floor?
New #7  June 18, 2012, 01:00:31 pm
  • ****
  • Currently working in 8 bits...
    • Sweden
Hmm good idea. Gonna see how it works. :P

EDIT:

IT WORKS! Thanks for the help guys! Fortress of Doom is now updated with Parallax floor!
Last Edit: June 19, 2012, 04:10:22 pm by rukifellth