YesNoOk
avatar

Stage Creation Help (Read 21170 times)

Started by copticprincess, July 21, 2022, 02:56:58 pm
Share this topic:
Re: Stage Creation Help
#21  July 23, 2022, 04:05:58 am
  • **
If that ship is a separate image, you can animate with the follow code


Spoiler, click to toggle visibilty

You can made a simple boobing animation with only one sprite

Spoiler, click to toggle visibilty


Read the mugen docs for more details on stage ceation:

http://www.elecbyte.com/mugendocs/bgs.html
Have a nice day!
Last Edit: July 23, 2022, 04:11:39 am by ShinZombie
Re: Stage Creation Help
#22  July 23, 2022, 08:27:02 am
  • **
    • USA
Hi Shin

Thanks for the detailed information and the link. The ship is a separate sprite and the bobbing animation works. The only problem is that i'm using the Blackjack method on it and the trans = add1 isn't moving. It looks like two ships. One is static and the other animated. I thought that it would use the same [Begin Action] as the trans = normal one, but it didn't move. I then created an action for the trans = add1 but it still didn't move. How can I get the trans = add1 to move aswell?


Edit:

Actually I just noticed the balloon doing it too and it's not using the Bj trick.... Looks like I have two balloons one static and one animated.
Last Edit: July 23, 2022, 08:52:28 am by copticprincess
Re: Stage Creation Help
#23  July 23, 2022, 08:47:12 am
  • **
I tested, and work like this:


Spoiler, click to toggle visibilty

You must create 3 animations perfectly sync  ( same number of frames, sprites, positions and time)  Then add the blackjack trick to the properties to the anim definitions.

Have a nice day!
Re: Stage Creation Help
#24  July 23, 2022, 09:04:40 am
  • **
    • USA
Hmm, mine still didn't move... Here's my settings:

[BG Ship Solid];Foreground 5
type = anim
actionno = 0
start = 0,-265
layerno = 0
delta = 1.2,1 ;1,1
mask = 1
trans = none
scalestart = 1.5,1.5

[BG Ship Trans];Foreground 5
type = anim
actionno = 1
start = 0,-265
layerno = 1
delta = 1.2,1 ;1,1
mask = 1
trans = add1
scalestart = 1.5,1.5
;---------------------------------------------
[Begin Action 0]
5,0,0,0,60
5,0,0,3,58
5,0,0,7,50
5,0,0,12,40

5,0,0,11,39
5,0,0,7,35
5,0,0,1,29

[Begin Action 1]
5,0,0,0,60
5,0,0,3,58
5,0,0,7,50
5,0,0,12,40

5,0,0,11,39
5,0,0,7,35
5,0,0,1,29
Re: Stage Creation Help
#25  July 23, 2022, 09:17:42 am
  • **
I just copy pasted the code in one of my stages, and works fine.  Are you sure you saving the changes on the correct .def file?
Have a nice day!
Re: Stage Creation Help
#26  July 23, 2022, 09:22:13 am
  • **
    • USA
Yea, it's the right .def. The only one I have open atm.  I'm using Ikemen, maybe that's why it looks like that? The balloon is doing it too.

Edit pic below:

Last Edit: July 23, 2022, 09:28:33 am by copticprincess
Re: Stage Creation Help
#27  July 23, 2022, 09:37:49 am
  • **
Yes, maybe is that the reason.  I'm using Mugen 1.1,  I don't know how stages works on Ikemen.
Have a nice day!
Re: Stage Creation Help
#28  July 23, 2022, 09:49:31 am
  • **
    • USA
Well at least it'll be normal in mugen 1.1. I can move on to my next dilemma... The seams. I need ideas on how to cover that up. Maybe fog at the top? Not sure about the bottom... Maybe grass or props? Idk what props though... Animated waterfall behind the balloon would look nice. Possibly clouds at the top would work...

Last Edit: July 23, 2022, 09:56:17 am by copticprincess
Re: Stage Creation Help
#29  July 23, 2022, 10:29:31 am
  • **
Bottom: Trash cans on layerno = 1  to block that zone vision.

Top:  A ballon blocking the far away view,  or just clean that area with plain blue ( of the same tone).  Or just add a cloud, another mountain, the sun, a blurred Shao Khan castle form Mortal Kombat.   

You need to find a proper image that not clash with the rest of the stage art.

Have a nice day!
Re: Stage Creation Help
#30  July 23, 2022, 11:53:35 am
  • **
    • USA
Before beginning my search for decorating I noticed that even with editing the stage sprites, Kung fu man was still big compared to the background. I successfully increased the size of my stage going by an old thread I made and Beterhans helped me.

I have this issue where zooming causes this ugly effect. I noticed it earlier but after proper scaling of the stage it's more apparent. I don't know how to really explain it so I made a video showing this:


Re: Stage Creation Help
#31  July 24, 2022, 02:52:58 am
  • ****
    • Argentina
    • matrerog@yahoo.com.ar
Looking back, I personally think that the best way to animate a static image is the velocity or sinusoidal movement parameters. Surely it will be something more fluid and less abrupt.

Try adding some of these lines (sinusoidal move), or both, to all those layers that you want to move a little:
Code:
sin.y = 10,90,0
sin.x = 25,200,0
You can try and play with different values ​​until you get close to the movement that you think is optimal for each element. Also take into account the following details:
- The 3 parameters are, in order of appearance, the magnitude, the time and the phase.
- "Magnitude" is the number of pixels it will go up and down (or left and right if you use sin.x).
- "time" is the number of ticks necessary to accomplish one cycle.
- "phase" should be used if you have several sinusoidal movements you want to differenciate a little. Learn some Maths to know what it is exactly.

All this and much more is very well detailed and exemplified in the Stage Tutorial made by Cybaster:
https://mugenguild.com/forum/msg.960432/topics/complete-stage-creation-tutorial-104470.0.html#msg960432
You will always be able to check there the necessary codes to complement your bgs.

Re: Stage Creation Help
#32  July 24, 2022, 03:15:17 pm
  • **
    • USA
Thank you for the info and link. Do you have an idea as to why my stage is doing that wonky zoomin/zoomout? I'm asking this question at the mugen sites i'm registered. I've been searching for hours and can't find anything... I'm a little exhausted by this problem. The only good news I have right now is i've expanded on the stage since my video, despite the zoom problem.
Re: Stage Creation Help
#33  July 24, 2022, 04:01:17 pm
  • ****
    • Argentina
    • matrerog@yahoo.com.ar
Could you show us the complete code corresponding to the values ​​of the Camera?
Re: Stage Creation Help
#34  July 24, 2022, 04:11:40 pm
  • **
    • USA
Sure thing. Here it is:

[Camera]
startx       = 0
starty       = 0
boundleft    = -955 ;-1332
boundright    = 955 ;1332
boundhigh    = -230 ;-265
boundlow    = 1000 ;0
tension    = 200
;verticalfollow = .75
;floortension    = 400
tensionhigh      = 170
tensionlow      = 30
overdrawhigh    = 120
overdrawlow    = 120
;cuthigh    = 0
;cutlow    = 0

startzoom = 1
zoomin = .5
zoomout = .4
Re: Stage Creation Help
#35  July 24, 2022, 04:21:54 pm
  • **
I don't make stages but have modified some of them to fit what I need and this is a little off-topic but I'm just wondering why you're using FF3 to code in the stages when FF Studio has quite a powerful stage creator mode built in. This eliminates quite a lot of trial and error in coding and placements of background elements.
Re: Stage Creation Help
#36  July 24, 2022, 04:28:12 pm
  • **
    • USA
I don't make stages but have modified some of them to fit what I need and this is a little off-topic but I'm just wondering why you're using FF3 to code in the stages when FF Studio has quite a powerful stage creator mode built in. This eliminates quite a lot of trial and error in coding and placements of background elements.

When I decided to try and make stages, all of the tutorials I watched used FF3. I followed along with them and eventually got comfortable with FF3. I didn't know of FF Studio til sorta recent.
Re: Stage Creation Help
#37  July 24, 2022, 04:35:18 pm
  • **
The boundlow looks way off and I'm guessing combined with z-offset value is what's making that movement.  I've had it happen before.  And it was becuase of these two parameters being off.  Someone will probably give you an answer to fix it but if all else fails, I suggest it's probably best if you use studio, open your project, shift your sprites into the correct play area and use a boundlow=0. Then set z-offset to where you want within the bounds.  This will fix that problem. Though if you encounter it in the horizontal direction, set your deltas to the correct value.
Re: Stage Creation Help
#38  July 24, 2022, 04:44:26 pm
  • **
    • USA
Hmm, if it's my boundlow clashing with my zoffset then that would suck,. Editing the boundlow was how I got rid of the large black space above my stage....
Re: Stage Creation Help
#39  July 24, 2022, 04:52:05 pm
  • **
That's most likely because your background sprites are not within the default camera area of the stage.  If you bound low is that high than your stage is way below the 0 line. If you don't have FFStudio, go download it. Open your project and go to the stage viewer. You'll see what I mean.  Your play area must be within the stage (red) box, as well as your z-offset. If it's not, then something's wrong.
Re: Stage Creation Help
#40  July 24, 2022, 05:00:45 pm
  • **
    • USA
I'll look into FF Studio and see if there's any tuts on it. Is this what you mean by below the line? In my past thread that was the problem, but I thought Ikemen would work different than mugen 1.1...

Pic Here: