|
|
|
[gd_scene load_steps=7 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://Objects/Rocket.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://Scripts/Rocket.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://Images and Anims/In Game/background.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://Scripts/Game.gd" type="Script" id=4]
|
|
|
|
[ext_resource path="res://Scripts/Score.gd" type="Script" id=5]
|
|
|
|
[ext_resource path="res://Scripts/CoinLabel.gd" type="Script" id=6]
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
script = ExtResource( 4 )
|
|
|
|
|
|
|
|
[node name="Rocket" parent="." instance=ExtResource( 1 )]
|
|
|
|
position = Vector2( 512, 300 )
|
|
|
|
scale = Vector2( 2, 2 )
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Rocket"]
|
|
|
|
offset = Vector2( 0, -220 )
|
|
|
|
current = true
|
|
|
|
smoothing_enabled = true
|
|
|
|
|
|
|
|
[node name="Coins" type="Label" parent="Rocket/Camera2D"]
|
|
|
|
margin_left = 166.0
|
|
|
|
margin_top = -254.0
|
|
|
|
margin_right = 250.0
|
|
|
|
margin_bottom = -239.0
|
|
|
|
script = ExtResource( 6 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Score" type="Label" parent="Rocket"]
|
|
|
|
margin_left = 13.0
|
|
|
|
margin_top = 9.0
|
|
|
|
margin_right = 44.0
|
|
|
|
margin_bottom = 27.0
|
|
|
|
script = ExtResource( 5 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
|
|
|
|
|
|
|
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
|
|
|
|
motion_scale = Vector2( 0.01, 0.01 )
|
|
|
|
|
|
|
|
[node name="Background" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
|
|
|
|
visible = false
|
|
|
|
position = Vector2( 89.4544, -100.794 )
|
|
|
|
scale = Vector2( 5, 5 )
|
|
|
|
texture = ExtResource( 3 )
|