added game
This commit is contained in:
commit
85d53bd89b
25 changed files with 522 additions and 0 deletions
scenes
55
scenes/level.tscn
Normal file
55
scenes/level.tscn
Normal file
File diff suppressed because one or more lines are too long
32
scenes/player.tscn
Normal file
32
scenes/player.tscn
Normal file
|
@ -0,0 +1,32 @@
|
|||
[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"]
|
Loading…
Add table
Add a link
Reference in a new issue