1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-22 08:04:23 +00:00
looping-for-loops/Scenes/Player.tscn

22 lines
628 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Sprites/placeholder_cat.jpg" type="Texture" id=1]
[ext_resource path="res://Scripts/Player.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 22.5, 22.5 )
[node name="Player" type="KinematicBody2D"]
collision_layer = 2
script = ExtResource( 2 )
gravity = Vector2( 0, 10 )
move_speed = 300.0
jump_speed = 500.0
jump_buffer_msec = 64.0
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.25, 0.25 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )