Game #2: Piggy

This commit is contained in:
Felipe M 2021-01-22 23:21:58 +01:00
parent 21399f904f
commit a00ebe12f3
Signed by: fmartingr
GPG key ID: 716BC147715E716F
12 changed files with 375 additions and 0 deletions

16
piggy/Objects/Apple.tscn Normal file
View file

@ -0,0 +1,16 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Assets/Apple.png" type="Texture" id=1]
[sub_resource type="CircleShape2D" id=1]
radius = 5.0
[node name="Apple" type="Area2D"]
collision_layer = 2147483650
collision_mask = 0
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Collision" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )