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.

520 lines
14 KiB

[gd_scene load_steps=125 format=2]
[ext_resource path="res://Images and Anims/In Game/rocket_flame.png" type="Texture" id=1]
[ext_resource path="res://Images and Anims/In Game/rocket.png" type="Texture" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 7.77506
height = 23.6561
[sub_resource type="AtlasTexture" id=2]
region = Rect2( 0, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=3]
region = Rect2( 68, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=4]
region = Rect2( 136, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=5]
region = Rect2( 204, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=6]
region = Rect2( 272, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=7]
region = Rect2( 340, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=8]
region = Rect2( 408, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=9]
region = Rect2( 476, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=10]
region = Rect2( 544, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=11]
region = Rect2( 612, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=12]
region = Rect2( 0, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=13]
region = Rect2( 68, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=14]
region = Rect2( 136, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=15]
region = Rect2( 204, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=16]
region = Rect2( 272, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=17]
region = Rect2( 340, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=18]
region = Rect2( 408, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=19]
region = Rect2( 476, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=20]
region = Rect2( 544, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=21]
region = Rect2( 612, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=22]
region = Rect2( 0, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=23]
region = Rect2( 68, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=24]
region = Rect2( 136, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=25]
region = Rect2( 204, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=26]
region = Rect2( 272, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=27]
region = Rect2( 340, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=28]
region = Rect2( 408, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=29]
region = Rect2( 476, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=30]
region = Rect2( 544, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=31]
region = Rect2( 612, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=32]
region = Rect2( 0, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=33]
region = Rect2( 68, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=34]
region = Rect2( 136, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=35]
region = Rect2( 204, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=36]
region = Rect2( 272, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=37]
region = Rect2( 340, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=38]
region = Rect2( 408, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=39]
region = Rect2( 476, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=40]
region = Rect2( 544, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=41]
region = Rect2( 612, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=42]
region = Rect2( 0, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=43]
region = Rect2( 68, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=44]
region = Rect2( 136, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=45]
region = Rect2( 204, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=46]
region = Rect2( 272, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=47]
region = Rect2( 340, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=48]
region = Rect2( 408, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=49]
region = Rect2( 476, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=50]
region = Rect2( 544, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=51]
region = Rect2( 612, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=52]
region = Rect2( 0, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=53]
region = Rect2( 68, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=54]
region = Rect2( 136, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=55]
region = Rect2( 204, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=56]
region = Rect2( 272, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=57]
region = Rect2( 340, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=58]
region = Rect2( 408, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=59]
region = Rect2( 476, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=60]
region = Rect2( 544, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=61]
region = Rect2( 612, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=62]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=63]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 68, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=64]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 136, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=65]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 204, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=66]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 272, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=67]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 340, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=68]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 408, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=69]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 476, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=70]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 544, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=71]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 612, 0, 68, 9 )
[sub_resource type="AtlasTexture" id=72]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 0, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=73]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 68, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=74]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 136, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=75]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 204, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=76]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 272, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=77]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 340, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=78]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 408, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=79]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 476, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=80]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 544, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=81]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 612, 9, 68, 9 )
[sub_resource type="AtlasTexture" id=82]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 0, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=83]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 68, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=84]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 136, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=85]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 204, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=86]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 272, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=87]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 340, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=88]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 408, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=89]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 476, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=90]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 544, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=91]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 612, 18, 68, 9 )
[sub_resource type="AtlasTexture" id=92]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 0, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=93]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 68, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=94]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 136, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=95]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 204, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=96]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 272, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=97]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 340, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=98]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 408, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=99]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 476, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=100]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 544, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=101]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 612, 27, 68, 9 )
[sub_resource type="AtlasTexture" id=102]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 0, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=103]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 68, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=104]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 136, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=105]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 204, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=106]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 272, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=107]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 340, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=108]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 408, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=109]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 476, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=110]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 544, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=111]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 612, 36, 68, 9 )
[sub_resource type="AtlasTexture" id=112]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 0, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=113]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 68, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=114]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 136, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=115]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 204, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=116]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 272, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=117]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 340, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=118]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 408, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=119]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 476, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=120]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 544, 45, 68, 9 )
[sub_resource type="AtlasTexture" id=121]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 612, 45, 68, 9 )
[sub_resource type="SpriteFrames" id=122]
animations = [ {
"frames": [ SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ), SubResource( 37 ), SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ), SubResource( 43 ), SubResource( 44 ), SubResource( 45 ), SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ), SubResource( 54 ), SubResource( 55 ), SubResource( 56 ), SubResource( 57 ), SubResource( 58 ), SubResource( 59 ), SubResource( 60 ), SubResource( 61 ) ],
"loop": true,
"name": "default",
"speed": 60.0
}, {
"frames": [ SubResource( 62 ), SubResource( 63 ), SubResource( 64 ), SubResource( 65 ), SubResource( 66 ), SubResource( 67 ), SubResource( 68 ), SubResource( 69 ), SubResource( 70 ), SubResource( 71 ), SubResource( 72 ), SubResource( 73 ), SubResource( 74 ), SubResource( 75 ), SubResource( 76 ), SubResource( 77 ), SubResource( 78 ), SubResource( 79 ), SubResource( 80 ), SubResource( 81 ), SubResource( 82 ), SubResource( 83 ), SubResource( 84 ), SubResource( 85 ), SubResource( 86 ), SubResource( 87 ), SubResource( 88 ), SubResource( 89 ), SubResource( 90 ), SubResource( 91 ), SubResource( 92 ), SubResource( 93 ), SubResource( 94 ), SubResource( 95 ), SubResource( 96 ), SubResource( 97 ), SubResource( 98 ), SubResource( 99 ), SubResource( 100 ), SubResource( 101 ), SubResource( 102 ), SubResource( 103 ), SubResource( 104 ), SubResource( 105 ), SubResource( 106 ), SubResource( 107 ), SubResource( 108 ), SubResource( 109 ), SubResource( 110 ), SubResource( 111 ), SubResource( 112 ), SubResource( 113 ), SubResource( 114 ), SubResource( 115 ), SubResource( 116 ), SubResource( 117 ), SubResource( 118 ), SubResource( 119 ), SubResource( 120 ), SubResource( 121 ) ],
"loop": true,
"name": "New Anim",
"speed": 45.0
} ]
[node name="Rocket" type="KinematicBody2D"]
[node name="Collider" type="CollisionShape2D" parent="."]
position = Vector2( 0, -5 )
shape = SubResource( 1 )
[node name="Body" type="Sprite" parent="."]
scale = Vector2( 0.263104, 0.474027 )
texture = ExtResource( 2 )
[node name="Flame" type="AnimatedSprite" parent="."]
position = Vector2( 0, 47.5 )
rotation = 1.5708
frames = SubResource( 122 )
animation = "New Anim"
frame = 6
playing = true