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.