Files
sijcdu 9dffacd938 Initial commit: Godot 4.7 pixel platformer prototype
Player: move/jump (Space), test flight (F, debug builds only). Key: pickup, hold S to aim with live trajectory preview, release to throw, W to warp to the thrown key. Spring bounce. Spikes deal damage. 3-heart health, Z consumes a heal item for +1 heart and a 5s shield. HUD with hearts and item count. Death screen with fade-to-black and restart. Hidden passages. Assets: Kenney Pixel Platformer (CC0).
2026-10-07 20:32:42 +08:00

20 lines
631 B
Plaintext

[gd_scene load_steps=4 format=3]
[ext_resource type="Texture2D" path="res://assets/game/collectibles/coin_gold_round.png" id="1_texture"]
[ext_resource type="Script" path="res://scripts/collectible.gd" id="2_collectible"]
[sub_resource type="CircleShape2D" id="Shape_coin"]
radius = 5.0
[node name="CoinGoldRound" type="Area2D" groups=["collectible"]]
collision_layer = 16
collision_mask = 2
script = ExtResource("2_collectible")
[node name="Sprite" type="Sprite2D" parent="."]
texture_filter = 1
texture = ExtResource("1_texture")
[node name="PickupArea" type="CollisionShape2D" parent="."]
shape = SubResource("Shape_coin")