engine port finished

This commit is contained in:
Page Asgardius 2024-11-07 13:39:59 -07:00
parent fd3498f784
commit c1e6542c76
72 changed files with 1300 additions and 1130 deletions

View file

@ -1,3 +1,3 @@
source_md5="959fa17099a93688aaec4a839b13559f" source_md5="a3422ec484eb0693a95ee9e0887d338d"
dest_md5="7d16c96f66782c4cb14420ee38b3907d" dest_md5="87b51b7f4801ebb68846847099425551"

View file

@ -1,3 +1,3 @@
source_md5="c5cf6b702709d18418cf04265f51b112" source_md5="28322b78b5e7286d4c34ebe12cbfc6c7"
dest_md5="2ed0ee2f1178c22ca137827745de08e6" dest_md5="4b5ffcf65f041f1dad3e8353217e6dd9"

View file

@ -1,3 +1,3 @@
source_md5="e4cb5c17b5f98ad6c031278215162574" source_md5="408400fef05a72ba01a349330387a973"
dest_md5="96d5128d85d08ac800215d5cf05cae62" dest_md5="276cbd3b4ca76f457019247b1398a39f"

View file

@ -5,7 +5,7 @@ var sfx1 := AudioStreamPlayer.new()
func _ready() -> void: func _ready() -> void:
add_child(sfx1) add_child(sfx1)
sfx1.mix_target = 1 sfx1.mix_target = 1
sfx1.bus = &"SFX1" sfx1.bus = "SFX1"
sfx1.stream = load(Global.sfxtracks[0]) sfx1.stream = load(Global.sfxtracks[0])
sfx1.play(0) sfx1.play(0)
@ -16,4 +16,4 @@ func _process(delta: float) -> void:
func _input(event): func _input(event):
if Input.is_action_just_pressed("ui_accept"): if Input.is_action_just_pressed("ui_accept"):
get_tree().change_scene_to_file("res://title.tscn") get_tree().change_scene("res://title.tscn")

View file

@ -1,14 +1,18 @@
[gd_scene load_steps=2 format=3 uid="uid://i46ouafr1o3t"] [gd_scene load_steps=4 format=2]
[ext_resource type="Script" path="res://backgounds/gameover.gd" id="1_5r0kb"] [ext_resource path="res://fonts/title.tres" type="DynamicFont" id=1]
[ext_resource path="res://backgounds/gameover.gd" type="Script" id=2]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=3]
[node name="Gameover" type="Node2D"] [node name="Gameover" type="Node2D"]
script = ExtResource("1_5r0kb") script = ExtResource( 2 )
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 178.0 margin_left = 376.0
offset_top = 214.0 margin_top = 294.0
offset_right = 1046.0 margin_right = 917.0
offset_bottom = 433.0 margin_bottom = 406.0
theme_override_font_sizes/font_size = 160 custom_fonts/font = ExtResource( 1 )
text = "Game Over" text = "Game Over"
[node name="Bottomhud" parent="." instance=ExtResource( 3 )]

View file

@ -9,10 +9,10 @@ func _ready():
result = $Label result = $Label
presscontinue = $Label2 presscontinue = $Label2
var previoustime var previoustime
var min = float(Global.result[1] / 60000) var minute = float(Global.result[1] / 60000)
var sec = (Global.result[1] / 1000) - (min*60) var second = (Global.result[1] / 1000) - (minute*60)
var msec = Global.result[1] - (sec*1000) - (min*60000) var msecond = Global.result[1] - (second*1000) - (minute*60000)
result.set_text("Defeated enemies: "+str(Global.result[0])+"\nClear time: "+str(min)+":"+str(sec)+":"+str(msec)+"\nCharged skill uses: 0\nDamage received: "+str(Global.result[3])+"\nEarned experience: 0") result.set_text("Defeated enemies: "+str(Global.result[0])+"\nClear time: "+str(minute)+":"+str(second)+":"+str(msecond)+"\nCharged skill uses: 0\nDamage received: "+str(Global.result[3])+"\nEarned experience: 0")
Global.result = [0, 0, 0, 0, 0] Global.result = [0, 0, 0, 0, 0]
updatehud() updatehud()
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN) Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
@ -40,14 +40,14 @@ func _title():
# This is like autoloading the scene, only # This is like autoloading the scene, only
# it happens after already loading the main scene. # it happens after already loading the main scene.
if Global.debug: if Global.debug:
get_tree().change_scene_to_file("res://levels/ui/scene.tscn") get_tree().change_scene("res://levels/ui/scene.tscn")
else: else:
if Global.cplace == [1, 1, 17]: if Global.cplace == [1, 1, 17]:
Global.cplace = [0, 0, 0] Global.cplace = [0, 0, 0]
get_tree().change_scene_to_file("res://backgounds/wip.tscn") get_tree().change_scene("res://backgounds/wip.tscn")
else: else:
Global.cplace = [0, 0, 0] Global.cplace = [0, 0, 0]
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")
#get_tree().root.add_child(title) #get_tree().root.add_child(title)
#get_tree().root.remove_child(boot) #get_tree().root.remove_child(boot)
#boot.queue_free() #boot.queue_free()

View file

@ -1,23 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://dq8vnuy2g3ewv"] [gd_scene load_steps=6 format=2]
[ext_resource type="Script" path="res://backgounds/result.gd" id="1_ejbiw"] [ext_resource path="res://fonts/selftest.tres" type="DynamicFont" id=1]
[ext_resource type="Texture2D" uid="uid://chr01sorihbb2" path="res://backgounds/Midori No Akuma.jpg" id="2_jril2"] [ext_resource path="res://fonts/about.tres" type="DynamicFont" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_sdx6y"] [ext_resource path="res://backgounds/Midori No Akuma.jpg" type="Texture" id=3]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=4]
[ext_resource path="res://backgounds/result.gd" type="Script" id=5]
[node name="Result" type="Node2D"] [node name="Result" type="Node2D"]
script = ExtResource("1_ejbiw") script = ExtResource( 5 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 40.0 margin_right = 40.0
offset_bottom = 40.0 margin_bottom = 40.0
texture = ExtResource("2_jril2") texture = ExtResource( 3 )
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 667.0 margin_left = 825.0
offset_top = 17.0 margin_top = 11.0
offset_right = 1071.0 margin_right = 1172.0
offset_bottom = 179.0 margin_bottom = 144.0
theme_override_font_sizes/font_size = 21 custom_fonts/font = ExtResource( 2 )
text = "Defeated enemies: 0 text = "Defeated enemies: 0
Clear time: 0 Clear time: 0
Charged skill uses: 0 Charged skill uses: 0
@ -25,12 +27,13 @@ Damage received: 0
Earned experience: 0" Earned experience: 0"
[node name="Label2" type="Label" parent="."] [node name="Label2" type="Label" parent="."]
offset_left = 30.0 margin_top = 326.0
offset_top = 361.0 margin_right = 1280.0
offset_right = 1247.0 margin_bottom = 394.0
offset_bottom = 429.0 rect_pivot_offset = Vector2( 1260, 141 )
theme_override_font_sizes/font_size = 49 custom_fonts/font = ExtResource( 1 )
text = "TEXT_CONTINUE" text = "TEXT_CONTINUE"
horizontal_alignment = 1 align = 1
valign = 3
[node name="Bottomhud" parent="." instance=ExtResource("3_sdx6y")] [node name="Bottomhud" parent="." instance=ExtResource( 4 )]

View file

@ -9,4 +9,4 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void: func _process(delta: float) -> void:
Global.live = 1 Global.live = 1
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://kuybckcxwmre"] [gd_scene load_steps=2 format=2]
[ext_resource type="Script" path="res://backgounds/warp.gd" id="1_3ss1u"] [ext_resource path="res://backgounds/warp.gd" type="Script" id=1]
[node name="Warp" type="Node2D"] [node name="Warp" type="Node2D"]
script = ExtResource("1_3ss1u") script = ExtResource( 1 )

View file

@ -32,9 +32,9 @@ func _title():
# This is like autoloading the scene, only # This is like autoloading the scene, only
# it happens after already loading the main scene. # it happens after already loading the main scene.
if Global.debug: if Global.debug:
get_tree().change_scene_to_file("res://levels/ui/scene.tscn") get_tree().change_scene("res://levels/ui/scene.tscn")
else: else:
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")
#get_tree().root.add_child(title) #get_tree().root.add_child(title)
#get_tree().root.remove_child(boot) #get_tree().root.remove_child(boot)
#boot.queue_free() #boot.queue_free()

View file

@ -1,32 +1,36 @@
[gd_scene load_steps=4 format=3 uid="uid://ctp1qc3xlecob"] [gd_scene load_steps=6 format=2]
[ext_resource type="Script" path="res://backgounds/wip.gd" id="1_1qonj"] [ext_resource path="res://fonts/selftest.tres" type="DynamicFont" id=1]
[ext_resource type="Texture2D" uid="uid://chr01sorihbb2" path="res://backgounds/Midori No Akuma.jpg" id="2_lrfja"] [ext_resource path="res://fonts/about.tres" type="DynamicFont" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_sdx6y"] [ext_resource path="res://backgounds/wip.gd" type="Script" id=3]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=4]
[ext_resource path="res://backgounds/Midori No Akuma.jpg" type="Texture" id=5]
[node name="WIP" type="Node2D"] [node name="WIP" type="Node2D"]
script = ExtResource("1_1qonj") script = ExtResource( 3 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 40.0 margin_right = 40.0
offset_bottom = 40.0 margin_bottom = 40.0
texture = ExtResource("2_lrfja") texture = ExtResource( 5 )
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 20.0 margin_left = 23.0
offset_top = 33.0 margin_top = 11.0
offset_right = 1271.0 margin_right = 1250.0
offset_bottom = 82.0 margin_bottom = 144.0
custom_fonts/font = ExtResource( 2 )
text = "TEXT_WIP" text = "TEXT_WIP"
horizontal_alignment = 1 align = 1
[node name="Label2" type="Label" parent="."] [node name="Label2" type="Label" parent="."]
offset_left = 30.0 margin_top = 326.0
offset_top = 361.0 margin_right = 1280.0
offset_right = 1247.0 margin_bottom = 394.0
offset_bottom = 429.0 rect_pivot_offset = Vector2( 1260, 141 )
theme_override_font_sizes/font_size = 49 custom_fonts/font = ExtResource( 1 )
text = "TEXT_CONTINUE" text = "TEXT_CONTINUE"
horizontal_alignment = 1 align = 1
valign = 3
[node name="Bottomhud" parent="." instance=ExtResource("3_sdx6y")] [node name="Bottomhud" parent="." instance=ExtResource( 4 )]

View file

@ -7,7 +7,7 @@ var origmpos
var mousepos var mousepos
var timelimit = 15000 var timelimit = 15000
var exitgame = false var exitgame = false
var wait var wait = 0
var bossready = false var bossready = false
var playerx var playerx
var playery var playery
@ -47,7 +47,7 @@ var owlocation = [[null, null], [null, null]]
const musictracks = ["res://music/midorinoyume.ogg", "res://music/seahorse.ogg", "res://music/chinesegoat.ogg", "res://music/doyoufeelold.ogg", "res://music/doyiuneedahealer.ogg", "res://music/adayatceres.ogg", "res://music/twintroublemakers.ogg", "res://music/easyquiz.ogg", "res://music/neowave.ogg", "res://music/multivectorsubmarines.ogg", "res://music/halfgeniegirls.ogg", "res://music/rusianmaverickfairy.ogg", "res://music/blacksmithofdestruction.ogg", "res://music/shininglikefireworks.ogg", "res://music/sadtrashcan.ogg", "res://music/akikonotegami.ogg", "res://music/asadcat.ogg", "res://music/lilydesire.ogg", "res://music/scholartrip.ogg", "res://music/quantumice.ogg", "res://music/unreeeal.ogg", "res://music/alsa.ogg", "res://music/silverblue.ogg"] const musictracks = ["res://music/midorinoyume.ogg", "res://music/seahorse.ogg", "res://music/chinesegoat.ogg", "res://music/doyoufeelold.ogg", "res://music/doyiuneedahealer.ogg", "res://music/adayatceres.ogg", "res://music/twintroublemakers.ogg", "res://music/easyquiz.ogg", "res://music/neowave.ogg", "res://music/multivectorsubmarines.ogg", "res://music/halfgeniegirls.ogg", "res://music/rusianmaverickfairy.ogg", "res://music/blacksmithofdestruction.ogg", "res://music/shininglikefireworks.ogg", "res://music/sadtrashcan.ogg", "res://music/akikonotegami.ogg", "res://music/asadcat.ogg", "res://music/lilydesire.ogg", "res://music/scholartrip.ogg", "res://music/quantumice.ogg", "res://music/unreeeal.ogg", "res://music/alsa.ogg", "res://music/silverblue.ogg"]
const sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"] const sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"]
var debug = false var debug = false
const release = "R0.2.1-beta" const release = "R0.3.0-dev"
var sk = false var sk = false
var gamepad = 0 var gamepad = 0
var quest = [0, 0, 0, 0, 0, 0] var quest = [0, 0, 0, 0, 0, 0]

View file

@ -1,5 +1,5 @@
extends Node2D extends Node2D
var talk = load("res://levels/ui/talk.tscn").instantiate() var talk = load("res://levels/ui/talk.tscn").instance()
var boss var boss
var player var player
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
@ -9,7 +9,7 @@ func _ready():
boss.add_to_group("boss") boss.add_to_group("boss")
Global.cdialog = [[tr("DIALOG_CERES_L20_0"), true, 0, 0], [tr("DIALOG_CERES_L20_1"), false, 3], [tr("DIALOG_CERES_L20_2"), true, 0, 0]] Global.cdialog = [[tr("DIALOG_CERES_L20_0"), true, 0, 0], [tr("DIALOG_CERES_L20_1"), false, 3], [tr("DIALOG_CERES_L20_2"), true, 0, 0]]
Global.live = 0 Global.live = 0
get_tree().root.add_child.call(talk) call_deferred("_talk")
if !Global.debug: if !Global.debug:
Global.quest[0] = 1 Global.quest[0] = 1
@ -38,8 +38,8 @@ func _winner():
Global.live = 3 Global.live = 3
Global.ccutscene = 6 Global.ccutscene = 6
#talk.queue_free() #talk.queue_free()
talk = load("res://levels/ui/talk.tscn").instantiate() talk = load("res://levels/ui/talk.tscn").instance()
get_tree().root.add_child.call(talk) call_deferred("_talk")
func _statrebase(): func _statrebase():
if Global.debug: if Global.debug:
@ -52,3 +52,6 @@ func _statrebase():
if Global.party[i][0] != null: if Global.party[i][0] != null:
for j in 7: for j in 7:
Global.mstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]] Global.mstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]]
func _talk():
get_tree().root.add_child(talk)

View file

@ -1,66 +1,49 @@
[gd_scene load_steps=7 format=3 uid="uid://c8hmum2w6aygy"] [gd_scene load_steps=6 format=2]
[ext_resource type="Script" path="res://levels/Ceres/L20.gd" id="1_cjbjq"] [ext_resource path="res://levels/Ceres/L20.gd" type="Script" id=1]
[ext_resource type="Texture2D" uid="uid://dursxelwwxe8u" path="res://sprites/common/placeholder/player.png" id="1_g5hs8"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=2]
[ext_resource type="PackedScene" uid="uid://wo77i5ql2esb" path="res://sprites/common/kimberly/kimberly.tscn" id="2_5cnwp"] [ext_resource path="res://sprites/common/kimberly/kimberly.tscn" type="PackedScene" id=3]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="3_slxde"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1jr1w"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 761) extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_iptg6"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(1283, 20) extents = Vector2( 676, 20.5 )
[node name="L20" type="Node2D"] [node name="L20" type="Node2D"]
script = ExtResource("1_cjbjq") script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
custom_minimum_size = Vector2(1280, 720) margin_right = 1280.0
offset_right = 40.0 margin_bottom = 720.0
offset_bottom = 40.0 color = Color( 0, 0.619608, 0.270588, 1 )
color = Color(0, 0.619608, 0.270588, 1)
[node name="TextureRect" type="TextureRect" parent="."]
offset_left = 583.0
offset_top = 4.0
offset_right = 711.0
offset_bottom = 260.0
texture = ExtResource("1_g5hs8")
[node name="Label" type="Label" parent="."]
offset_left = 327.0
offset_top = 354.0
offset_right = 957.0
offset_bottom = 409.0
theme_override_font_sizes/font_size = 40
text = "Boss spawns at EBU pattern area"
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-11, 361.5) position = Vector2( -18, 373.5 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 358) position = Vector2( 1299, 376 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(641.5, -9) position = Vector2( 641, -21 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(644, 731) position = Vector2( 640, 741 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="Kimberly" parent="." instance=ExtResource("2_5cnwp")] [node name="Kimberly" parent="." instance=ExtResource( 3 )]
position = Vector2(644, 133) position = Vector2( 644, 133 )
[node name="Player" parent="." instance=ExtResource("3_slxde")] [node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2(652, 590) position = Vector2( 635, 586 )

View file

@ -1,250 +1,248 @@
[gd_scene load_steps=21 format=3 uid="uid://c4ldh7ydn78bh"] [gd_scene load_steps=20 format=2]
[ext_resource type="Script" path="res://levels/Ceres/honkerrailway.gd" id="1_75qhf"] [ext_resource path="res://sprites/ceres/railway/sprite.png" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://l26qimo56l1w" path="res://sprites/ceres/items/hkr.png" id="2_qaay0"] [ext_resource path="res://sprites/ceres/items/hkr.png" type="Texture" id=2]
[ext_resource type="Texture2D" uid="uid://dhrj7a0xr4bh1" path="res://sprites/ceres/items/ltc.png" id="3_4ekhw"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[ext_resource type="Texture2D" uid="uid://c1jjhut8fuf1w" path="res://sprites/ceres/railway/sprite.png" id="3_4r2wm"] [ext_resource path="res://sprites/ceres/items/ltc.png" type="Texture" id=4]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="3_uvwc3"] [ext_resource path="res://levels/Ceres/honkerrailway.gd" type="Script" id=5]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nytv7"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 761) extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wkumn"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(1283, 20) extents = Vector2( 676, 20.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dw13o"] [sub_resource type="RectangleShape2D" id=3]
size = Vector2(224, 409) extents = Vector2( 111, 201.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6hhd2"] [sub_resource type="RectangleShape2D" id=4]
size = Vector2(68, 152) extents = Vector2( 33.5, 76.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hyd1a"] [sub_resource type="RectangleShape2D" id=5]
size = Vector2(86, 256) extents = Vector2( 45, 128 )
[sub_resource type="Animation" id="Animation_i5rhc"] [sub_resource type="Animation" id=6]
length = 0.001 length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [0] "values": [ 8 ]
} }
[sub_resource type="Animation" id="Animation_8my4d"] [sub_resource type="Animation" id=7]
resource_name = "eidle" resource_name = "eidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [6] "values": [ 8 ]
} }
[sub_resource type="Animation" id="Animation_op07l"] [sub_resource type="Animation" id=8]
resource_name = "ewalk" resource_name = "ewalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
step = 0.033
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.099, 0.198 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [7, 6, 8] "values": [ 9, 8, 10 ]
} }
[sub_resource type="Animation" id="Animation_cajcr"] [sub_resource type="Animation" id=9]
resource_name = "nidle" resource_name = "nidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0.2), "times": PoolRealArray( 0.1 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [3] "values": [ 4 ]
} }
[sub_resource type="Animation" id="Animation_7lhgw"] [sub_resource type="Animation" id=10]
resource_name = "nwalk" resource_name = "nwalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [4, 3, 5] "values": [ 5, 4, 6 ]
} }
[sub_resource type="Animation" id="Animation_w3ius"] [sub_resource type="Animation" id=11]
resource_name = "sidle" resource_name = "sidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0.5 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [0] "values": [ 0 ]
} }
[sub_resource type="Animation" id="Animation_u56r5"] [sub_resource type="Animation" id=12]
resource_name = "swalk" resource_name = "swalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [1, 0, 2] "values": [ 1, 0, 2 ]
} }
[sub_resource type="Animation" id="Animation_isodq"] [sub_resource type="Animation" id=13]
resource_name = "widle" resource_name = "widle"
length = 0.3
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0.2), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [9] "values": [ 12 ]
} }
[sub_resource type="Animation" id="Animation_letwb"] [sub_resource type="Animation" id=14]
resource_name = "wwalk" resource_name = "wwalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [10, 9, 11] "values": [ 13, 12, 14 ]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mh65y"]
_data = {
"RESET": SubResource("Animation_i5rhc"),
"eidle": SubResource("Animation_8my4d"),
"ewalk": SubResource("Animation_op07l"),
"nidle": SubResource("Animation_cajcr"),
"nwalk": SubResource("Animation_7lhgw"),
"sidle": SubResource("Animation_w3ius"),
"swalk": SubResource("Animation_u56r5"),
"widle": SubResource("Animation_isodq"),
"wwalk": SubResource("Animation_letwb")
} }
[node name="Honkerrailway" type="Node2D"] [node name="Honkerrailway" type="Node2D"]
script = ExtResource("1_75qhf") script = ExtResource( 5 )
metadata/_edit_horizontal_guides_ = [0.0]
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
custom_minimum_size = Vector2(1280, 720) margin_right = 1280.0
offset_right = 1280.0 margin_bottom = 720.0
offset_bottom = 720.0 color = Color( 0.839216, 0.658824, 0.32549, 1 )
color = Color(0.839216, 0.658824, 0.32549, 1)
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-11, 361.5) position = Vector2( -18, 373.5 )
shape = SubResource("RectangleShape2D_nytv7") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 358) position = Vector2( 1299, 376 )
shape = SubResource("RectangleShape2D_nytv7") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(641.5, -9) position = Vector2( 641, -21 )
shape = SubResource("RectangleShape2D_wkumn") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(644, 731) position = Vector2( 640, 741 )
shape = SubResource("RectangleShape2D_wkumn") shape = SubResource( 2 )
[node name="StaticBody2D5" type="StaticBody2D" parent="."] [node name="StaticBody2D5" type="StaticBody2D" parent="."]
position = Vector2(635, 214) position = Vector2( 635, 214 )
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D5"] [node name="Sprite" type="Sprite" parent="StaticBody2D5"]
texture = ExtResource("2_qaay0") texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D5"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D5"]
position = Vector2(1, -4.5) position = Vector2( 1, 0.5 )
shape = SubResource("RectangleShape2D_dw13o") shape = SubResource( 3 )
[node name="StaticBody2D6" type="StaticBody2D" parent="."] [node name="StaticBody2D6" type="StaticBody2D" parent="."]
position = Vector2(384, 186) position = Vector2( 384, 186 )
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D6"] [node name="Sprite" type="Sprite" parent="StaticBody2D6"]
texture = ExtResource("3_4ekhw") texture = ExtResource( 4 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D6"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D6"]
shape = SubResource("RectangleShape2D_6hhd2") position = Vector2( 0.5, 0.5 )
shape = SubResource( 4 )
[node name="Railwaygirl" type="CharacterBody2D" parent="."] [node name="Railwaygirl" type="KinematicBody2D" parent="."]
position = Vector2(473, 133) position = Vector2( 473, 133 )
[node name="Sprite2D" type="Sprite2D" parent="Railwaygirl"] [node name="Sprite" type="Sprite" parent="Railwaygirl"]
texture = ExtResource("3_4r2wm") texture = ExtResource( 1 )
hframes = 3 hframes = 4
vframes = 4 vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"]
shape = SubResource("RectangleShape2D_hyd1a") shape = SubResource( 5 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"] [node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"]
libraries = { anims/RESET = SubResource( 6 )
"": SubResource("AnimationLibrary_mh65y") anims/eidle = SubResource( 7 )
} anims/ewalk = SubResource( 8 )
anims/nidle = SubResource( 9 )
anims/nwalk = SubResource( 10 )
anims/sidle = SubResource( 11 )
anims/swalk = SubResource( 12 )
anims/widle = SubResource( 13 )
anims/wwalk = SubResource( 14 )
[node name="Player" parent="." instance=ExtResource("3_uvwc3")] [node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2(633, 590) position = Vector2( 635, 586 )

View file

@ -1,243 +1,399 @@
[gd_scene load_steps=18 format=3 uid="uid://bomoy5hvs8ldt"] [gd_scene load_steps=26 format=2]
[ext_resource type="Script" path="res://levels/Ceres/map.gd" id="1_fb2vd"] [ext_resource path="res://sprites/ceres/railway/sprite.png" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://c1jjhut8fuf1w" path="res://sprites/ceres/railway/sprite.png" id="3_cek1k"] [ext_resource path="res://sprites/ceres/pamela/sprite.png" type="Texture" id=2]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="3_q2e1y"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[ext_resource type="Texture2D" uid="uid://dt8ufdvgghipy" path="res://sprites/ceres/pamela/sprite.png" id="4_1nkxu"] [ext_resource path="res://levels/Ceres/map.gd" type="Script" id=4]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nytv7"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 1385.25) extents = Vector2( 18.5, 721 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wkumn"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(2248, 20) extents = Vector2( 1167.5, 20.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_tmcf2"] [sub_resource type="RectangleShape2D" id=3]
size = Vector2(86, 256) extents = Vector2( 45, 128 )
[sub_resource type="Animation" id="Animation_i5rhc"] [sub_resource type="Animation" id=4]
length = 0.001 length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [0] "values": [ 8 ]
} }
[sub_resource type="Animation" id="Animation_8my4d"] [sub_resource type="Animation" id=5]
resource_name = "eidle" resource_name = "eidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [6] "values": [ 8 ]
} }
[sub_resource type="Animation" id="Animation_op07l"] [sub_resource type="Animation" id=6]
resource_name = "ewalk" resource_name = "ewalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
step = 0.033
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.099, 0.198 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [7, 6, 8] "values": [ 9, 8, 10 ]
} }
[sub_resource type="Animation" id="Animation_cajcr"] [sub_resource type="Animation" id=7]
resource_name = "nidle" resource_name = "nidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0.2), "times": PoolRealArray( 0.1 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [3] "values": [ 4 ]
} }
[sub_resource type="Animation" id="Animation_7lhgw"] [sub_resource type="Animation" id=8]
resource_name = "nwalk" resource_name = "nwalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [4, 3, 5] "values": [ 5, 4, 6 ]
} }
[sub_resource type="Animation" id="Animation_w3ius"] [sub_resource type="Animation" id=9]
resource_name = "sidle" resource_name = "sidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0.5 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [0] "values": [ 0 ]
} }
[sub_resource type="Animation" id="Animation_u56r5"] [sub_resource type="Animation" id=10]
resource_name = "swalk" resource_name = "swalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [1, 0, 2] "values": [ 1, 0, 2 ]
} }
[sub_resource type="Animation" id="Animation_isodq"] [sub_resource type="Animation" id=11]
resource_name = "widle" resource_name = "widle"
length = 0.3
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0.2), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [9] "values": [ 12 ]
} }
[sub_resource type="Animation" id="Animation_letwb"] [sub_resource type="Animation" id=12]
resource_name = "wwalk" resource_name = "wwalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [10, 9, 11] "values": [ 13, 12, 14 ]
} }
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mh65y"] [sub_resource type="Animation" id=13]
_data = { length = 0.001
"RESET": SubResource("Animation_i5rhc"), tracks/0/type = "value"
"eidle": SubResource("Animation_8my4d"), tracks/0/path = NodePath("Sprite:frame")
"ewalk": SubResource("Animation_op07l"), tracks/0/interp = 1
"nidle": SubResource("Animation_cajcr"), tracks/0/loop_wrap = true
"nwalk": SubResource("Animation_7lhgw"), tracks/0/imported = false
"sidle": SubResource("Animation_w3ius"), tracks/0/enabled = true
"swalk": SubResource("Animation_u56r5"), tracks/0/keys = {
"widle": SubResource("Animation_isodq"), "times": PoolRealArray( 0 ),
"wwalk": SubResource("Animation_letwb") "transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 8 ]
}
[sub_resource type="Animation" id=14]
resource_name = "eidle"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 8 ]
}
[sub_resource type="Animation" id=15]
resource_name = "ewalk"
length = 0.3
loop = true
step = 0.033
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.099, 0.198 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 9, 8, 10 ]
}
[sub_resource type="Animation" id=16]
resource_name = "nidle"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.1 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 4 ]
}
[sub_resource type="Animation" id=17]
resource_name = "nwalk"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 5, 4, 6 ]
}
[sub_resource type="Animation" id=18]
resource_name = "sidle"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.5 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
[sub_resource type="Animation" id=19]
resource_name = "swalk"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 1, 0, 2 ]
}
[sub_resource type="Animation" id=20]
resource_name = "widle"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 12 ]
}
[sub_resource type="Animation" id=21]
resource_name = "wwalk"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 13, 12, 14 ]
} }
[node name="Map" type="Node2D"] [node name="Map" type="Node2D"]
script = ExtResource("1_fb2vd") script = ExtResource( 4 )
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
offset_left = -939.0 margin_left = -939.0
offset_top = -613.0 margin_top = -613.0
offset_right = 1282.0 margin_right = 1282.0
offset_bottom = 715.0 margin_bottom = 715.0
color = Color(0.209938, 0.552296, 0.377152, 1) color = Color( 0.211765, 0.552941, 0.376471, 1 )
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-958, 54.625) position = Vector2( -958, 58 )
shape = SubResource("RectangleShape2D_nytv7") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 49.25) position = Vector2( 1299, 77.75 )
shape = SubResource("RectangleShape2D_nytv7") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(176, -629) position = Vector2( 186.5, -634 )
shape = SubResource("RectangleShape2D_wkumn") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(189.125, 731) position = Vector2( 159, 736 )
shape = SubResource("RectangleShape2D_wkumn") shape = SubResource( 2 )
[node name="Railwaygirl" type="Area2D" parent="."] [node name="Railwaygirl" type="Area2D" parent="."]
position = Vector2(615, -444) position = Vector2( 615, -444 )
[node name="Sprite2D" type="Sprite2D" parent="Railwaygirl"] [node name="Sprite" type="Sprite" parent="Railwaygirl"]
texture = ExtResource("3_cek1k") texture = ExtResource( 1 )
hframes = 3 hframes = 4
vframes = 4 vframes = 4
frame = 8
[node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"]
shape = SubResource("RectangleShape2D_tmcf2") shape = SubResource( 3 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"] [node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"]
libraries = { anims/RESET = SubResource( 4 )
"": SubResource("AnimationLibrary_mh65y") anims/eidle = SubResource( 5 )
} anims/ewalk = SubResource( 6 )
anims/nidle = SubResource( 7 )
anims/nwalk = SubResource( 8 )
anims/sidle = SubResource( 9 )
anims/swalk = SubResource( 10 )
anims/widle = SubResource( 11 )
anims/wwalk = SubResource( 12 )
[node name="Pamela" type="Area2D" parent="."] [node name="Pamela" type="Area2D" parent="."]
position = Vector2(-651, 133) position = Vector2( -651, 133 )
[node name="Sprite2D" type="Sprite2D" parent="Pamela"] [node name="Sprite" type="Sprite" parent="Pamela"]
texture = ExtResource("4_1nkxu") texture = ExtResource( 2 )
hframes = 3 hframes = 4
vframes = 4 vframes = 4
frame = 8
[node name="CollisionShape2D" type="CollisionShape2D" parent="Pamela"] [node name="CollisionShape2D" type="CollisionShape2D" parent="Pamela"]
shape = SubResource("RectangleShape2D_tmcf2") shape = SubResource( 3 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Pamela"] [node name="AnimationPlayer" type="AnimationPlayer" parent="Pamela"]
libraries = { anims/RESET = SubResource( 13 )
"": SubResource("AnimationLibrary_mh65y") anims/eidle = SubResource( 14 )
} anims/ewalk = SubResource( 15 )
anims/nidle = SubResource( 16 )
anims/nwalk = SubResource( 17 )
anims/sidle = SubResource( 18 )
anims/swalk = SubResource( 19 )
anims/widle = SubResource( 20 )
anims/wwalk = SubResource( 21 )
[node name="Player" parent="." instance=ExtResource("3_q2e1y")] [node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2(633, 590) position = Vector2( 635, 586 )
[connection signal="body_entered" from="Railwaygirl" to="." method="_on_railwaygirl_body_entered"] [connection signal="body_entered" from="Railwaygirl" to="." method="_on_railwaygirl_body_entered"]
[connection signal="body_exited" from="Railwaygirl" to="." method="_on_railwaygirl_body_exited"] [connection signal="body_exited" from="Railwaygirl" to="." method="_on_railwaygirl_body_exited"]

View file

@ -1,5 +1,5 @@
extends Node2D extends Node2D
var talk = load("res://levels/ui/talk.tscn").instantiate() var talk = load("res://levels/ui/talk.tscn").instance()
var boss var boss
var player var player
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
@ -9,7 +9,7 @@ func _ready():
boss.add_to_group("boss") boss.add_to_group("boss")
Global.cdialog = [[tr("DIALOG_TROUBLEMAKER_0"), true, 0, 0], [tr("DIALOG_TROUBLEMAKER_1"), true, 7, 0], [tr("DIALOG_TROUBLEMAKER_2"), true, 0, 0]] Global.cdialog = [[tr("DIALOG_TROUBLEMAKER_0"), true, 0, 0], [tr("DIALOG_TROUBLEMAKER_1"), true, 7, 0], [tr("DIALOG_TROUBLEMAKER_2"), true, 0, 0]]
Global.live = 0 Global.live = 0
get_tree().root.add_child.call(talk) call_deferred("_talk")
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
@ -34,8 +34,8 @@ func _winner():
#Global.ccutscene = 6 #Global.ccutscene = 6
Global.ccutscene = null Global.ccutscene = null
#talk.queue_free() #talk.queue_free()
talk = load("res://levels/ui/talk.tscn").instantiate() talk = load("res://levels/ui/talk.tscn").instance()
get_tree().root.add_child.call(talk) call_deferred("_talk")
func _statrebase(): func _statrebase():
if Global.debug: if Global.debug:
@ -48,3 +48,6 @@ func _statrebase():
if Global.party[i][0] != null: if Global.party[i][0] != null:
for j in 7: for j in 7:
Global.mstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]] Global.mstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]]
func _talk():
get_tree().root.add_child(talk)

View file

@ -1,66 +1,49 @@
[gd_scene load_steps=7 format=3 uid="uid://b06kxtu82485n"] [gd_scene load_steps=6 format=2]
[ext_resource type="Script" path="res://levels/Ceres/troublemakers.gd" id="1_8o6q0"] [ext_resource path="res://levels/Ceres/troublemakers.gd" type="Script" id=1]
[ext_resource type="Texture2D" uid="uid://dursxelwwxe8u" path="res://sprites/common/placeholder/player.png" id="2_sgxbf"] [ext_resource path="res://sprites/ceres/pamela/pamela.tscn" type="PackedScene" id=2]
[ext_resource type="PackedScene" uid="uid://dya2jipk8eq2s" path="res://sprites/ceres/pamela/pamela.tscn" id="3_8xsbu"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="4_nfhf4"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1jr1w"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 761) extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_iptg6"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(1283, 20) extents = Vector2( 676, 20.5 )
[node name="Troublemakers" type="Node2D"] [node name="Troublemakers" type="Node2D"]
script = ExtResource("1_8o6q0") script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
custom_minimum_size = Vector2(1280, 720) margin_right = 1280.0
offset_right = 40.0 margin_bottom = 720.0
offset_bottom = 40.0 color = Color( 0, 0.619608, 0.270588, 1 )
color = Color(0, 0.619608, 0.270588, 1)
[node name="TextureRect" type="TextureRect" parent="."]
offset_left = 583.0
offset_top = 4.0
offset_right = 711.0
offset_bottom = 260.0
texture = ExtResource("2_sgxbf")
[node name="Label" type="Label" parent="."]
offset_left = 327.0
offset_top = 354.0
offset_right = 957.0
offset_bottom = 409.0
theme_override_font_sizes/font_size = 40
text = "Boss spawns at EBU pattern area"
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-11, 361.5) position = Vector2( -18, 373.5 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 358) position = Vector2( 1299, 376 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(641.5, -9) position = Vector2( 641, -21 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(644, 731) position = Vector2( 640, 741 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="Pamela" parent="." instance=ExtResource("3_8xsbu")] [node name="Pamela" parent="." instance=ExtResource( 2 )]
position = Vector2(643, 129) position = Vector2( 644, 133 )
[node name="Player" parent="." instance=ExtResource("4_nfhf4")] [node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2(652, 590) position = Vector2( 635, 586 )

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://cqevagcsx77jk"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://brvfc3s2cj76f" path="res://backgounds/Midori Deep Forest.jpg" id="1_5c5di"] [ext_resource path="res://backgounds/Midori Deep Forest.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_a6w8j"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Forest" type="Node2D"] [node name="Forest" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_5c5di") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 58.0
offset_top = 606.0 margin_top = 581.0
offset_right = 1224.0 margin_right = 1198.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_2_0" text = "CUTSCENE_2_0"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_a6w8j")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://bchg066ikmnxc"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://dntabv68wlisu" path="res://backgounds/Trashcan girl in forest.jpg" id="1_kkvvb"] [ext_resource path="res://backgounds/Trashcan girl in forest.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_1o4m2"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Lordlytrashcan" type="Node2D"] [node name="Lordlytrashcan" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_kkvvb") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 58.0
offset_top = 606.0 margin_top = 581.0
offset_right = 1224.0 margin_right = 1198.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_2_1" text = "CUTSCENE_2_1"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_1o4m2")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,24 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://c0f8yoj6q7l6w"] [gd_scene load_steps=5 format=2]
[ext_resource type="Script" path="res://levels/Cutscenes/Honker Railway/railway.gd" id="1_0hhdb"] [ext_resource path="res://backgounds/Honker Railway in forest.jpg" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://5w6pjyubryq3" path="res://backgounds/Honker Railway in forest.jpg" id="1_10hv6"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_4m46s"] [ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[ext_resource path="res://levels/Cutscenes/Honker Railway/railway.gd" type="Script" id=4]
[node name="Railway" type="Node2D"] [node name="Railway" type="Node2D"]
script = ExtResource("1_0hhdb") script = ExtResource( 4 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_10hv6") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 58.0
offset_top = 606.0 margin_top = 581.0
offset_right = 1224.0 margin_right = 1198.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_2_2" text = "CUTSCENE_2_2"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_4m46s")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://sjmpoah3xpkv"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://bvl47pildpugx" path="res://backgounds/Kaizo Campus.jpg" id="1_md8cp"] [ext_resource path="res://backgounds/Kaizo Campus.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_jjk5t"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Buildings" type="Node2D"] [node name="Buildings" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_md8cp") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_3_0" text = "CUTSCENE_3_0"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_jjk5t")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,25 +1,26 @@
[gd_scene load_steps=4 format=3 uid="uid://bgndmlvrvfetr"] [gd_scene load_steps=5 format=2]
[ext_resource type="Script" path="res://levels/Cutscenes/Troublemaker/kungfu.gd" id="1_dab6h"] [ext_resource path="res://backgounds/Pamela Hashimoto fury.jpg" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://rurrmoxngtek" path="res://backgounds/Pamela Hashimoto fury.jpg" id="1_rcce4"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_4y4yi"] [ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[ext_resource path="res://levels/Cutscenes/Troublemaker/kungfu.gd" type="Script" id=4]
[node name="Kungfu" type="Node2D"] [node name="Kungfu" type="Node2D"]
script = ExtResource("1_dab6h") script = ExtResource( 4 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_rcce4") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_colors/font_color = Color(0, 0, 0, 1) custom_colors/font_color = Color( 0, 0, 0, 1 )
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_3_2" text = "CUTSCENE_3_2"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_4y4yi")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://hn7pvoe3ygux"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://duaxggciofmts" path="res://backgounds/Pamela Hashimoto clasista.jpg" id="1_e1eqv"] [ext_resource path="res://backgounds/Pamela Hashimoto clasista.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_kv77b"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Pamela" type="Node2D"] [node name="Pamela" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_e1eqv") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_3_1" text = "CUTSCENE_3_1"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_kv77b")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://bas0dcw1pwaxa"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://coc14j3ju0w16" path="res://backgounds/kaizoclassroom.jpg" id="1_lebbt"] [ext_resource path="res://backgounds/kaizoclassroom.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_qhxdm"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=3]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=4]
[node name="Aboutkaizo" type="Node2D"] [node name="Aboutkaizo" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 40.0 margin_right = 40.0
offset_bottom = 40.0 margin_bottom = 40.0
texture = ExtResource("1_lebbt") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 58.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1198.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 4 )
text = "CUTSCENE_0_0" text = "CUTSCENE_0_0"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_qhxdm")] [node name="Bottomhud" parent="." instance=ExtResource( 3 )]

View file

@ -1,23 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://c1t2vu12bpoki"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://bybvtya0upglf" path="res://backgounds/Midori Asgardius boom boom torofi.jpg" id="1_o7sdm"] [ext_resource path="res://backgounds/Midori Asgardius boom boom torofi.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_ww2qm"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Chasing" type="Node2D"] [node name="Boomboomtorofi" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_o7sdm") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 45.0 margin_left = 63.0
offset_top = 59.0 margin_top = 109.0
offset_right = 1217.0 margin_right = 1203.0
offset_bottom = 167.0 margin_bottom = 214.0
theme_override_colors/font_color = Color(0, 0, 0, 1) custom_fonts/font = ExtResource( 3 )
theme_override_font_sizes/font_size = 40
text = "CUTSCENE_0_5" text = "CUTSCENE_0_5"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_ww2qm")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://dmmmmfcc0lp5"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://chr01sorihbb2" path="res://backgounds/Midori No Akuma.jpg" id="1_v5r6a"] [ext_resource path="res://backgounds/Midori No Akuma.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_fog7h"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Fearlessmidori" type="Node2D"] [node name="Fearlessmidori" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_v5r6a") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_0_2" text = "CUTSCENE_0_2"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_fog7h")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,23 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://v4ge140gc645"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://dnmdgwuabqg58" path="res://backgounds/Midori Asgardius Sleeping on Grass.jpg" id="1_uqps8"] [ext_resource path="res://backgounds/Midori Asgardius Sleeping on Grass.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_j60n0"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Midorihello" type="Node2D"] [node name="idorihello" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_uqps8") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_colors/font_color = Color(0, 0, 0, 1) custom_colors/font_color = Color( 0, 0, 0, 1 )
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_0_1" text = "CUTSCENE_0_1"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_j60n0")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,23 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://bi8dsxjedvmxw"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://d1rcw7akvyooo" path="res://backgounds/Midori Asgardius cheststand.jpg" id="1_pt70s"] [ext_resource path="res://backgounds/Midori Asgardius cheststand.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_0wcve"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Midorireading" type="Node2D"] [node name="idorireading" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_pt70s") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_colors/font_color = Color(0, 0, 0, 1) custom_colors/font_color = Color( 0, 0, 0, 1 )
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_0_4" text = "CUTSCENE_0_4"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_0wcve")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://dbho2m55yi3ty"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://cyl5fve543dvc" path="res://backgounds/Midori Asgardius birth waterfall.jpg" id="1_n3nwn"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_r0grr"] [ext_resource path="res://backgounds/Midori Asgardius birth waterfall.jpg" type="Texture" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Midoriwaterfall" type="Node2D"] [node name="idoriwaterfall" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_n3nwn") texture = ExtResource( 2 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 659.0 margin_top = 638.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_0_3" text = "CUTSCENE_0_3"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_r0grr")] [node name="Bottomhud" parent="." instance=ExtResource( 1 )]

View file

@ -1,24 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://c0087irckk6ls"] [gd_scene load_steps=5 format=2]
[ext_resource type="Texture2D" uid="uid://cvk01b0l15k3u" path="res://backgounds/Midori walking though forest.jpg" id="1_3edyj"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="1_7k1pi"] [ext_resource path="res://backgounds/Midori walking though forest.jpg" type="Texture" id=2]
[ext_resource type="Script" path="res://levels/Cutscenes/unfunaversary/firstclass.gd" id="1_atuct"] [ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[ext_resource path="res://levels/Cutscenes/unfunaversary/firstclass.gd" type="Script" id=4]
[node name="Firstclass" type="Node2D"] [node name="Firstclass" type="Node2D"]
script = ExtResource("1_atuct") script = ExtResource( 4 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_3edyj") texture = ExtResource( 2 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_1_3" text = "CUTSCENE_1_3"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("1_7k1pi")] [node name="Bottomhud" parent="." instance=ExtResource( 1 )]

View file

@ -1,23 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://bufn0t2n24ubb"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://k8ahmljsdidy" path="res://backgounds/Midori Punishment.jpg" id="1_gtd13"] [ext_resource path="res://backgounds/Midori Punishment.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_iimhu"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=3]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=4]
[node name="Punishment" type="Node2D"] [node name="Punishment" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_gtd13") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_colors/font_color = Color(0, 0, 0, 1) custom_fonts/font = ExtResource( 4 )
theme_override_font_sizes/font_size = 40
text = "CUTSCENE_1_0" text = "CUTSCENE_1_0"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_iimhu")] [node name="Bottomhud" parent="." instance=ExtResource( 3 )]

View file

@ -1,22 +1,23 @@
[gd_scene load_steps=3 format=3 uid="uid://b7l73y65vvix2"] [gd_scene load_steps=4 format=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="1_3j65n"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=1]
[ext_resource type="Texture2D" uid="uid://bxa27c7gnivwx" path="res://backgounds/night-sky-at-ceres.jpg" id="1_p8vly"] [ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="R3" type="Node2D"] [node name="R3" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_p8vly") texture = ExtResource( 2 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_1_2" text = "CUTSCENE_1_2"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("1_3j65n")] [node name="Bottomhud" parent="." instance=ExtResource( 1 )]

View file

@ -1,23 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://ba3q8nwe5yku3"] [gd_scene load_steps=4 format=2]
[ext_resource type="Texture2D" uid="uid://chbs1cqrcbcrm" path="res://backgounds/Kimberly Arch crying.jpg" id="1_k6hw6"] [ext_resource path="res://backgounds/Kimberly Arch crying.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="2_n1fd3"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=3]
[node name="Sadness" type="Node2D"] [node name="Sadness" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
offset_right = 1278.0 margin_right = 40.0
offset_bottom = 600.0 margin_bottom = 40.0
texture = ExtResource("1_k6hw6") texture = ExtResource( 1 )
[node name="Text" type="Label" parent="."] [node name="Label" type="Label" parent="."]
offset_left = 52.0 margin_left = 16.0
offset_top = 606.0 margin_top = 598.0
offset_right = 1224.0 margin_right = 1263.0
offset_bottom = 714.0 margin_bottom = 703.0
theme_override_colors/font_color = Color(0, 0, 0, 1) custom_colors/font_color = Color( 0, 0, 0, 1 )
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 3 )
text = "CUTSCENE_1_1" text = "CUTSCENE_1_1"
horizontal_alignment = 1 align = 1
[node name="Bottomhud" parent="." instance=ExtResource("2_n1fd3")] [node name="Bottomhud" parent="." instance=ExtResource( 2 )]

View file

@ -1,5 +1,5 @@
extends Node2D extends Node2D
var talk = load("res://levels/ui/talk.tscn").instantiate() var talk = load("res://levels/ui/talk.tscn").instance()
var boss var boss
var player var player
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
@ -9,7 +9,7 @@ func _ready():
boss.add_to_group("boss") boss.add_to_group("boss")
Global.cdialog = [[tr("DIALOG_DANMAKUTEST_0"), true, 0, 0], [tr("DIALOG_DANMAKUTEST_1"), false, 9], [tr("DIALOG_DANMAKUTEST_2"), true, 0, 0]] Global.cdialog = [[tr("DIALOG_DANMAKUTEST_0"), true, 0, 0], [tr("DIALOG_DANMAKUTEST_1"), false, 9], [tr("DIALOG_DANMAKUTEST_2"), true, 0, 0]]
Global.live = 0 Global.live = 0
get_tree().root.add_child.call(talk) call_deferred("_talk")
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
@ -32,5 +32,8 @@ func _winner():
Global.cdialog = [[tr("DIALOG_DANMAKUTEST_3"), true, 0, 0], [tr("DIALOG_DANMAKUTEST_4"), false, 9], [tr("DIALOG_DANMAKUTEST_5"), true, 0, 0]] Global.cdialog = [[tr("DIALOG_DANMAKUTEST_3"), true, 0, 0], [tr("DIALOG_DANMAKUTEST_4"), false, 9], [tr("DIALOG_DANMAKUTEST_5"), true, 0, 0]]
Global.live = 3 Global.live = 3
#talk.queue_free() #talk.queue_free()
talk = load("res://levels/ui/talk.tscn").instantiate() talk = load("res://levels/ui/talk.tscn").instance()
get_tree().root.add_child.call(talk) call_deferred("_talk")
func _talk():
get_tree().root.add_child(talk)

View file

@ -1,60 +1,50 @@
[gd_scene load_steps=7 format=3 uid="uid://c8hmum2w6aygy"] [gd_scene load_steps=7 format=2]
[ext_resource type="Script" path="res://levels/Testrooms/bullethell.gd" id="1_cjbjq"] [ext_resource path="res://backgounds/wip.jpg" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://dursxelwwxe8u" path="res://sprites/common/placeholder/player.png" id="1_g5hs8"] [ext_resource path="res://levels/Testrooms/bullethell.gd" type="Script" id=2]
[ext_resource type="PackedScene" uid="uid://dpudp1d2wpryc" path="res://sprites/common/natasha/natasha.tscn" id="2_5cnwp"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="3_slxde"] [ext_resource path="res://sprites/common/natasha/natasha.tscn" type="PackedScene" id=5]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1jr1w"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 761) extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_iptg6"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(1283, 20) extents = Vector2( 676, 20.5 )
[node name="Bullethell" type="Node2D"] [node name="Bullethell" type="Node2D"]
script = ExtResource("1_cjbjq") script = ExtResource( 2 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="WIP" type="TextureRect" parent="."]
offset_left = 583.0 margin_right = 40.0
offset_top = 4.0 margin_bottom = 40.0
offset_right = 711.0 texture = ExtResource( 1 )
offset_bottom = 260.0
texture = ExtResource("1_g5hs8")
[node name="Label" type="Label" parent="."]
offset_left = 327.0
offset_top = 354.0
offset_right = 957.0
offset_bottom = 409.0
theme_override_font_sizes/font_size = 40
text = "Boss spawns at EBU pattern area"
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-11, 361.5) position = Vector2( -18, 373.5 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 358) position = Vector2( 1299, 376 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(641.5, -9) position = Vector2( 641, -21 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(644, 731) position = Vector2( 640, 741 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="Natasha" parent="." instance=ExtResource("2_5cnwp")] [node name="Natasha" parent="." instance=ExtResource( 5 )]
position = Vector2(644, 133) position = Vector2( 644, 133 )
[node name="Player" parent="." instance=ExtResource("3_slxde")] [node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2(652, 590) position = Vector2( 635, 586 )

View file

@ -1,10 +1,11 @@
extends Node2D extends Node2D
var talk = load("res://levels/ui/talk.tscn").instantiate() var talk = load("res://levels/ui/talk.tscn").instance()
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready(): func _ready():
Global.cdialog = [[tr("DIALOG_TEST_0"), true, 0, 0], [tr("DIALOG_TEST_1"), false, 9], [tr("DIALOG_TEST_2"), false, 0]] Global.cdialog = [[tr("DIALOG_TEST_0"), true, 0, 0], [tr("DIALOG_TEST_1"), false, 9], [tr("DIALOG_TEST_2"), false, 0]]
Global.live = 0 Global.live = 0
get_tree().root.add_child.call(talk) call_deferred("_talk")
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
@ -15,3 +16,6 @@ func _input(event):
if Global.cdialog.size() != 0 && Global.live == 1: if Global.cdialog.size() != 0 && Global.live == 1:
get_tree().root.remove_child(talk) get_tree().root.remove_child(talk)
Global.cdialog = [] Global.cdialog = []
func _talk():
get_tree().root.add_child(talk)

View file

@ -1,46 +1,46 @@
[gd_scene load_steps=6 format=3 uid="uid://cs2dkktcbaptx"] [gd_scene load_steps=6 format=2]
[ext_resource type="Script" path="res://levels/Testrooms/dialogtest.gd" id="1_hf3bg"] [ext_resource path="res://backgounds/wip.jpg" type="Texture" id=1]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="2_lfw71"] [ext_resource path="res://levels/Testrooms/dialogtest.gd" type="Script" id=2]
[ext_resource type="Texture2D" uid="uid://kxvipok4tnuw" path="res://backgounds/wip.jpg" id="2_xoavp"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nytv7"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 761) extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wkumn"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(1283, 20) extents = Vector2( 676, 20.5 )
[node name="Dialogtest" type="Node2D"] [node name="Dialogtest" type="Node2D"]
script = ExtResource("1_hf3bg") script = ExtResource( 2 )
[node name="WIP" type="TextureRect" parent="."] [node name="WIP" type="TextureRect" parent="."]
offset_right = 40.0 margin_right = 40.0
offset_bottom = 40.0 margin_bottom = 40.0
texture = ExtResource("2_xoavp") texture = ExtResource( 1 )
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-11, 361.5) position = Vector2( -18, 373.5 )
shape = SubResource("RectangleShape2D_nytv7") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 358) position = Vector2( 1299, 376 )
shape = SubResource("RectangleShape2D_nytv7") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(641.5, -9) position = Vector2( 641, -21 )
shape = SubResource("RectangleShape2D_wkumn") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(644, 731) position = Vector2( 640, 741 )
shape = SubResource("RectangleShape2D_wkumn") shape = SubResource( 2 )
[node name="Player" parent="." instance=ExtResource("2_lfw71")] [node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2(597, 591) position = Vector2( 635, 586 )

View file

@ -1,60 +1,50 @@
[gd_scene load_steps=7 format=3 uid="uid://cma7ddp0r4rm"] [gd_scene load_steps=7 format=2]
[ext_resource type="Script" path="res://levels/Testrooms/lilytest.gd" id="1_b1yf3"] [ext_resource path="res://backgounds/wip.jpg" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://dursxelwwxe8u" path="res://sprites/common/placeholder/player.png" id="1_bch3a"] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=2]
[ext_resource type="PackedScene" uid="uid://ba1erruilgjxo" path="res://sprites/common/midori/lily.tscn" id="2_v1fc7"] [ext_resource path="res://sprites/common/midori/lily.tscn" type="PackedScene" id=3]
[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="3_h02gt"] [ext_resource path="res://levels/Testrooms/lilytest.gd" type="Script" id=4]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1jr1w"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(20, 761) extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id="RectangleShape2D_iptg6"] [sub_resource type="RectangleShape2D" id=2]
size = Vector2(1283, 20) extents = Vector2( 676, 20.5 )
[node name="Lilytest" type="Node2D"] [node name="Dialogtest" type="Node2D"]
script = ExtResource("1_b1yf3") script = ExtResource( 4 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="WIP" type="TextureRect" parent="."]
offset_left = 583.0 margin_right = 40.0
offset_top = 4.0 margin_bottom = 40.0
offset_right = 711.0 texture = ExtResource( 1 )
offset_bottom = 260.0
texture = ExtResource("1_bch3a")
[node name="Label" type="Label" parent="."]
offset_left = 327.0
offset_top = 354.0
offset_right = 957.0
offset_bottom = 409.0
theme_override_font_sizes/font_size = 40
text = "Boss spawns at EBU pattern area"
[node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-11, 361.5) position = Vector2( -18, 373.5 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2(1293, 358) position = Vector2( 1299, 376 )
shape = SubResource("RectangleShape2D_1jr1w") shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2(641.5, -9) position = Vector2( 641, -21 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2(644, 731) position = Vector2( 640, 741 )
shape = SubResource("RectangleShape2D_iptg6") shape = SubResource( 2 )
[node name="Lily" parent="." instance=ExtResource("2_v1fc7")] [node name="Lily" parent="." instance=ExtResource( 3 )]
position = Vector2(644, 133) position = Vector2( 644, 133 )
[node name="Player" parent="." instance=ExtResource("3_h02gt")] [node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2(637, 595) position = Vector2( 635, 586 )

View file

@ -6,7 +6,7 @@ var bgsound := AudioStreamPlayer.new()
var sfx1 := AudioStreamPlayer.new() var sfx1 := AudioStreamPlayer.new()
var musictrack var musictrack
var isboss var isboss
var bhud = load("res://levels/bottomhud.tscn").instantiate() var bhud = load("res://levels/bottomhud.tscn").instance()
var ishud = true var ishud = true
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
@ -14,11 +14,11 @@ func _ready():
Global.live = 1 Global.live = 1
add_child(bgsound) add_child(bgsound)
add_child(sfx1) add_child(sfx1)
level = load(Global.cutscenes[Global.ccutscene][0]).instantiate() level = load(Global.cutscenes[Global.ccutscene][0]).instance()
musictrack = Global.musictracks[Global.cutscenes[Global.ccutscene][2]] musictrack = Global.musictracks[Global.cutscenes[Global.ccutscene][2]]
music = load(musictrack) music = load(musictrack)
get_tree().root.add_child.call_deferred(level) call_deferred("_level")
get_tree().root.add_child.call_deferred(bhud) call_deferred("_bhud")
#get_tree().root.add_child.call_deferred(player) #get_tree().root.add_child.call_deferred(player)
bgsound.stream = music bgsound.stream = music
bgsound.mix_target = 1 bgsound.mix_target = 1
@ -47,16 +47,16 @@ func _ready():
#velocity = (Vector2.RIGHT.rotated(rotation) * -100 * Global.xm * delta)-Vector2.UP.rotated(rotation) * -100 * Global.ym * delta #velocity = (Vector2.RIGHT.rotated(rotation) * -100 * Global.xm * delta)-Vector2.UP.rotated(rotation) * -100 * Global.ym * delta
func _input(event): func _input(event):
if (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_BACK)) && Global.debug: if (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_SELECT)) && Global.debug:
Global.live = 0 Global.live = 0
Global.bossready = false Global.bossready = false
get_tree().root.remove_child(bhud) get_tree().root.remove_child(bhud)
#get_tree().root.remove_child(player) #get_tree().root.remove_child(player)
get_tree().root.remove_child(level) get_tree().root.remove_child(level)
if Global.debug: if Global.debug:
get_tree().change_scene_to_file("res://levels/ui/scene.tscn") get_tree().change_scene("res://levels/ui/scene.tscn")
else: else:
get_tree().change_scene_to_file("res://title.tscn") get_tree().change_scene("res://title.tscn")
if Input.is_action_just_pressed("ui_accept"): if Input.is_action_just_pressed("ui_accept"):
if Global.cutscenes[Global.ccutscene][3]: if Global.cutscenes[Global.ccutscene][3]:
var ccutscene = Global.ccutscene var ccutscene = Global.ccutscene
@ -65,20 +65,20 @@ func _input(event):
get_tree().root.remove_child(level) get_tree().root.remove_child(level)
bgsound.stop() bgsound.stop()
if Global.debug: if Global.debug:
get_tree().change_scene_to_file("res://levels/ui/scene.tscn") get_tree().change_scene("res://levels/ui/scene.tscn")
else: else:
get_tree().change_scene_to_file(Global.cutscenes[ccutscene][1]) get_tree().change_scene(Global.cutscenes[ccutscene][1])
else: else:
Global.ccutscene += 1 Global.ccutscene += 1
get_tree().root.remove_child(level) get_tree().root.remove_child(level)
level = load(Global.cutscenes[Global.ccutscene][0]).instantiate() level = load(Global.cutscenes[Global.ccutscene][0]).instance()
if musictrack != Global.musictracks[Global.cutscenes[Global.ccutscene][2]]: if musictrack != Global.musictracks[Global.cutscenes[Global.ccutscene][2]]:
bgsound.stop() bgsound.stop()
musictrack = Global.musictracks[Global.cutscenes[Global.ccutscene][2]] musictrack = Global.musictracks[Global.cutscenes[Global.ccutscene][2]]
music = load(musictrack) music = load(musictrack)
bgsound.stream = music bgsound.stream = music
bgsound.play(0) bgsound.play(0)
get_tree().root.add_child.call_deferred(level) call_deferred("_level")
#if (Global.live == 1 && (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_UP)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_UP))): #if (Global.live == 1 && (Input.is_key_pressed(KEY_V) && Input.is_key_pressed(KEY_UP)) ||(Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) && Input.is_joy_button_pressed(0,JOY_BUTTON_DPAD_UP))):
# if Global.debug: # if Global.debug:
# if Global.dparty[0][0] != null: # if Global.dparty[0][0] != null:
@ -112,3 +112,9 @@ func _input(event):
# sfx1.stream = load(Global.sfxtracks[1]) # sfx1.stream = load(Global.sfxtracks[1])
# sfx1.play(0) # sfx1.play(0)
# bgsound.play(0) # bgsound.play(0)
func _level():
get_tree().root.add_child(level)
func _bhud():
get_tree().root.add_child(bhud)

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://u41wdqnqka86"] [gd_scene load_steps=2 format=2]
[ext_resource type="Script" path="res://levels/ui/Cutscenes.gd" id="1_oqyxp"] [ext_resource path="res://levels/ui/Cutscenes.gd" type="Script" id=1]
[node name="Cutscenes" type="Node2D"] [node name="Cutscenes" type="Node2D"]
script = ExtResource("1_oqyxp") script = ExtResource( 1 )

View file

@ -11,15 +11,15 @@ func _process(delta):
func _level(): func _level():
# This is like autoloading the scene, only # This is like autoloading the scene, only
# it happens after already loading the main scene. # it happens after already loading the main scene.
get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn") get_tree().change_scene("res://backgounds/disclaimer.tscn")
#Global.live = 1 #Global.live = 1
#Global.gamelevel = randi() % 3 #Global.gamelevel = randi() % 3
#if Global.gamelevel == 0: #if Global.gamelevel == 0:
# get_tree().change_scene_to_file("res://backgounds/galaxy.tscn") # get_tree().change_scene("res://backgounds/galaxy.tscn")
#elif Global.gamelevel == 1: #elif Global.gamelevel == 1:
# get_tree().change_scene_to_file("res://backgounds/wormhole.tscn") # get_tree().change_scene("res://backgounds/wormhole.tscn")
#else: #else:
# get_tree().change_scene_to_file("res://backgounds/abstract.tscn") # get_tree().change_scene("res://backgounds/abstract.tscn")
#get_tree().root.add_child(title) #get_tree().root.add_child(title)
#get_tree().root.remove_child(boot) #get_tree().root.remove_child(boot)
#boot.queue_free() #boot.queue_free()
@ -45,28 +45,28 @@ func _input(event):
func _on_back_pressed(): func _on_back_pressed():
get_tree().change_scene_to_file("res://levels/ui/scene.tscn") get_tree().change_scene("res://levels/ui/scene.tscn")
func _on_l_20_pressed(): func _on_l_20_pressed():
Global.dplace = [1, 11, 19] Global.dplace = [1, 11, 19]
Global.live = 1 Global.live = 1
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")
func _on_lilytest_pressed() -> void: func _on_lilytest_pressed() -> void:
Global.dplace = [0, 0, 0] Global.dplace = [0, 0, 0]
Global.live = 1 Global.live = 1
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")
func _on_dialogtest_pressed() -> void: func _on_dialogtest_pressed() -> void:
Global.dplace = [1, 8, 11] Global.dplace = [1, 8, 11]
Global.live = 1 Global.live = 1
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")
func _on_bullethell_pressed() -> void: func _on_bullethell_pressed() -> void:
Global.dplace = [1, 1, 17] Global.dplace = [1, 1, 17]
Global.live = 1 Global.live = 1
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn") get_tree().change_scene("res://levels/ui/gameplay.tscn")

View file

@ -1,96 +1,99 @@
[gd_scene load_steps=6 format=3 uid="uid://bafdmqwba2oop"] [gd_scene load_steps=8 format=2]
[ext_resource type="Script" path="res://levels/ui/ceres.gd" id="1_tox8g"] [ext_resource path="res://levels/ui/ceres.gd" type="Script" id=1]
[ext_resource type="Texture2D" uid="uid://bxa27c7gnivwx" path="res://backgounds/night-sky-at-ceres.jpg" id="2_2li8v"] [ext_resource path="res://fonts/start.tres" type="DynamicFont" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_uojcp"] [ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=3]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=4]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6u0xs"] [sub_resource type="StyleBoxFlat" id=1]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2qrn"] [sub_resource type="StyleBoxFlat" id=4]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0, 0.8, 0, 1 )
[node name="Ceres" type="Control"] [node name="Ceres" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 script = ExtResource( 1 )
grow_vertical = 2
script = ExtResource("1_tox8g")
[node name="Night Sky" type="TextureRect" parent="."] [node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0 margin_right = 1280.0
offset_right = 1280.0 margin_bottom = 720.0
offset_bottom = 720.0 texture = ExtResource( 3 )
texture = ExtResource("2_2li8v")
[node name="Game name" type="Label" parent="."] [node name="Game name" type="Label" parent="."]
layout_mode = 0 margin_top = 3.0
offset_left = 35.0 margin_right = 1280.0
offset_top = 3.0 margin_bottom = 73.0
offset_right = 1235.0 custom_fonts/font = ExtResource( 2 )
offset_bottom = 73.0 text = "BUTTON_TESTROOMS"
theme_override_font_sizes/font_size = 40 align = 1
text = "BUTTON_CERES" valign = 1
horizontal_alignment = 1
[node name="Bottomhud" parent="." instance=ExtResource("3_uojcp")] [node name="Bottomhud" parent="." instance=ExtResource( 4 )]
layout_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1 margin_left = 111.0
anchors_preset = 7 margin_top = 173.0
anchor_left = 0.5 margin_right = 1128.0
anchor_top = 1.0 margin_bottom = 651.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -139.0
offset_top = -395.0
offset_right = 139.0
grow_horizontal = 2
grow_vertical = 0
[node name="L20" type="Button" parent="VBoxContainer"] [node name="L20" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_right = 1017.0
theme_override_font_sizes/font_size = 32 margin_bottom = 54.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "CERES_L20_DESC" text = "CERES_L20_DESC"
[node name="Lilytest" type="Button" parent="VBoxContainer"] [node name="Lilytest" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 58.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 112.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "MENU_MAP" text = "MENU_MAP"
[node name="Dialogtest" type="Button" parent="VBoxContainer"] [node name="Dialogtest" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 116.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 170.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "Honker Railway" text = "Honker Railway"
[node name="Bullethell" type="Button" parent="VBoxContainer"] [node name="Bullethell" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 174.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 228.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "TWIN_TROUBLEMAKERS" text = "TWIN_TROUBLEMAKERS"
[node name="Credits" type="Button" parent="VBoxContainer"] [node name="Credits" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 232.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 286.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 4 )
text = "BUTTON_PLACEHOLDER" text = "BUTTON_PLACEHOLDER"
[node name="WIP" type="Button" parent="VBoxContainer"] [node name="WIP" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 290.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 344.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 4 )
text = "BUTTON_PLACEHOLDER" text = "BUTTON_PLACEHOLDER"
[node name="Back" type="Button" parent="VBoxContainer"] [node name="Back" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 348.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn") margin_bottom = 402.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 3 )
text = "BUTTON_RETURN" text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/L20" to="." method="_on_l_20_pressed"] [connection signal="pressed" from="VBoxContainer/L20" to="." method="_on_l_20_pressed"]

View file

@ -11,15 +11,15 @@ func _process(delta):
func _level(): func _level():
# This is like autoloading the scene, only # This is like autoloading the scene, only
# it happens after already loading the main scene. # it happens after already loading the main scene.
get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn") get_tree().change_scene("res://backgounds/disclaimer.tscn")
#Global.live = 1 #Global.live = 1
#Global.gamelevel = randi() % 3 #Global.gamelevel = randi() % 3
#if Global.gamelevel == 0: #if Global.gamelevel == 0:
# get_tree().change_scene_to_file("res://backgounds/galaxy.tscn") # get_tree().change_scene("res://backgounds/galaxy.tscn")
#elif Global.gamelevel == 1: #elif Global.gamelevel == 1:
# get_tree().change_scene_to_file("res://backgounds/wormhole.tscn") # get_tree().change_scene("res://backgounds/wormhole.tscn")
#else: #else:
# get_tree().change_scene_to_file("res://backgounds/abstract.tscn") # get_tree().change_scene("res://backgounds/abstract.tscn")
#get_tree().root.add_child(title) #get_tree().root.add_child(title)
#get_tree().root.remove_child(boot) #get_tree().root.remove_child(boot)
#boot.queue_free() #boot.queue_free()
@ -45,37 +45,37 @@ func _input(event):
func _on_back_pressed(): func _on_back_pressed():
get_tree().change_scene_to_file("res://levels/ui/debug.tscn") get_tree().change_scene("res://levels/ui/debug.tscn")
func _on_credits_pressed(): func _on_credits_pressed():
#get_tree().change_scene_to_file("res://levels/ui/credits.tscn") #get_tree().change_scene("res://levels/ui/credits.tscn")
pass pass
func _on_wip_pressed(): func _on_wip_pressed():
#get_tree().change_scene_to_file("res://backgounds/wip.tscn") #get_tree().change_scene("res://backgounds/wip.tscn")
pass pass
func _on_results_pressed(): func _on_results_pressed():
#get_tree().change_scene_to_file("res://backgounds/result.tscn") #get_tree().change_scene("res://backgounds/result.tscn")
Global.ccutscene = 13 Global.ccutscene = 13
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn") get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
func _on_disclaimer_pressed(): func _on_disclaimer_pressed():
#Global.debug = false #Global.debug = false
Global.ccutscene = 0 Global.ccutscene = 0
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn") get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
func _on_testrooms_pressed(): func _on_testrooms_pressed():
#Global.debug = false #Global.debug = false
Global.ccutscene = 6 Global.ccutscene = 6
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn") get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
func _on_ceres_pressed(): func _on_ceres_pressed():
#get_tree().change_scene_to_file("res://levels/ui/ceres.tscn") #get_tree().change_scene("res://levels/ui/ceres.tscn")
Global.ccutscene = 10 Global.ccutscene = 10
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn") get_tree().change_scene("res://levels/ui/Cutscenes.tscn")

View file

@ -1,96 +1,104 @@
[gd_scene load_steps=6 format=3 uid="uid://bk7btffr6w0sw"] [gd_scene load_steps=7 format=2]
[ext_resource type="Script" path="res://levels/ui/cscene.gd" id="1_ka10y"] [ext_resource path="res://levels/ui/cscene.gd" type="Script" id=1]
[ext_resource type="Texture2D" uid="uid://bxa27c7gnivwx" path="res://backgounds/night-sky-at-ceres.jpg" id="2_745if"] [ext_resource path="res://fonts/start.tres" type="DynamicFont" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_rvvbf"] [ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=3]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=4]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6u0xs"] [sub_resource type="StyleBoxFlat" id=1]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2qrn"] [sub_resource type="StyleBoxFlat" id=3]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[node name="Cscene" type="Control"] [node name="Cscene" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 script = ExtResource( 1 )
grow_vertical = 2
script = ExtResource("1_ka10y")
[node name="Night Sky" type="TextureRect" parent="."] [node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0 margin_right = 1280.0
offset_right = 1280.0 margin_bottom = 720.0
offset_bottom = 720.0 texture = ExtResource( 3 )
texture = ExtResource("2_745if")
[node name="Game name" type="Label" parent="."] [node name="Game name" type="Label" parent="."]
layout_mode = 0 margin_top = 3.0
offset_left = 49.0 margin_right = 1280.0
offset_top = 3.0 margin_bottom = 73.0
offset_right = 1224.0 custom_fonts/font = ExtResource( 2 )
offset_bottom = 73.0
theme_override_font_sizes/font_size = 40
text = "BUTTON_CUTSCENES" text = "BUTTON_CUTSCENES"
horizontal_alignment = 1 align = 1
valign = 1
[node name="Bottomhud" parent="." instance=ExtResource("3_rvvbf")] [node name="Bottomhud" parent="." instance=ExtResource( 4 )]
layout_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1 margin_left = 111.0
anchors_preset = 7 margin_top = 173.0
anchor_left = 0.5 margin_right = 1128.0
anchor_top = 1.0 margin_bottom = 651.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -238.5
offset_top = -395.0
offset_right = 238.5
grow_horizontal = 2
grow_vertical = 0
[node name="Disclaimer" type="Button" parent="VBoxContainer"] [node name="Disclaimer" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_right = 1017.0
theme_override_font_sizes/font_size = 32 margin_bottom = 54.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "CUTSCENE_0_NAME" text = "CUTSCENE_0_NAME"
[node name="Testrooms" type="Button" parent="VBoxContainer"] [node name="Testrooms" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 58.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 112.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "CUTSCENE_1_NAME" text = "CUTSCENE_1_NAME"
[node name="Ceres" type="Button" parent="VBoxContainer"] [node name="Ceres" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 116.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 170.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "Honker Railway" text = "Honker Railway"
[node name="Results" type="Button" parent="VBoxContainer"] [node name="Results" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 174.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 228.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "TWIN_TROUBLEMAKERS" text = "TWIN_TROUBLEMAKERS"
[node name="Credits" type="Button" parent="VBoxContainer"] [node name="Credits" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 232.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 286.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "BUTTON_PLACEHOLDER" text = "BUTTON_PLACEHOLDER"
[node name="WIP" type="Button" parent="VBoxContainer"] [node name="WIP" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 290.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 344.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "BUTTON_PLACEHOLDER"
[node name="Cutscene" type="Button" parent="VBoxContainer"]
margin_top = 348.0
margin_right = 1017.0
margin_bottom = 402.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 1 )
text = "BUTTON_PLACEHOLDER" text = "BUTTON_PLACEHOLDER"
[node name="Back" type="Button" parent="VBoxContainer"] [node name="Back" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 406.0
theme_override_font_sizes/font_size = 32 margin_right = 1017.0
theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn") margin_bottom = 460.0
custom_fonts/font = ExtResource( 2 )
custom_styles/focus = SubResource( 3 )
text = "BUTTON_RETURN" text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/Disclaimer" to="." method="_on_disclaimer_pressed"] [connection signal="pressed" from="VBoxContainer/Disclaimer" to="." method="_on_disclaimer_pressed"]
@ -99,4 +107,5 @@ text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/Results" to="." method="_on_results_pressed"] [connection signal="pressed" from="VBoxContainer/Results" to="." method="_on_results_pressed"]
[connection signal="pressed" from="VBoxContainer/Credits" to="." method="_on_credits_pressed"] [connection signal="pressed" from="VBoxContainer/Credits" to="." method="_on_credits_pressed"]
[connection signal="pressed" from="VBoxContainer/WIP" to="." method="_on_wip_pressed"] [connection signal="pressed" from="VBoxContainer/WIP" to="." method="_on_wip_pressed"]
[connection signal="pressed" from="VBoxContainer/Cutscene" to="." method="_on_cutscene_pressed"]
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"] [connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]

View file

@ -1,27 +1,23 @@
[gd_scene format=3 uid="uid://cbeya2ihapatq"] [gd_scene load_steps=2 format=2]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=1]
[node name="Missinggamepad" type="Node2D"] [node name="Missinggamepad" type="Node2D"]
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
offset_left = 105.0 margin_left = 90.0
offset_top = 211.0 margin_top = 211.0
offset_right = 1177.0 margin_right = 1177.0
offset_bottom = 511.0 margin_bottom = 511.0
color = Color(0, 0, 0, 1) color = Color( 0, 0, 0, 1 )
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]
anchors_preset = 8 margin_left = 90.0
anchor_left = 0.5 margin_top = 211.0
anchor_top = 0.5 margin_right = 1177.0
anchor_right = 0.5 margin_bottom = 511.0
anchor_bottom = 0.5 rect_min_size = Vector2( 1072, 300 )
offset_left = 105.0 custom_fonts/font = ExtResource( 1 )
offset_top = 211.0
offset_right = 1177.0
offset_bottom = 511.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 40
text = "TEXT_GAMEPAD_DISCONNECTED" text = "TEXT_GAMEPAD_DISCONNECTED"
horizontal_alignment = 1 align = 1
vertical_alignment = 1 valign = 1

View file

@ -11,7 +11,7 @@ func _process(delta):
func _input(event): func _input(event):
gamepadtest.new(event) gamepadtest.new(event)
if Input.is_action_just_pressed("ui_cancel"): if Input.is_action_just_pressed("ui_cancel"):
get_tree().change_scene_to_file("res://levels/ui/tmenu.tscn") get_tree().change_scene("res://levels/ui/tmenu.tscn")
# Mouse in viewport coordinates. # Mouse in viewport coordinates.
# if Input.is_key_pressed(KEY_ENTER) || Input.is_joy_button_pressed(0,JOY_BUTTON_B): # if Input.is_key_pressed(KEY_ENTER) || Input.is_joy_button_pressed(0,JOY_BUTTON_B):
#print("Mouse Click/Unclick at: ", event.position) #print("Mouse Click/Unclick at: ", event.position)
@ -27,7 +27,7 @@ func _input(event):
func _on_exit_pressed(): func _on_exit_pressed():
get_tree().change_scene_to_file("res://levels/ui/tmenu.tscn") get_tree().change_scene("res://levels/ui/tmenu.tscn")
#pass # Replace with function body. #pass # Replace with function body.
@ -35,7 +35,7 @@ func _on_noob_pressed():
_statrebase() _statrebase()
Global.dificulty = 1 Global.dificulty = 1
_reset() _reset()
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn") get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
#pass # Replace with function body. #pass # Replace with function body.
@ -43,7 +43,7 @@ func _on_thisfirst_pressed():
_statrebase() _statrebase()
Global.dificulty = 2 Global.dificulty = 2
_reset() _reset()
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn") get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
#pass # Replace with function body. #pass # Replace with function body.

View file

@ -1,87 +1,84 @@
[gd_scene load_steps=7 format=3 uid="uid://bpotg1c8rsa8f"] [gd_scene load_steps=9 format=2]
[ext_resource type="Script" path="res://levels/ui/newgame.gd" id="1_b1c5v"] [ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://bxa27c7gnivwx" path="res://backgounds/night-sky-at-ceres.jpg" id="2_p7hqh"] [ext_resource path="res://levels/ui/newgame.gd" type="Script" id=2]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_3l41g"] [ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=3]
[ext_resource path="res://fonts/button1.tres" type="DynamicFont" id=4]
[ext_resource path="res://fonts/title.tres" type="DynamicFont" id=5]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_821nm"] [sub_resource type="StyleBoxFlat" id=1]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6u0xs"] [sub_resource type="StyleBoxFlat" id=2]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2qrn"] [sub_resource type="StyleBoxFlat" id=3]
bg_color = Color(0, 0.8, 0, 1) bg_color = Color( 0, 0.8, 0, 1 )
[node name="Newgame" type="Control"] [node name="Newgame" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 script = ExtResource( 2 )
grow_vertical = 2
script = ExtResource("1_b1c5v")
[node name="Night Sky" type="TextureRect" parent="."] [node name="Night Sky" type="TextureRect" parent="."]
layout_mode = 0 margin_right = 1280.0
offset_right = 1280.0 margin_bottom = 720.0
offset_bottom = 720.0 texture = ExtResource( 1 )
texture = ExtResource("2_p7hqh")
[node name="Game name" type="Label" parent="."] [node name="Game name" type="Label" parent="."]
layout_mode = 0 margin_top = 27.0
offset_left = 31.0 margin_right = 1280.0
offset_top = -5.0 margin_bottom = 157.0
offset_right = 1237.0 custom_fonts/font = ExtResource( 5 )
offset_bottom = 125.0
theme_override_font_sizes/font_size = 95
text = "BUTTON_START" text = "BUTTON_START"
horizontal_alignment = 1 align = 1
valign = 1
[node name="Bottomhud" parent="." instance=ExtResource("3_3l41g")] [node name="Bottomhud" parent="." instance=ExtResource( 3 )]
layout_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="."] [node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1 margin_left = 254.5
anchors_preset = 7 margin_top = 195.0
anchor_left = 0.5 margin_right = 1036.5
anchor_top = 1.0 margin_bottom = 711.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -322.0
offset_top = -362.0
offset_right = 322.0
grow_horizontal = 2
grow_vertical = 0
[node name="Noob" type="Button" parent="VBoxContainer"] [node name="Noob" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_right = 785.0
theme_override_font_sizes/font_size = 80 margin_bottom = 100.0
theme_override_styles/focus = SubResource("StyleBoxFlat_821nm") custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
text = "START_NOOB" text = "START_NOOB"
[node name="Thisfirst" type="Button" parent="VBoxContainer"] [node name="Thisfirst" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 104.0
theme_override_font_sizes/font_size = 80 margin_right = 785.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 204.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 2 )
text = "START_THISFIRST" text = "START_THISFIRST"
[node name="Challenge" type="Button" parent="VBoxContainer"] [node name="Challenge" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 208.0
theme_override_font_sizes/font_size = 80 margin_right = 785.0
theme_override_styles/focus = SubResource("StyleBoxFlat_821nm") margin_bottom = 308.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 2 )
text = "START_CHALLENGE" text = "START_CHALLENGE"
[node name="Maniac" type="Button" parent="VBoxContainer"] [node name="Maniac" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 312.0
theme_override_font_sizes/font_size = 80 margin_right = 785.0
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs") margin_bottom = 412.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 2 )
text = "START_MANIAC" text = "START_MANIAC"
[node name="Exit" type="Button" parent="VBoxContainer"] [node name="Exit" type="Button" parent="VBoxContainer"]
layout_mode = 2 margin_top = 416.0
theme_override_font_sizes/font_size = 80 margin_right = 785.0
theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn") margin_bottom = 516.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 3 )
text = "BUTTON_RETURN" text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/Noob" to="." method="_on_noob_pressed"] [connection signal="pressed" from="VBoxContainer/Noob" to="." method="_on_noob_pressed"]

View file

@ -1,61 +1,64 @@
[gd_scene load_steps=3 format=3 uid="uid://cd8hd11usuhbu"] [gd_scene load_steps=5 format=2]
[ext_resource type="Texture2D" uid="uid://bb4sw2rhdbjbf" path="res://sprites/common/placeholder/face.png" id="1_4l8il"] [ext_resource path="res://sprites/common/placeholder/face.png" type="Texture" id=1]
[ext_resource type="Script" path="res://levels/ui/talk.gd" id="1_c5y35"] [ext_resource path="res://fonts/about.tres" type="DynamicFont" id=2]
[ext_resource path="res://levels/ui/talk.gd" type="Script" id=3]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=4]
[node name="Talk" type="Node2D"] [node name="Talk" type="Node2D"]
script = ExtResource("1_c5y35") script = ExtResource( 3 )
[node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Playerface" type="TextureRect" parent="CanvasLayer"] [node name="Playerface" type="TextureRect" parent="CanvasLayer"]
offset_left = 511.0 margin_left = 511.0
offset_top = 35.0 margin_top = 35.0
offset_right = 767.0 margin_right = 767.0
offset_bottom = 291.0 margin_bottom = 291.0
texture = ExtResource("1_4l8il") texture = ExtResource( 1 )
[node name="Continue" type="ColorRect" parent="CanvasLayer"] [node name="Continue" type="ColorRect" parent="CanvasLayer"]
offset_left = 39.0 margin_left = 39.0
offset_top = 118.0 margin_top = 118.0
offset_right = 276.0 margin_right = 276.0
offset_bottom = 177.0 margin_bottom = 177.0
color = Color(0.254902, 0.254902, 0.254902, 1) color = Color( 0.254902, 0.254902, 0.254902, 1 )
[node name="Continuetext" type="Label" parent="CanvasLayer"] [node name="Continuetext" type="Label" parent="CanvasLayer"]
offset_left = 39.0 margin_left = 39.0
offset_top = 119.0 margin_top = 119.0
offset_right = 276.0 margin_right = 276.0
offset_bottom = 178.0 margin_bottom = 178.0
theme_override_font_sizes/font_size = 20 rect_min_size = Vector2( 237, 59 )
custom_fonts/font = ExtResource( 2 )
text = "Press enter or B text = "Press enter or B
to continue" to continue"
horizontal_alignment = 1 align = 1
vertical_alignment = 1
[node name="Textbox" type="ColorRect" parent="CanvasLayer"] [node name="Textbox" type="ColorRect" parent="CanvasLayer"]
offset_left = 41.0 margin_left = 41.0
offset_top = 319.0 margin_top = 319.0
offset_right = 1243.0 margin_right = 1243.0
offset_bottom = 681.0 margin_bottom = 681.0
color = Color(0.254902, 0.254902, 0.254902, 1) color = Color( 0.254902, 0.254902, 0.254902, 1 )
[node name="Cname" type="Label" parent="CanvasLayer"] [node name="Cname" type="Label" parent="CanvasLayer"]
offset_left = 41.0 margin_left = 41.0
offset_top = 319.0 margin_top = 319.0
offset_right = 1243.0 margin_right = 1243.0
offset_bottom = 374.0 margin_bottom = 374.0
theme_override_font_sizes/font_size = 40 rect_min_size = Vector2( 1202, 55 )
custom_fonts/font = ExtResource( 4 )
text = "Character name goes here" text = "Character name goes here"
horizontal_alignment = 1 align = 1
vertical_alignment = 1 valign = 1
[node name="Dialog" type="Label" parent="CanvasLayer"] [node name="Dialog" type="Label" parent="CanvasLayer"]
offset_left = 41.0 margin_left = 41.0
offset_top = 377.0 margin_top = 377.0
offset_right = 1243.0 margin_right = 1243.0
offset_bottom = 681.0 margin_bottom = 681.0
theme_override_font_sizes/font_size = 40 custom_fonts/font = ExtResource( 4 )
text = "Your dialog goes here" text = "Your dialog goes here"
horizontal_alignment = 1 align = 1
vertical_alignment = 1 valign = 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

View file

@ -1,7 +1,7 @@
extends CharacterBody2D extends KinematicBody2D
var theta: float = 0.0 var theta: float = 0.0
@export_range(0,2*PI) var alpha: float = 1.5 export(float,6.2831853) var alpha: float = 1.5
var bullet = load("res://sprites/common/bullet/tnt.tscn") var bullet = load("res://sprites/common/bullet/tnt.tscn")
@ -27,7 +27,7 @@ var movex = 0
var movey = 0 var movey = 0
var attack = 59 var attack = 59
var crit = 5 var crit = 5
var velocity = Vector2(0,0)
func _ready(): func _ready():
@ -43,7 +43,7 @@ func get_vector(angle):
# Get the gravity from the project settings to be synced with RigidBody nodes. # Get the gravity from the project settings to be synced with RigidBody nodes.
var gravity = ProjectSettings.get_setting("physics/2d/default_gravity") var gravity = ProjectSettings.get_setting("physics/2d/default_gravity")
@onready var anim := $AnimationPlayer onready var anim := $AnimationPlayer
func _physics_process(delta): func _physics_process(delta):
if Global.live == 1: if Global.live == 1:
@ -101,7 +101,7 @@ func _physics_process(delta):
anim.play("sidle") anim.play("sidle")
#move_and_slide() #move_and_slide()
func shoot(angle): func shoot(angle):
var new_bullet = bullet.instantiate() var new_bullet = bullet.instance()
new_bullet.position = Vector2(position.x, position.y) new_bullet.position = Vector2(position.x, position.y)
new_bullet.direction = get_vector(angle) new_bullet.direction = get_vector(angle)
new_bullet.btype = "boss" new_bullet.btype = "boss"

View file

@ -1,182 +1,182 @@
[gd_scene load_steps=14 format=3 uid="uid://dya2jipk8eq2s"] [gd_scene load_steps=13 format=2]
[ext_resource type="Script" path="res://sprites/ceres/pamela/pamela.gd" id="1_6fvfy"] [ext_resource path="res://sprites/ceres/pamela/sprite.png" type="Texture" id=1]
[ext_resource type="Texture2D" uid="uid://dt8ufdvgghipy" path="res://sprites/ceres/pamela/sprite.png" id="2_v1g13"] [ext_resource path="res://sprites/ceres/pamela/pamela.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mcaff"] [sub_resource type="RectangleShape2D" id=1]
size = Vector2(86, 256) extents = Vector2( 45, 128 )
[sub_resource type="Animation" id="Animation_i5rhc"] [sub_resource type="Animation" id=2]
length = 0.001 length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [0] "values": [ 8 ]
} }
[sub_resource type="Animation" id="Animation_8my4d"] [sub_resource type="Animation" id=3]
resource_name = "eidle" resource_name = "eidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [6] "values": [ 8 ]
} }
[sub_resource type="Animation" id="Animation_op07l"] [sub_resource type="Animation" id=4]
resource_name = "ewalk" resource_name = "ewalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
step = 0.033
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.099, 0.198 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [7, 6, 8] "values": [ 9, 8, 10 ]
} }
[sub_resource type="Animation" id="Animation_cajcr"] [sub_resource type="Animation" id=5]
resource_name = "nidle" resource_name = "nidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0.2), "times": PoolRealArray( 0.1 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [3] "values": [ 4 ]
} }
[sub_resource type="Animation" id="Animation_7lhgw"] [sub_resource type="Animation" id=6]
resource_name = "nwalk" resource_name = "nwalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [4, 3, 5] "values": [ 5, 4, 6 ]
} }
[sub_resource type="Animation" id="Animation_w3ius"] [sub_resource type="Animation" id=7]
resource_name = "sidle" resource_name = "sidle"
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0), "times": PoolRealArray( 0.5 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [0] "values": [ 0 ]
} }
[sub_resource type="Animation" id="Animation_u56r5"] [sub_resource type="Animation" id=8]
resource_name = "swalk" resource_name = "swalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [1, 0, 2] "values": [ 1, 0, 2 ]
} }
[sub_resource type="Animation" id="Animation_isodq"] [sub_resource type="Animation" id=9]
resource_name = "widle" resource_name = "widle"
length = 0.3
loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0.2), "times": PoolRealArray( 0 ),
"transitions": PackedFloat32Array(1), "transitions": PoolRealArray( 1 ),
"update": 1, "update": 1,
"values": [9] "values": [ 12 ]
} }
[sub_resource type="Animation" id="Animation_letwb"] [sub_resource type="Animation" id=10]
resource_name = "wwalk" resource_name = "wwalk"
length = 0.3 length = 0.3
loop_mode = 1 loop = true
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/path = NodePath("Sprite:frame")
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = { tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2), "times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array(1, 1, 1), "transitions": PoolRealArray( 1, 1, 1 ),
"update": 1, "update": 1,
"values": [10, 9, 11] "values": [ 13, 12, 14 ]
} }
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mh65y"] [node name="Pamela" type="KinematicBody2D"]
_data = { script = ExtResource( 2 )
"RESET": SubResource("Animation_i5rhc"),
"eidle": SubResource("Animation_8my4d"),
"ewalk": SubResource("Animation_op07l"),
"nidle": SubResource("Animation_cajcr"),
"nwalk": SubResource("Animation_7lhgw"),
"sidle": SubResource("Animation_w3ius"),
"swalk": SubResource("Animation_u56r5"),
"widle": SubResource("Animation_isodq"),
"wwalk": SubResource("Animation_letwb")
}
[node name="Pamela" type="CharacterBody2D"] [node name="Sprite" type="Sprite" parent="."]
script = ExtResource("1_6fvfy") texture = ExtResource( 1 )
hframes = 4
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_v1g13")
hframes = 3
vframes = 4 vframes = 4
frame = 8
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_mcaff") shape = SubResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = { anims/RESET = SubResource( 2 )
"": SubResource("AnimationLibrary_mh65y") anims/eidle = SubResource( 3 )
} anims/ewalk = SubResource( 4 )
anims/nidle = SubResource( 5 )
anims/nwalk = SubResource( 6 )
anims/sidle = SubResource( 7 )
anims/swalk = SubResource( 8 )
anims/widle = SubResource( 9 )
anims/wwalk = SubResource( 10 )
[node name="Speed" type="Timer" parent="."] [node name="Speed" type="Timer" parent="."]
wait_time = 0.1 wait_time = 0.1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

View file

@ -26,3 +26,6 @@ shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( 2.41399e-06, 0.25 ) position = Vector2( 2.41399e-06, 0.25 )
scale = Vector2( 4, 3.975 ) scale = Vector2( 4, 3.975 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -21,3 +21,6 @@ shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( -1, 63.5 ) position = Vector2( -1, 63.5 )
scale = Vector2( 1.4, 6.35 ) scale = Vector2( 1.4, 6.35 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -21,3 +21,6 @@ shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( 0.874994, 0.906251 ) position = Vector2( 0.874994, 0.906251 )
scale = Vector2( 6.5125, 1.00937 ) scale = Vector2( 6.5125, 1.00937 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -19,3 +19,6 @@ shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( 0.499999, -9.83477e-07 ) position = Vector2( 0.499999, -9.83477e-07 )
scale = Vector2( 2.45, 3.1 ) scale = Vector2( 2.45, 3.1 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -20,3 +20,6 @@ shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( 1, 0.499995 ) position = Vector2( 1, 0.499995 )
scale = Vector2( 3.2, 3.25 ) scale = Vector2( 3.2, 3.25 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -20,3 +20,6 @@ shape = SubResource( 1 )
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( -11, 0.499998 ) position = Vector2( -11, 0.499998 )
scale = Vector2( 1.7, 3.25 ) scale = Vector2( 1.7, 3.25 )
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -13,7 +13,7 @@ var movex = 0
var movey = 0 var movey = 0
var attack = 59 var attack = 59
var crit = 5 var crit = 5
var velocity var velocity = Vector2(0,0)
func _ready(): func _ready():

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=13 format=2] [gd_scene load_steps=13 format=2]
[ext_resource path="res://sprites/common/midori/sprite.png" type="Texture" id=1] [ext_resource path="res://sprites/common/kimberly/sprite.png" type="Texture" id=1]
[ext_resource path="res://sprites/common/kimberly/kimberly.gd" type="Script" id=2] [ext_resource path="res://sprites/common/kimberly/kimberly.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1] [sub_resource type="RectangleShape2D" id=1]

View file

@ -5,7 +5,7 @@ const SPEED = 300.0
const JUMP_VELOCITY = -400.0 const JUMP_VELOCITY = -400.0
var angle = 2 var angle = 2
var weakness = 0 var weakness = 0
var velocity var velocity = Vector2(0,0)
# Get the gravity from the project settings to be synced with RigidBody nodes. # Get the gravity from the project settings to be synced with RigidBody nodes.
var gravity = ProjectSettings.get_setting("physics/2d/default_gravity") var gravity = ProjectSettings.get_setting("physics/2d/default_gravity")

View file

@ -162,12 +162,12 @@ script = ExtResource( 2 )
texture = ExtResource( 1 ) texture = ExtResource( 1 )
hframes = 4 hframes = 4
vframes = 4 vframes = 4
frame = 8
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 ) shape = SubResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
process_priority = -1
anims/RESET = SubResource( 2 ) anims/RESET = SubResource( 2 )
anims/eidle = SubResource( 3 ) anims/eidle = SubResource( 3 )
anims/ewalk = SubResource( 4 ) anims/ewalk = SubResource( 4 )

View file

@ -14,7 +14,7 @@ var movex = 0
var movey = 0 var movey = 0
var attack = 87 var attack = 87
var crit = 7 var crit = 7
var velocity var velocity = Vector2(0,0)
func _ready(): func _ready():
if Global.isboss: if Global.isboss:
@ -88,7 +88,7 @@ func _physics_process(delta):
anim.play("sidle") anim.play("sidle")
#move_and_slide() #move_and_slide()
func shoot(angle): func shoot(angle):
var new_bullet = bullet.instantiate() var new_bullet = bullet.instance()
new_bullet.position = Vector2(position.x, position.y) new_bullet.position = Vector2(position.x, position.y)
new_bullet.direction = get_vector(angle) new_bullet.direction = get_vector(angle)
new_bullet.btype = "boss" new_bullet.btype = "boss"

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=13 format=2] [gd_scene load_steps=13 format=2]
[ext_resource path="res://sprites/common/midori/sprite.png" type="Texture" id=1] [ext_resource path="res://sprites/common/natasha/sprite.png" type="Texture" id=1]
[ext_resource path="res://sprites/common/natasha/natasha.gd" type="Script" id=2] [ext_resource path="res://sprites/common/natasha/natasha.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1] [sub_resource type="RectangleShape2D" id=1]