Help With Bike Distance
Jordeyy
Member Posts: 409
im making a bike game were i jump off a ramp and it measures how far i can jump
but im having trouble with it cause the score only shows -70 were ever i land does anyone know why ?
These are my behavours ect
I Made 2 game atrributes
StartX
EndX
made a score actor with these behaviors
Self.color.alpha --0
display text
floor(GAME.ENDX-GAME.STARTX).." meters"
and on my bike actor i used these behavours
change atribute
set- game.startx to self.posistion.x
self.rotation to vectorToAngle(self.posistion.x,self.posistion.y)
rule
if self.posistion.y = 30
change velocity to 0
but im having trouble with it cause the score only shows -70 were ever i land does anyone know why ?
These are my behavours ect
I Made 2 game atrributes
StartX
EndX
made a score actor with these behaviors
Self.color.alpha --0
display text
floor(GAME.ENDX-GAME.STARTX).." meters"
and on my bike actor i used these behavours
change atribute
set- game.startx to self.posistion.x
self.rotation to vectorToAngle(self.posistion.x,self.posistion.y)
rule
if self.posistion.y = 30
change velocity to 0
Comments