YesNoOk
avatar

Stage Creation Help (Read 21747 times)

Started by copticprincess, July 21, 2022, 02:56:58 pm
Share this topic:
Stage Creation Help
New #1  July 21, 2022, 02:56:58 pm
  • **
    • USA
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...
Last Edit: July 27, 2022, 08:23:58 am by copticprincess
Re: My foreground sprites aren't showing
#2  July 21, 2022, 04:10:10 pm
  • ***
    • Peru
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.
Re: My foreground sprites aren't showing
#3  July 21, 2022, 04:23:02 pm
  • **
    • USA
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
Re: My foreground sprites aren't showing
#4  July 21, 2022, 04:39:21 pm
  • ***
    • Peru
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".
Re: My foreground sprites aren't showing
#5  July 21, 2022, 04:53:17 pm
  • ****
    • Argentina
    • matrerog@yahoo.com.ar
@Charles_2011 hit the nail.

Your problem is probably due to that prefix you changed. It should ALWAYS be BG for any layer.
Re: My foreground sprites aren't showing
#6  July 21, 2022, 05:18:09 pm
  • **
    • USA
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/topics/blackjack-trick-stages--60816.0.html

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
Re: My foreground sprites aren't showing
#7  July 21, 2022, 05:33:32 pm
  • ***
    • Peru
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.
Re: My foreground sprites aren't showing
#8  July 21, 2022, 05:44:11 pm
  • **
    • USA
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):

Last Edit: July 21, 2022, 05:50:02 pm by copticprincess
Re: My foreground sprites aren't showing
#9  July 21, 2022, 05:49:55 pm
  • ***
    • Peru
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
Re: My foreground sprites aren't showing
#10  July 21, 2022, 05:58:26 pm
  • **
    • USA
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.
Re: My foreground sprites aren't showing
#11  July 21, 2022, 06:01:56 pm
  • ***
    • Peru
You can prove "trans = sub", too.
Re: My foreground sprites aren't showing
#12  July 21, 2022, 06:05:00 pm
  • **
    • USA
Added trans = sub to repeated and got this:




Nevermind I fixed it! I added another trans = add1 and it looks better.
Last Edit: July 21, 2022, 06:09:05 pm by copticprincess
Re: My foreground sprites aren't showing
#13  July 21, 2022, 08:23:42 pm
  • ****
    • Argentina
    • matrerog@yahoo.com.ar
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:

Code:
[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
Re: My foreground sprites aren't showing
#14  July 21, 2022, 11:12:57 pm
  • **
    • USA
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:

Re: My foreground sprites aren't showing
#15  July 22, 2022, 12:04:54 am
  • ****
    • Argentina
    • matrerog@yahoo.com.ar
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
Re: My foreground sprites aren't showing
#16  July 22, 2022, 07:10:51 am
  • **
    • USA
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...
Last Edit: July 22, 2022, 03:40:36 pm by copticprincess
Re: My foreground sprites aren't showing
#17  July 22, 2022, 03:38:33 pm
  • **
    • USA
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:

Re: Stage Creation Help
#18  July 22, 2022, 05:04:06 pm
  • ***
    • Peru
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.
Re: Stage Creation Help
#19  July 22, 2022, 05:53:18 pm
  • **
    • USA
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
Re: Stage Creation Help
#20  July 23, 2022, 12:37:45 am
  • **
    • USA
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.
Last Edit: July 23, 2022, 12:41:37 am by copticprincess