Godot game egine
Game Introduction
How To Play
code:extends RigidBody2D # class member variables go here, for example: # var a = 2 # var b = "textvar" var vel =500 func _ready(): # Called when the node is added to the scene for the first time. # Initialization here pass func _physics_process(delta): if Input.is_action_pressed("ui_right"): move_local_x(vel * delta) if Input.is_action_pressed("ui_left"): move_local_x(vel * delta * -1) if Input.is_action_pressed("ui_down"): move_local_y(vel * delta) if Input.is_action_pressed("ui_up"): move_local_y(vel * delta * -1)
Author
gamegw2
Category
Game Information
Game Popularity
529 views
Collection Count
5 favorites