- Add Character.blend and Walkman.blend models - Update PhonePhreak.blend model - Add character death animation (96 frames) - Add character idle animation (29 frames)
13 lines
185 B
GDScript
13 lines
185 B
GDScript
extends Node2D
|
|
|
|
|
|
var points = 0
|
|
|
|
func _ready() -> void:
|
|
$AnimatedSprite2D.play()
|
|
|
|
func _on_body_entered(body: Node2D) -> void:
|
|
queue_free()
|
|
GloblaData.cassets += 1
|
|
print("1 point")
|