Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Python by asssddd ( 1 year ago )
extends KinematicBody2D
var aceleracaoX = 450
var velocidade = Vector2.ZERO
var direcaoX = -1
func _ready():
pass
func _process(delta):
velocidade.x = aceleracaoX * direcaoX
if (direcaoX==1):
$Sprite.flip_h = true
move_and_slide(velocidade)
Revise this Paste