Browse Search Popular Register Upload Rules User list Login:
Search:
VEX ACT B-1

Image:
screenshot of the scene

Author: in a nutshell

Group: Default

Filesize: 24.72 kB

Date added: 2015-12-28

Rating: 5

Downloads: 133

Views: 210

Comments: 3

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

GameBrain!
Please log in to rate this scene
edit
A pretty good game. But it is impossible to jump while running(
In my opinion this code is better:
(e)=>{
keys.isdown("right") ? {
e.this.angvel = -5;
e.this.vel = e.this.vel + [0.1, 0]
} : {};
keys.isdown("left") ? {
e.this.angvel = 5;
e.this.vel = e.this.vel - [0.1, 0]
} : {};
keys.isdown("up") ? {
e.this._jump ? {
e.this.vel = [e.this.vel(0), 4];
e.this._jump = false
} : {}
} : {};
scene.my.pos = e.this.pos
}
I have 'fixed' if statements.
WELL... Thanks for the code But I'm 9 years old
This is Also The Algodoo version