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.
 

29 lines
1010 B

[gd_scene load_steps=5 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]
[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="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.01, 0.01 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
position = Vector2( 89.4544, -100.794 )
scale = Vector2( 5, 5 )
texture = ExtResource( 3 )