Test game created by GamingWhiteTiger
Category: Platform
1 of 1
Added: 27 July 2007
Created by: GamingWhiteTiger
Version: 1
Game description: A WIP game I whipped up in my spare time. I need some help on it though. I can't figure ut the jump command! (I put it as compete, so I can recive help. It's still a WIP.)
Reviews
-
Overall Score
-
Graphics
-
Sound
-
Gameplay
-
Story
-
Interface
More Games By This Creator
This creator has no other games uploaded.
Comments
jenshoofd said 730 days ago
OMG I NEVER KNEW HOW TO MAKE A CODE RELATIVE THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
SunTzus said 851 days ago
Now you must put in an if statement like this:
if place_free(x,y+1)
Then you must make the character jump like this.
if place_free(x,y+1)
{
y-=2
vspeed-=5
}
adjust this number to your liking
remember relativity is always used by putting the - or + behind the = sign.
Now your good to go, glad to help and this little tutorial I came up in 2 minutes kind of kept me off my game lol
Didnt want to leave you confused
SunTzus said 851 days ago
LoL why 10MB?
this is a really weird game, I dont understand why you have a Naruto, a Big Machine (Transformer) and all you do is just press the right key to win.....
Here basically what you should do.
Well in order to jump you must make sure your on the ground to do that
place_free
this checks if the place is free, ok then you do
place_free(x,y+1) it doesnt matter as long as you make sure that y+1.
Why you ask?
Well you know graphing that pretty much explains.
1 2




alexnleo said 487 days ago
Report to Staff
use this for jumping..
.CREATION.
jmp=12 //change this variable to how high you want to jump(obvious)
.STEP EVENT.
if keyboard_check(vk_up)
{if !place_free(x,y+1)
{if place_empty(x,y-1)
{vspeed=-jmp}}}
that makes the player jump when they press the up arrow