Something wrong with my RPG game!

HIIIII!

there’s something wrong with my game!!!:a:
when u press the up-button the guy doesn’t jump
I guess the problem is in the actionscript

please help me, i’ve tried everything…:chinaman:

Here’s a link to the fla-file:P

hem.bredband.net/ollij/GAME.fla

That looks like its from the tutorial here on Kirupa, written by Nathan. Or am i mistaking?

You didn’t define jump >_>

in your main character MC, in the onClipEvent(load){} section, add this:
jump = 15

the number can be changed to your taste.

Edit: Just to let you know, in mc codes make it hard for people like me to help you because it’s hard to know exactly where the code is.

You know you dont have to define variables, right?

:beam: :beam: :beam: :beam: :beam:
thanks a lot dude!!!

:wink: =) :hr:

ur right Joppe:beer:

It is from that tutorial

Then you could think of reading it again, when next problem pops up :wink: :smiley: