Initial commit: Godot idle game project setup with basic player movement
This commit is contained in:
commit
ef38f19f04
7 changed files with 130 additions and 0 deletions
18
scenes/Player.tscn
Normal file
18
scenes/Player.tscn
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dxqwp3y8r4ktm"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Player.gd" id="1_hqxmv"]
|
||||
|
||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_1"]
|
||||
size = Vector2(64, 64)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1"]
|
||||
size = Vector2(64, 64)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
script = ExtResource("1_hqxmv")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("PlaceholderTexture2D_1")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_1")
|
||||
Loading…
Add table
Add a link
Reference in a new issue