You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
3.5 KiB
125 lines
3.5 KiB
[gd_scene load_steps=18 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]
|
|
[ext_resource path="res://Images and Anims/In Game/coin.png" type="Texture" id=7]
|
|
[ext_resource path="res://Music and Sounds/explosion.ogg" type="AudioStream" id=8]
|
|
[ext_resource path="res://Music and Sounds/astervoid-theme.ogg" type="AudioStream" id=9]
|
|
[ext_resource path="res://Music and Sounds/rocket-launch.ogg" type="AudioStream" id=10]
|
|
[ext_resource path="res://Images and Anims/In Game/playbutton.png" type="Texture" id=11]
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
flags = 4
|
|
atlas = ExtResource( 7 )
|
|
region = Rect2( 0, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
flags = 4
|
|
atlas = ExtResource( 7 )
|
|
region = Rect2( 16, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
flags = 4
|
|
atlas = ExtResource( 7 )
|
|
region = Rect2( 32, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
flags = 4
|
|
atlas = ExtResource( 7 )
|
|
region = Rect2( 48, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
flags = 4
|
|
atlas = ExtResource( 7 )
|
|
region = Rect2( 64, 0, 16, 16 )
|
|
|
|
[sub_resource type="SpriteFrames" id=6]
|
|
animations = [ {
|
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 10.0
|
|
} ]
|
|
|
|
[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="Coins" type="Label" parent="Rocket"]
|
|
margin_left = -3.92264
|
|
margin_top = -41.2194
|
|
margin_right = 49.0774
|
|
margin_bottom = -27.2194
|
|
valign = 1
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Rocket"]
|
|
offset = Vector2( 0, -220 )
|
|
current = true
|
|
smoothing_enabled = true
|
|
|
|
[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="CoinAnim" type="AnimatedSprite" parent="Rocket"]
|
|
position = Vector2( -8.0022, -34.2137 )
|
|
scale = Vector2( 0.401688, 0.401688 )
|
|
frames = SubResource( 6 )
|
|
frame = 1
|
|
playing = true
|
|
|
|
[node name="Theme Music" type="AudioStreamPlayer" parent="Rocket"]
|
|
stream = ExtResource( 9 )
|
|
autoplay = true
|
|
|
|
[node name="Explosion" type="AudioStreamPlayer" parent="Rocket"]
|
|
stream = ExtResource( 8 )
|
|
|
|
[node name="Launch" type="AudioStreamPlayer" parent="Rocket"]
|
|
stream = ExtResource( 10 )
|
|
autoplay = true
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
|
|
|
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
|
|
motion_scale = Vector2( 0.1, 0.1 )
|
|
|
|
[node name="Background" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
|
|
position = Vector2( 174.306, -100.794 )
|
|
scale = Vector2( 7.46004, 7.46004 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="PauseButton" type="TextureButton" parent="CanvasLayer"]
|
|
pause_mode = 2
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -173.0
|
|
margin_top = -231.0
|
|
margin_right = -40.0
|
|
margin_bottom = -48.0
|
|
texture_normal = ExtResource( 11 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|