parent
450dd3098e
commit
e6014f761a
@ -1,5 +1,5 @@
|
||||
[folding]
|
||||
|
||||
node_unfolds=[NodePath("Sprite2D"), PackedStringArray("texture", "Texture", "Transform")]
|
||||
node_unfolds=[NodePath("."), PackedStringArray("Collision", "Linear", "Angular", "Constant Forces"), NodePath("Sprite2D"), PackedStringArray("texture", "Texture", "Transform")]
|
||||
resource_unfolds=["res://Scenes/Cupcakes/cupcake.tscn::CircleShape2D_svirt", PackedStringArray()]
|
||||
nodes_folded=[]
|
||||
nodes_folded=[NodePath("Sprite2D"), NodePath("CollisionShape2D")]
|
||||
|
@ -1,6 +1,7 @@
|
||||
res://Scripts/Cupcake Spawn Timer.gd
|
||||
res://Scenes/game_world.tscn
|
||||
res://Scenes/horse.tscn
|
||||
res://Scripts/game_world.gd
|
||||
res://Scripts/horse.gd
|
||||
res://Scenes/cupcake.tscn
|
||||
res://Scenes/horse.tscn
|
||||
res://Scenes/Cupcakes/cupcake.tscn
|
||||
res://Scripts/horse.gd
|
||||
res://Scripts/Cupcakes/cupcake.gd
|
||||
|
@ -1,5 +1,5 @@
|
||||
[folding]
|
||||
|
||||
node_unfolds=[NodePath("."), PackedStringArray("Transform", "Material", "Texture", "Ordering", "Visibility", "Editor Description", "Process")]
|
||||
resource_unfolds=[]
|
||||
node_unfolds=[NodePath("."), PackedStringArray("Transform", "Material", "Texture", "Ordering", "Visibility", "Editor Description", "Process", "ccVanilla")]
|
||||
resource_unfolds=["res://Scenes/game_world.tscn::RectangleShape2D_sh03e", PackedStringArray()]
|
||||
nodes_folded=[]
|
||||
|
@ -1,3 +1,4 @@
|
||||
res://Scripts/Cupcakes
|
||||
res://Art
|
||||
res://Scenes
|
||||
res://
|
||||
|
@ -1,6 +1,22 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dlypem0porccr"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dlypem0porccr"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/game_world.gd" id="1_c2sx0"]
|
||||
[ext_resource type="Script" path="res://Scripts/Cupcake Spawn Timer.gd" id="2_bjylp"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sh03e"]
|
||||
size = Vector2(1943, 1102)
|
||||
|
||||
[node name="GameWorld" type="Node2D"]
|
||||
script = ExtResource("1_c2sx0")
|
||||
|
||||
[node name="Cupcake Spawn Timer" type="Timer" parent="."]
|
||||
script = ExtResource("2_bjylp")
|
||||
|
||||
[node name="PlayArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayArea"]
|
||||
position = Vector2(961.5, 541)
|
||||
shape = SubResource("RectangleShape2D_sh03e")
|
||||
|
||||
[connection signal="timeout" from="Cupcake Spawn Timer" to="Cupcake Spawn Timer" method="_on_timeout"]
|
||||
[connection signal="body_exited" from="PlayArea" to="." method="_on_play_area_body_exited"]
|
||||
|
@ -0,0 +1,17 @@
|
||||
extends Timer
|
||||
|
||||
var ccVanilla = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
#var ccChocolate = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
#var ccStrawberry = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
#var ccVanilla = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
#var ccVanilla = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
#var ccVanilla = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
#var ccVanilla = preload("res://Scenes/Cupcakes/cupcake.tscn")
|
||||
|
||||
func _ready():
|
||||
pass
|
||||
|
||||
|
||||
|
||||
func _on_timeout():
|
||||
|
@ -0,0 +1,11 @@
|
||||
extends RigidBody2D
|
||||
|
||||
var speed = Vector2.ZERO
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
Loading…
Reference in New Issue