Stage Creation Help

Started by copticprincess, July 21, 2022, 02:56:58 PM

Previous topic - Next topic

copticprincess

I'm trying to work on a stage and my foreground images won't show up. I even added the code layerno = 1 and still won't show. I'm stumped.

I'm following this tut: https://www.youtube.com/watch?v=T4O7zhhFLJI

and adjusting it for mugen 1.1, but his images are showing in the forground mine don't.... Just the background image is there....

Here it is OnionSkin in FF:



Here it is in Ikemen:



I need some help...

Charles_2011

Hello.

Maybe the problem is the position of the image on the def. file of the stage, something like this maybe is hapenning:

[BG Image-Layerno]
type  = normal
spriteno = 1111,1
layerno = 0
start = -1260,-490
delta = 0.681,0.75
mask  = 1
scalestart=0.75,0.75

Maybe you have to reduce or change that value, I hope this help you.

copticprincess

Hi, according to the video, so the sprites will align, they have to share the same start values. If I change the background/foreground start, it will be off position. Idk why i'm having this problem.

Here's my settings:

[BG Image]
type = normal
spriteno = 2,0
start = 0,466
delta = 1,1
mask = 1

[FG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1

[FG Image 1]
type = normal
spriteno = 1,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1

Charles_2011

FG?

[FG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1

[FG Image 1]
type = normal
spriteno = 1,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1

Change it for "BG".

MatreroG

@Charles_2011 hit the nail.

Your problem is probably due to that prefix you changed. It should ALWAYS be BG for any layer.
Others stages and news:
>> https://www.youtube.com/c/MatreroG
Any donation will be well received
>> https://www.paypal.me/MatreroG
>> https://www.buymeacoffee.com/matrerog

copticprincess

Thanks for the help! It works! I have to bother you again... I'm having problems using the Blackjack trick on the two foreground objects...

I'm following this: https://mugenguild.com/forum/index.php?topic=60816.0

But mine won't go transparent... I know i'm missing something...

Here's my settings:

[BG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1
trans = none

[BG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1
trans = sub

[BG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1
trans = add1

Charles_2011

I´m glad that you solve the first problem. About the second issue, I suggest to keep only the last code:

[BG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1
trans = add1

Erase the others.

copticprincess

#7
That worked. The foreground images look a bit bright since it's transparent. Anyway to darken them up slightly?

Before:



After (Edited the tent so it doesn't cover the Fountain):


Charles_2011

Prove to repeat the code:

[BG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1
trans = add1

[BG Image 0]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1,1
mask = 1
trans = add1

copticprincess

Thanks for helping. I repeated the code and I could barely see through it and it got brighter too. I wish I knew how to make it look normal until you pass through it.

Charles_2011


copticprincess

#11
Added trans = sub to repeated and got this:




Nevermind I fixed it! I added another trans = add1 and it looks better.

MatreroG

I don't know if you already managed to solve the whole issue..., but you only need two [BG ...] for each foreground to work with the BlackJack Method. For example:


[BG foreground 1]
type = normal
spriteno = 0,0
start = 0,466
layerno = 0
delta = 1.2,1
mask = 1
trans = none

[BG foreground 1 trans]
type = normal
spriteno = 0,0
start = 0,466
layerno = 1
delta = 1.2,1
mask = 1
trans = add1


You can also try increasing the delta value to accentuate the feeling of depth in the stage, as I did in the code above. Otherwise you can leave it static as you were doing before
Others stages and news:
>> https://www.youtube.com/c/MatreroG
Any donation will be well received
>> https://www.paypal.me/MatreroG
>> https://www.buymeacoffee.com/matrerog

copticprincess

Thanks MatreroG for the tip. I edited the delta. When I used the Blackjack method like above it stayed solid for some reason. I had to use two trans = add1 and one trans = sub.

Here's what it looks like now:


MatreroG

Mmm, that's weird.
For the trick to work properly and even though they are foreground elements, you need to make sure that one of the layers (the solid one) to be behind the chars with the value layerno = 0 and the other in front (transparent) with the value layerno = 1
Others stages and news:
>> https://www.youtube.com/c/MatreroG
Any donation will be well received
>> https://www.paypal.me/MatreroG
>> https://www.buymeacoffee.com/matrerog

copticprincess

#15
You were right. It works now. I wasn't changing my layerno to 0. I overlook too many tiny details. I have another issue... I feel I shouldn't create a new thread for the same stage. I'll type it here.

Does the background look a bit small to you/anyone? Kung fu man looks a tad larger than the tent. I'm not sure though. I had resizing stage problems before but I can't get that method to work on this. The stage becomes a nightmare when I scale it...

copticprincess

Sorry to double post but I decided to take what I learned and test it on a larger version of this stage.... I can't get rid of this black bar at the top of my stage and the sides are cut off aswell. Unlike the smaller stage which easily moved up and down, this one is a bit different. I edited the sprites in FF and problems persist. I edit the start = and the bar is there still. I edit the zoffset but that just moves kung fu man down or up and the stage doesn't move. I know it's something i'm doing wrong or missing but I don't know what. How to move the stage up?

I know i'm a newby and this stuff is simple and easy for ones who know it, but i'm trying. I'd like to contribute. ^^

Here it is:


Charles_2011

Hello.

About the black bar change this:

[Camera]
   startx=0
   starty=0
   boundleft= -160
   boundright= 160
   boundhigh= -160
   boundlow=0
   verticalfollow=1
   tension=50
   floortension=150

Reduce the value in boundhigh.

copticprincess

Hi ^^
I reduced the boundhigh, but no change.

Here's my camera settings:

[Camera]
;Camera starting position: Usually 0 for both
startx = 0
starty = 0
boundleft = -150
boundright = 150
boundhigh= -22
boundlow = 0
verticalfollow = .2
floortension = 0
tension = 60
overdrawhigh = 0
overdrawlow = 0
cuthigh = 35
cutlow = 25

zoomin = .75
zoomout = .6

copticprincess

#19
I decided to use Cybaster's stage_tool to generate my base .def and .sff, then edited the .sff and added the other sprites. One uses the Blackjack trick I properly learned how to implement thanks to you two and S.O.S for sharing the trick (link above). Here's what i've got now:



Two questions... What to add to cover up the seams? & Anyway to make the ship have a bobbing motion? I feel it needs movement.