Simple 2D game based on avoiding asteroids while controlling a rocket
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.

41 lines
1.2 KiB

[gd_scene load_steps=6 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/AsteroidSpawn.gd" type="Script" id=4]
[ext_resource path="res://Scripts/Score.gd" type="Script" id=5]
[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="Label" 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"]
position = Vector2( 89.4544, -100.794 )
scale = Vector2( 5, 5 )
texture = ExtResource( 3 )