Jump Event System thiny.

Started by Chaze007, February 25, 2009, 10:53:50 pm

Previous topic - Next topic

Chaze007

I R in need of a jump event, that also shows a jumping graphic..i got the sprite for the jump..i just need the event o.o. help pl0x?..

Z's link is down btw too.
Always I Wanna Be With You! Make Believe With You!

Calintz

I am curious of this too...

I haven't had the free time to dick around with this particular feature, so I would be interested to hear if anyone has the solution...

Chaze007

haha..you said dick around...funny..
but yeah..i need this for sure or a script o.o
Always I Wanna Be With You! Make Believe With You!

Calintz

I think this might actually require a script.

**I never did fully understand why they eliminated the "Start Jump," and "End Jump" options. That made this a cinch...

Aqua

Here's my rough, top-of-the-head eventing for this.
Hopefully it works... (Haven't evented in a LONG time)


Conditional Branch - Key Input = Z
  Conditional Branch - Player Direction = Down
    Set Move Route - Player (Ignore if Can't Move) > Change Graphic (Actor_jump)
                                                     Direction Fix On
                                                     Stop Animation On
                                                     Jump +0, +2
                                                     Stop Animation Off
                                                     Direction Fix Off
                                                     Change Graphic (Actor)


Then do the other direction branches but change the jump values.
You might need to add a little Wait command, but I'm not sure.

Chaze007

February 25, 2009, 11:23:11 pm #5 Last Edit: February 25, 2009, 11:24:15 pm by Chaze007
um...okay o.o...ill try that.

it it for common event?
Always I Wanna Be With You! Make Believe With You!

Calintz

That was basically the exact same route I was gonna take, but I wasn't sure if it would work.
**Please be sure to post whether or not it works Chaze.. .. ..

BTW:
Good job Aqua.

Chaze007

Aqua, do I put it as autorun or what?..
Always I Wanna Be With You! Make Believe With You!

winkio


Chaze007

it stick in place, here is my event settings

Quote@>Conditional Branch: The Up button is being pressed
@>Conditional Branch:Player is facing Down
@>
:Else
@>
Branch End
@>
:Else
@>Set Move Route Player (Ignore IF Can't Move)
:     :$>Graphic: "Duck',0,2,0
:     :$>Direction Fix ON
:     :$>Stop Animation ON
:     :$>Jump: +0,+3
:     :$>Stop Animation OFF
:     :$>Direction Fix OFF
:     :$>Graphic:"Walk(2)'.0,2,0
@>
:Branch End
@>



something is probably wrong the way I put it
Always I Wanna Be With You! Make Believe With You!

Calintz

February 25, 2009, 11:42:53 pm #10 Last Edit: February 25, 2009, 11:44:29 pm by Calintz16438
Look at Aqua's code, and then look at yours again. They don't even match buddy...

You seem to have organized your event wrong. You aren't even using a special key to jump with :???: and you have two conditional branches back to back that don't coincide.

As for Activation:
I would say common event as parallel process. Turn the controlling switch on when you wanna jump, and turn it off when you want jumping disabled...

Aqua

It works for me...
And of course it's parallel process.

Mmm... only problem with it is that if you can't land on X squares in front of you, you jump in place instead of jumping to the nearest passable tile to your destination.
Of course, this can be easily fixed, but I should be going to bed.

Calintz

It didn't work properly for me.. .. ..
I have my own solution to this, Lol, but I need to get up at 6AM.

You simply need a custom jump sprite...
- change graphic(prepare for jump)
- wait 2frames
- change graphic(in the air)
- jump
- wait 4frames
- change graphic(landing)
- wait 2frames
- change graphic(normal sprite)

**May require some tweaks. I haven't tested it.

Punn

Common event + Parallel Process after activating a switch, that should do for the rest of the game.
Nothing much to think about it, really..

Calintz

We aren't talking about the activation being the hard part Punn...
We are trying how to make the jump movement animated.

Have you tried my method yet Chaze?

Chaze007

I'm simple minded..the only way I'd completely get it is if I got the full lines of event, like i showed you mine.
Always I Wanna Be With You! Make Believe With You!

Calintz

Haha ok, maybe I will have some time to try it myself tonight...

Punn

Might be impossible, try the long annoying way...

Calintz

February 26, 2009, 09:22:50 pm #18 Last Edit: February 26, 2009, 09:25:38 pm by Calintz16438
I think this event would be optimized at 4frames/character...

This would allow 4separate characters to be placed onto one charasheet, allowing one charasheet to be used for all four main characters. This would create very easy accessibility in the coding, all the while, compacting space as you won't need anymore than one sheet for your jump graphics...

**A more high detailed jumping animation would be optimized at 5frames, but doing so would disrupt the flow of the 4characters/sheet, reducing it to three, while creating an empty space on your charasheet...

P.S.
Will you send me the graphic, so I can experiment??

Landith

I currently am working on his graphic, so I can send it to you. With his permission when he gets back online. So we will have to wait for his permission.

Calintz

That is 100% okay!!
**I would like to solve this problem now, as I will be using this same system in WITW(Well in the Woods).

Landith

Alright, I'll go ahead and send it to you as long as you don't use it. Because I don't know his terms.

Calintz

Lol, of course I won't use it!!
I am 100% original Landith!! You know this!!

Landith

Of course! Just making sure :)
Check your Messages in a little bit, it's in there.

Calintz

I got the sprite, it made me burs out!! HAHA it is awesome!!

Landith

Yeah, I like it to.
But Chaze ripped it and customized it, I just aligned it :)

Calintz

LMAO!!
I can't do it captain!!

I can't construct a perfectly working "animated" jump system.. .. .. =|

Landith

Hmm... I'll give it a shot but idk if I can do it...

Chaze007

Wow O.o

WTF MAN YOU GAVE MY GRAPHIC AWAY!!!
Spoiler: ShowHide
Naw jk Idc :]



Well the best of luck to anyone O.o
Always I Wanna Be With You! Make Believe With You!

Calintz

...LMAO, oh well...
Maybe I don't understand the mario sprite well enough.

It's for a platform?? What does that actually mean!?

Chaze007

Sidescroller Example would be...Super Mario Brothers NES.
Always I Wanna Be With You! Make Believe With You!

Landith

Technically, a platform doesn't have to be a sidescroller, it could be any 2d game that uses 2 directional sprites and can jump on platforms. But the mario sprite we gave you cal, only uses the left and right direction. :)

G_G

March 01, 2009, 02:16:03 pm #32 Last Edit: March 01, 2009, 02:59:47 pm by game_guy
Chaze send me graphics I have actually fully implemented the jump system. To make it animated I need the graphics.

Heres a video I made to show its the real thing!!! http://www.youtube.com/watch?v=330TVLBFiwk

Calintz

Very good job.
I will await the tutorial...

G_G

March 01, 2009, 04:02:51 pm #34 Last Edit: March 01, 2009, 11:17:40 pm by game_guy
I'm waiting for Chaze007's graphics so I can implement the animation

Okay chaze you got the system now I'm here to show you how to setup a level!!!! :)
Make your level kinda like so
Spoiler: ShowHide


Then make go to tilesets and set an emtpy square to terrain 1 like so
Spoiler: ShowHide


Then go to the level again and all teh squares in teh red rectangle cover them in the terrain one square like so
Spoiler: ShowHide


and thats how you setup levels!!!! Be sure to credit!!!