This commit is contained in:
2023-10-17 15:27:36 -03:00
parent a9d00d81a7
commit a30c178a0a
4 changed files with 173 additions and 4 deletions

View File

@@ -11,5 +11,6 @@ config_version=5
[application]
config/name="gamejam"
run/main_scene="res://src/levels/level_template.tscn"
config/features=PackedStringArray("4.1", "Forward Plus")
config/icon="res://icon.svg"

View File

@@ -2,7 +2,8 @@ extends CharacterBody2D
const SPEED = 300.0
const JUMP_VELOCITY = -400.0
const JUMP_VELOCITY = -450.0
const acc = 25.0
# Get the gravity from the project settings to be synced with RigidBody nodes.
var gravity = ProjectSettings.get_setting("physics/2d/default_gravity")

View File

@@ -7,12 +7,15 @@
size = Vector2(121, 147)
[node name="Player" type="CharacterBody2D"]
scale = Vector2(0.5, 0.5)
script = ExtResource("1_qe2a3")
[node name="Placeholder" type="Sprite2D" parent="."]
position = Vector2(0, -96)
position = Vector2(0, -48)
scale = Vector2(0.5, 0.5)
texture = ExtResource("2_ctbi8")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-4.5, -73.5)
position = Vector2(0, -38)
scale = Vector2(0.5, 0.5)
shape = SubResource("RectangleShape2D_xv46f")

File diff suppressed because one or more lines are too long