crash animation
This commit is contained in:
parent
7d850b6825
commit
832334e381
6 changed files with 37 additions and 16 deletions
|
@ -41,6 +41,8 @@ func _crash():
|
|||
# This is like autoloading the scene, only
|
||||
# it happens after already loading the main scene.
|
||||
Global.time = Time.get_ticks_msec() - wait
|
||||
await get_tree().create_timer(1.0).timeout
|
||||
queue_free()
|
||||
get_tree().root.remove_child(galaxy)
|
||||
get_tree().change_scene_to_file("res://backgounds/supernova.tscn")
|
||||
#get_tree().root.add_child(title)
|
||||
|
|
|
@ -41,6 +41,8 @@ func _crash():
|
|||
# This is like autoloading the scene, only
|
||||
# it happens after already loading the main scene.
|
||||
Global.time = Time.get_ticks_msec() - wait
|
||||
await get_tree().create_timer(1.0).timeout
|
||||
queue_free()
|
||||
get_tree().root.remove_child(wormhole)
|
||||
get_tree().change_scene_to_file("res://backgounds/supernova.tscn")
|
||||
#get_tree().root.add_child(title)
|
||||
|
|
|
@ -112,32 +112,32 @@ Eternity
|
|||
4mat
|
||||
|
||||
Abstract
|
||||
???
|
||||
???
|
||||
realize the truth
|
||||
AceMan
|
||||
|
||||
Galaxy2
|
||||
???
|
||||
???
|
||||
Broken
|
||||
Saxxon Pike
|
||||
|
||||
Lagoon
|
||||
???
|
||||
???
|
||||
Maran Project
|
||||
Attraction
|
||||
|
||||
Orion
|
||||
???
|
||||
???
|
||||
orion spaceforce23
|
||||
dualtrax
|
||||
|
||||
Space
|
||||
???
|
||||
???
|
||||
rose
|
||||
4mat
|
||||
|
||||
Stars
|
||||
???
|
||||
???
|
||||
Oskars Skarmslackare
|
||||
MrGamer
|
||||
|
||||
Universe
|
||||
???
|
||||
???
|
||||
zenon
|
||||
ko0x
|
||||
|
||||
Credit roll 1
|
||||
Yes, I see
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=3 uid="uid://mtl88mcwaqk0"]
|
||||
[gd_scene load_steps=22 format=3 uid="uid://mtl88mcwaqk0"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/galaxy.gd" id="1_3c4wu"]
|
||||
[ext_resource type="Texture2D" uid="uid://8lioamk650y7" path="res://sprites/css.png" id="2_3g4h6"]
|
||||
|
@ -14,6 +14,7 @@
|
|||
[ext_resource type="Script" path="res://levels/ast1.gd" id="12_g6l6s"]
|
||||
[ext_resource type="Script" path="res://levels/ast2.gd" id="13_s46s0"]
|
||||
[ext_resource type="Script" path="res://levels/ast3.gd" id="14_cu7w4"]
|
||||
[ext_resource type="Script" path="res://levels/ss.gd" id="15_c4337"]
|
||||
[ext_resource type="Script" path="res://levels/wall1.gd" id="15_jbm4l"]
|
||||
[ext_resource type="Script" path="res://levels/wall2.gd" id="16_dnhp8"]
|
||||
[ext_resource type="Script" path="res://levels/wall3.gd" id="17_jrw7x"]
|
||||
|
@ -146,6 +147,7 @@ script = ExtResource("9_diat7")
|
|||
position = Vector2(640, 360)
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("9_favs7")
|
||||
script = ExtResource("15_c4337")
|
||||
|
||||
[node name="wall1" type="Sprite2D" parent="."]
|
||||
position = Vector2(357.5, 483.5)
|
||||
|
|
13
levels/ss.gd
Normal file
13
levels/ss.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends Sprite2D
|
||||
|
||||
var angular_speed = PI
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
if Global.live == 2:
|
||||
rotation += angular_speed * delta * 5
|
||||
#pass
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=3 uid="uid://b82huqhu88xt6"]
|
||||
[gd_scene load_steps=22 format=3 uid="uid://b82huqhu88xt6"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/wormhole.gd" id="1_n4a5i"]
|
||||
[ext_resource type="Texture2D" uid="uid://8lioamk650y7" path="res://sprites/css.png" id="2_y6cio"]
|
||||
|
@ -14,6 +14,7 @@
|
|||
[ext_resource type="Script" path="res://levels/ast1.gd" id="12_s1o5o"]
|
||||
[ext_resource type="Script" path="res://levels/ast2.gd" id="13_xw0he"]
|
||||
[ext_resource type="Script" path="res://levels/ast3.gd" id="14_xcrsk"]
|
||||
[ext_resource type="Script" path="res://levels/ss.gd" id="15_qucqy"]
|
||||
[ext_resource type="Script" path="res://levels/wall1.gd" id="15_yx2oo"]
|
||||
[ext_resource type="Script" path="res://levels/wall2.gd" id="16_el0w3"]
|
||||
[ext_resource type="Script" path="res://levels/wall3.gd" id="17_pl58r"]
|
||||
|
@ -146,6 +147,7 @@ script = ExtResource("9_cr36o")
|
|||
position = Vector2(640, 360)
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("10_shrek")
|
||||
script = ExtResource("15_qucqy")
|
||||
|
||||
[node name="wall1" type="Sprite2D" parent="."]
|
||||
position = Vector2(338.5, 688.5)
|
||||
|
|
Loading…
Reference in a new issue