YesNoOk
avatar

Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!! (Read 105924 times)

Started by Cybaster, February 18, 2010, 02:43:29 PM
Share this topic:
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#101  February 22, 2010, 08:56:25 PM
  • avatar
  • *****
  • Nothing ever ends
    • Portugal
    • www.justnopoint.com/loona
Or it's mirrored toward the screen with shadows toward the background or vice-versa (Gen's SFA2 stage comes to mind).
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#102  February 22, 2010, 10:30:45 PM
  • ****
  • I work at Elecbyte as a sexy janitor.
    • USA
    • tamez.smeenet.org
Gen's SFA2 stage is actually a bad example for general mugen purposes. 

Since the engine doesn't let us control which stage sprites have reflection on them and which don't, if you enable reflection on Gen's stage you'll have some really rough ground giving you reflection. 

Now, if it was a fullgame or something and you had control over which characters are going to be in the stage, you could use the old layerno = 1 trick to make the ground cover up the reflection to some degree.  However, outside of a fullgame, all layerno=1 tricks will do is make ol' Juggy look cut off all the time. 

Even NeoGouki just opted for shadows on his SFA2 Gen stage. 


While I do agree that there may possibly be a use for having both, it's really going to be a rare case because of how limited the control is. 

Now, if new mugen ever gave us the ability to disable reflection on certain things, or let us give reflection a yscale of something other than 1, or let us move the reflection around some... I could see uses for having both. 

A mirror on the wall behind the fighters, so reflection exists above him, but the floor still has shadow. 
A proper Gen stage, as you suggested. 
Or the Final Fight stage from CvS1, you could control the huge shadow better.  No reflection in this case, but still related some. 
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#103  February 22, 2010, 10:50:31 PM
  • ****
  • hecc
Now i can update all my crappy colorlossy stages!
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Spoiler, click to toggle visibilty
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#104  February 22, 2010, 10:53:52 PM
  • ******
  • JoJo is boring
    • USA
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#105  February 22, 2010, 10:58:29 PM
  • ****
  • hecc
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Spoiler, click to toggle visibilty
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#106  February 22, 2010, 11:39:25 PM
  • avatar
  • **
so does it still make sff files if you have a 64 bit os?
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#107  February 22, 2010, 11:42:14 PM
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
im not sure this option is a good idea...i mean, this has been said many times in the past about releases, it's a common mistake: you shouldn't give the choice to actually make it :P
+ all the posts about this after :
Yeah, well, maybe I should add a disclaimer in the balloons to say it's usually not good to have both.

also Cybaster you should also add the option with the stages being compatible with regular winmugen and not just winmugen plus.
:gonk: :omg:
...
If a stage is compatible with Winmugen Plus, it's automatically compatible with regular Winmugen, as long as you use a resolution = 320*240.

so does it still make sff files if you have a 64 bit os?
... How about you read the first post of this topic, which states what was updated ? ...
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#108  February 23, 2010, 12:06:33 AM
  • ****
  • hecc
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Spoiler, click to toggle visibilty
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#109  February 23, 2010, 09:30:45 PM
  • avatar
  • *
hello Cybaster.
i talked about something like this here on the guild a long time ago,& bunch of haters flamed out.(you know who you are.)
i also talked about this recently on the elecbyte forum,& more people flamed out saying it's impossible(and i had proved them wrong.however,my way was somewhat different than yours.),& 1 pic is not good enough.(i see the same thing had happened here,but it all depends on the pic as we all know.)
anyway,i just want to say:CYBASTER THANK YOU FOR MAKING MY DREAM,& THE DREAMS OF A LOT OF OTHER PEOPLE COME TRUE.
KEEP UP THE GOOD WORK!!!
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#110  February 24, 2010, 09:29:20 AM
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Well, hmm, thanks. o_O

Well, hmm, thanks. o_O

You know, it may be "automatic" from a user point of view, but it has many formulas involved behind it, and seeing your previous posts here or at Elecbyte's forum, you clearly don't know what programming is. If the tool codes the stage by itself, it's not by using magic, it's by calculating all the parameters used in usual stages just by asking the creator to set some values (namely, the position of the player on the ground and the bottom of the stage, as well as the resolution). Wanna see a sample of code ?

Let :
- localcoord_y be the Y resolution of the stage (usually 240, 480 or 720).
- localcoord_x be the X resolution of the stage (usually 320, 640 or 1280).
- player_pos be the Y coordinate of the Ryu sprite you placed on the ground.
- save_y_bottom_final be the Y coordinate of the bottom of the stage you defined with the red line.
- height_ryu be the height of the Ryu sprite.

Let's set coeff = localcoord_x / 320
Let's use a temp value, that may be modified later, depending on the Mugen version used :
temp = localcoord_y + player_pos - save_y_bottom_final + (height_ryu * coeff)

We now want to calculate the zoffset parameter which will be written in the DEF file of the stage.
If we use Mugen 1.0, we have :
zoffset = temp (yeah, that was easy :P)

If we use Winmugen plus, we first need to know if we're making a high-res or a low-res stage :
hr_value = round((localcoord_x / 320) - 1)
Hence, if it's a LR stage, we have hr_value = 0. If it's a HR stage, we have hr_value = 1.
We can now calculate zoffset : zoffset = temp / (1 + hr_value)

To resume : zoffset = (localcoord_y + player_pos - save_y_bottom_final + (height_ryu * localcoord_x / 320)) / (1 + (round((localcoord_x / 320) - 1) * mugenversion = 1.0)

Now you can do this for all the parameters of the stage. :)
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0)
#111  February 24, 2010, 11:24:43 AM
  • ****
  • A.K.A. NED

I want to hug you...
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#112  February 24, 2010, 02:17:12 PM
  • avatar
  • *
hello Cybaster.
yes,i have very limited understanding of coding.
yes,i know it's not automatic.
only if it was magic.LOL.
my way was by calculating the positions from the size(height,& width) of the picture it self.
yeah,i know it's irritating,but it works.
THANK YOU VERY MUCH FOR THE TUTORIAL.
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#113  February 24, 2010, 05:21:55 PM
  • *****
  • IG @tanooki_ninja
    • Puerto Rico
    • maxbeta.webs.com/mugen.htm
Or it's mirrored toward the screen with shadows toward the background or vice-versa (Gen's SFA2 stage comes to mind).
Gen's SFA2 stage is actually a bad example for general mugen purposes.

You know...it's funny you guys mention that just in time when I recently gave away a private SFA2 Gen Stage edit I did from NeoGouki's featuring that same exact reflection effect.

Loona, if you look for a stage called "Arbol de Wif" or the night version "Noche de Wif" you could clearly see the advantages and disadvantages of creating such an effect in the actual mugen builds.

***Post Edited to not derail Stage Tool topic...Follow this discussion HERE***
"We need other people in order to create the circumstances for the learning that we are here to generate" RIP Adam Yauch aka MCA
www.instagram.com/tanooki_ninja
Last Edit: February 24, 2010, 07:16:27 PM by MaxBeta
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#114  February 24, 2010, 06:30:45 PM
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
If I were you, I'd make my own thread for this stage. Not because you're derailing mine (which isn't "really" the case), but because I'm sure it'd get more attention this way.
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#115  February 24, 2010, 06:53:21 PM
  • avatar
  • ******
    • USA
Well Cybaster, looks like I'll finally be able to try out your stage creation tool today. Heres hoping for the best!  :)
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#116  February 24, 2010, 07:17:28 PM
  • *****
  • IG @tanooki_ninja
    • Puerto Rico
    • maxbeta.webs.com/mugen.htm
If I were you, I'd make my own thread for this stage. Not because you're derailing mine (which isn't "really" the case), but because I'm sure it'd get more attention this way.

Noted. Post updated.
"We need other people in order to create the circumstances for the learning that we are here to generate" RIP Adam Yauch aka MCA
www.instagram.com/tanooki_ninja
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#117  February 24, 2010, 11:23:39 PM
  • avatar
  • **
i made a stage but this happened.

Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#118  February 25, 2010, 01:51:22 AM
  • **
  • Drawing Without Efforts
You have done great things Cybaster. Keep up the good work!!!

Where should I post problems or bug reports?
what i like about the ed article is that the author honestly doesn't know that kung fu man is just a sockpuppet of mine. i honestly thought this was common knowledge.
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#119  February 25, 2010, 09:31:38 AM
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Re: Automatic Stage Creation Tool (Compatible Mugen 1.0) - UPDATED !!!
#120  February 26, 2010, 10:13:47 AM
  • ***
I think i'll love this tool after i download it :)
My Website down.....
Please visit my youtube channel for download characters and stages.