code cleaning

This commit is contained in:
Solene Rapenne 2022-04-30 20:34:13 +02:00
parent e85d786136
commit 14e7b24e58
2 changed files with 0 additions and 9 deletions

View File

@ -5,7 +5,6 @@ export(PackedScene) var weapons
signal restart
var speed = 200
var last_velocity = Vector2.ZERO
var cheat = 0
var victory = 0
@ -96,7 +95,6 @@ func _process(delta):
if velocity.length() > 0:
velocity = velocity.normalized() * speed * delta
last_velocity = velocity
move_and_collide(velocity)
func light_increase():

View File

@ -1,12 +1,5 @@
extends RigidBody2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
$AnimatedSprite.play()