Initial Commit

* Basic Character Controls
* Tileset
* Collision
* Basic Collectables
This commit is contained in:
Indrajith K L
2022-04-14 03:16:45 +05:30
commit fc44ae1243
205 changed files with 4580 additions and 0 deletions

11
collectables/Apple.gd Normal file
View File

@@ -0,0 +1,11 @@
extends Node2D
export var health=10
func _ready():
$AnimationPlayer.play("idle")
func _on_Area2D_body_entered(body):
if body.entity_type=="PLAYER":
body.health += health
queue_free()