33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
![]() |
[gd_scene load_steps=7 format=3 uid="uid://bp7jtahwqrb8u"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://cus7cgpaxqju3" path="res://assets/bean.png" id="1_3vyb7"]
|
||
|
[ext_resource type="Script" uid="uid://dqbx5v0g4etuu" path="res://scripts/player.gd" id="1_g2els"]
|
||
|
[ext_resource type="AudioStream" uid="uid://d4flkpinisd3g" path="res://sounds/rice.wav" id="3_qhqgy"]
|
||
|
[ext_resource type="AudioStream" uid="uid://kwbs5x6303aq" path="res://sounds/boing.wav" id="4_dqkch"]
|
||
|
[ext_resource type="AudioStream" uid="uid://donstucdml31j" path="res://sounds/AAAAAAAAAAAAAAAAAAAAAAA.wav" id="5_qlg0r"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_g2els"]
|
||
|
size = Vector2(10, 16)
|
||
|
|
||
|
[node name="Player" type="CharacterBody2D"]
|
||
|
script = ExtResource("1_g2els")
|
||
|
|
||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
texture = ExtResource("1_3vyb7")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("RectangleShape2D_g2els")
|
||
|
|
||
|
[node name="Camera2D" type="Camera2D" parent="."]
|
||
|
|
||
|
[node name="rice" type="AudioStreamPlayer2D" parent="."]
|
||
|
stream = ExtResource("3_qhqgy")
|
||
|
|
||
|
[node name="boing" type="AudioStreamPlayer2D" parent="."]
|
||
|
stream = ExtResource("4_dqkch")
|
||
|
|
||
|
[node name="death" type="AudioStreamPlayer2D" parent="."]
|
||
|
stream = ExtResource("5_qlg0r")
|
||
|
|
||
|
[connection signal="finished" from="death" to="." method="_on_death_finished"]
|