banana player lol

This commit is contained in:
2022-11-17 20:04:11 +01:00
parent 4206b63785
commit 42d11b7fb3
4 changed files with 39 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/textures/cupcake.png" type="Texture" id=1]
[ext_resource path="res://assets/textures/banana.png" type="Texture" id=1]
[ext_resource path="res://src/player.cs" type="Script" id=2]
[sub_resource type="SpriteFrames" id=1]
@@ -12,7 +12,7 @@ animations = [ {
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 30.5, 30.5 )
extents = Vector2( 19, 29 )
[node name="Player" type="KinematicBody2D"]
script = ExtResource( 2 )
@@ -21,6 +21,7 @@ script = ExtResource( 2 )
frames = SubResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 2 )
shape = SubResource( 2 )
[node name="Camera2D" type="Camera2D" parent="."]