she's a maniac
This commit is contained in:
parent
832561a573
commit
253fab1175
10 changed files with 38 additions and 2 deletions
|
@ -12,6 +12,7 @@ var bossready = false
|
||||||
var playerx
|
var playerx
|
||||||
var playery
|
var playery
|
||||||
var ccutscene = null
|
var ccutscene = null
|
||||||
|
var difdamage = 0
|
||||||
const cutscenes = [["res://levels/Cutscenes/opening/aboutkaizo.tscn", "res://levels/Cutscenes/opening/midorihello.tscn", 18, false], ["res://levels/Cutscenes/opening/midorihello.tscn", "res://levels/Cutscenes/opening/fearlessmidori.tscn", 18, false], ["res://levels/Cutscenes/opening/fearlessmidori.tscn", "res://levels/Cutscenes/opening/midoriwaterfall.tscn", 0, false], ["res://levels/Cutscenes/opening/midoriwaterfall.tscn", "res://levels/Cutscenes/opening/midorireading.tscn", 0, false], ["res://levels/Cutscenes/opening/midorireading.tscn", "res://levels/Cutscenes/opening/boomboomtorofi.tscn", 0, false], ["res://levels/Cutscenes/opening/boomboomtorofi.tscn", "res://levels/ui/gameplay.tscn", 0, true], ["res://levels/Cutscenes/unfunaversary/punishment.tscn", "res://levels/Cutscenes/unfunaversary/sadness.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/sadness.tscn", "res://levels/Cutscenes/unfunaversary/r3.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/r3.tscn", "res://levels/Cutscenes/unfunaversary/firstclass.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/firstclass.tscn", "res://backgounds/result.tscn", 5, true], ["res://levels/Cutscenes/Honker Railway/forest.tscn", "res://levels/Cutscenes/Honker Railway/lordlytrashcan.tscn", 19, false], ["res://levels/Cutscenes/Honker Railway/lordlytrashcan.tscn", "res://levels/Cutscenes/Honker Railway/railway.tscn", 19, false], ["res://levels/Cutscenes/Honker Railway/railway.tscn", "res://levels/ui/gameplay.tscn", 19, true], ["res://levels/Cutscenes/Troublemaker/buildings.tscn", "res://levels/Cutscenes/Troublemaker/pamela.tscn", 18, false], ["res://levels/Cutscenes/Troublemaker/pamela.tscn", "res://levels/Cutscenes/Troublemaker/kungfu.tscn", 18, false], ["res://levels/Cutscenes/Troublemaker/kungfu.tscn", "res://levels/ui/gameplay.tscn", 6, true]]
|
const cutscenes = [["res://levels/Cutscenes/opening/aboutkaizo.tscn", "res://levels/Cutscenes/opening/midorihello.tscn", 18, false], ["res://levels/Cutscenes/opening/midorihello.tscn", "res://levels/Cutscenes/opening/fearlessmidori.tscn", 18, false], ["res://levels/Cutscenes/opening/fearlessmidori.tscn", "res://levels/Cutscenes/opening/midoriwaterfall.tscn", 0, false], ["res://levels/Cutscenes/opening/midoriwaterfall.tscn", "res://levels/Cutscenes/opening/midorireading.tscn", 0, false], ["res://levels/Cutscenes/opening/midorireading.tscn", "res://levels/Cutscenes/opening/boomboomtorofi.tscn", 0, false], ["res://levels/Cutscenes/opening/boomboomtorofi.tscn", "res://levels/ui/gameplay.tscn", 0, true], ["res://levels/Cutscenes/unfunaversary/punishment.tscn", "res://levels/Cutscenes/unfunaversary/sadness.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/sadness.tscn", "res://levels/Cutscenes/unfunaversary/r3.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/r3.tscn", "res://levels/Cutscenes/unfunaversary/firstclass.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/firstclass.tscn", "res://backgounds/result.tscn", 5, true], ["res://levels/Cutscenes/Honker Railway/forest.tscn", "res://levels/Cutscenes/Honker Railway/lordlytrashcan.tscn", 19, false], ["res://levels/Cutscenes/Honker Railway/lordlytrashcan.tscn", "res://levels/Cutscenes/Honker Railway/railway.tscn", 19, false], ["res://levels/Cutscenes/Honker Railway/railway.tscn", "res://levels/ui/gameplay.tscn", 19, true], ["res://levels/Cutscenes/Troublemaker/buildings.tscn", "res://levels/Cutscenes/Troublemaker/pamela.tscn", 18, false], ["res://levels/Cutscenes/Troublemaker/pamela.tscn", "res://levels/Cutscenes/Troublemaker/kungfu.tscn", 18, false], ["res://levels/Cutscenes/Troublemaker/kungfu.tscn", "res://levels/ui/gameplay.tscn", 6, true]]
|
||||||
const pcnames = ["Midori Asgardius", "Diana Asgardius", null, "Kimberly Arch", null, null, null, "Pamela Hashimoto", "Lety Hashimoto", "Natasha Dostoyevsky"]
|
const pcnames = ["Midori Asgardius", "Diana Asgardius", null, "Kimberly Arch", null, null, null, "Pamela Hashimoto", "Lety Hashimoto", "Natasha Dostoyevsky"]
|
||||||
const npcnames = ["Lily", "Railway Girl", null, "Kimberly Arch", null, null, null, null, null, "Natasha Dostoyevsky"]
|
const npcnames = ["Lily", "Railway Girl", null, "Kimberly Arch", null, null, null, null, null, "Natasha Dostoyevsky"]
|
||||||
|
|
|
@ -55,6 +55,7 @@ func _on_ram_pressed() -> void:
|
||||||
Global.cplace = [1, 11, 19]
|
Global.cplace = [1, 11, 19]
|
||||||
Global.live = 0
|
Global.live = 0
|
||||||
Global.cpchar = 0
|
Global.cpchar = 0
|
||||||
|
Global.difdamage = 0
|
||||||
Global.party = [[0,0], [null,null], [null,null], [null,null]]
|
Global.party = [[0,0], [null,null], [null,null], [null,null]]
|
||||||
Global.ccutscene = 0
|
Global.ccutscene = 0
|
||||||
_on_back_pressed()
|
_on_back_pressed()
|
||||||
|
|
|
@ -16,6 +16,28 @@ 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.
|
||||||
func _ready():
|
func _ready():
|
||||||
|
if Global.dificulty == 1:
|
||||||
|
if Global.difdamage != 0:
|
||||||
|
print("Script Kiddie")
|
||||||
|
Global.difdamage = Global.dparty/0
|
||||||
|
elif Global.dificulty == 2:
|
||||||
|
if Global.difdamage == 0 || Global.difdamage == 1:
|
||||||
|
Global.difdamage = 1
|
||||||
|
else:
|
||||||
|
print("Script Kiddie")
|
||||||
|
Global.difdamage = Global.dparty/0
|
||||||
|
elif Global.dificulty == 3:
|
||||||
|
if Global.difdamage == 0 || Global.difdamage == 100:
|
||||||
|
Global.difdamage = 100
|
||||||
|
else:
|
||||||
|
print("Script Kiddie")
|
||||||
|
Global.difdamage = Global.dparty/0
|
||||||
|
elif Global.dificulty == 4:
|
||||||
|
if Global.difdamage == 0 || Global.difdamage == 1000:
|
||||||
|
Global.difdamage = 1000
|
||||||
|
else:
|
||||||
|
print("Script Kiddie")
|
||||||
|
Global.difdamage = Global.dparty/0
|
||||||
Input.connect("joy_connection_changed",self,"_on_joy_connection_changed")
|
Input.connect("joy_connection_changed",self,"_on_joy_connection_changed")
|
||||||
_statrebase()
|
_statrebase()
|
||||||
add_child(bgsound)
|
add_child(bgsound)
|
||||||
|
|
|
@ -49,11 +49,17 @@ func _on_thisfirst_pressed():
|
||||||
|
|
||||||
|
|
||||||
func _on_challenge_pressed():
|
func _on_challenge_pressed():
|
||||||
pass # Replace with function body.
|
_statrebase()
|
||||||
|
Global.dificulty = 3
|
||||||
|
_reset()
|
||||||
|
get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
|
||||||
|
|
||||||
|
|
||||||
func _on_maniac_pressed():
|
func _on_maniac_pressed():
|
||||||
pass # Replace with function body.
|
_statrebase()
|
||||||
|
Global.dificulty = 4
|
||||||
|
_reset()
|
||||||
|
get_tree().change_scene("res://levels/ui/Cutscenes.tscn")
|
||||||
|
|
||||||
|
|
||||||
func _statrebase():
|
func _statrebase():
|
||||||
|
|
|
@ -10,6 +10,7 @@ func _ready():
|
||||||
if is_in_group("players"):
|
if is_in_group("players"):
|
||||||
speciality = Global.pcspecialities[Global.dparty[Global.dcpchar][0]]
|
speciality = Global.pcspecialities[Global.dparty[Global.dcpchar][0]]
|
||||||
add_to_group(btype)
|
add_to_group(btype)
|
||||||
|
attack = attack * Global.difdamage
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ func _ready():
|
||||||
if is_in_group("players"):
|
if is_in_group("players"):
|
||||||
speciality = Global.pcspecialities[Global.dparty[Global.dcpchar][0]]
|
speciality = Global.pcspecialities[Global.dparty[Global.dcpchar][0]]
|
||||||
add_to_group(btype)
|
add_to_group(btype)
|
||||||
|
attack = attack * Global.difdamage
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ func _ready():
|
||||||
rotation = velocity.angle()
|
rotation = velocity.angle()
|
||||||
else:
|
else:
|
||||||
rotation = direction.angle()
|
rotation = direction.angle()
|
||||||
|
attack = attack * Global.difdamage
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ var crit
|
||||||
func _ready():
|
func _ready():
|
||||||
isvisible = $VisibleOnScreenNotifier2D
|
isvisible = $VisibleOnScreenNotifier2D
|
||||||
add_to_group(btype)
|
add_to_group(btype)
|
||||||
|
attack = attack * Global.difdamage
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ var crit
|
||||||
func _ready():
|
func _ready():
|
||||||
isvisible = $VisibleOnScreenNotifier2D
|
isvisible = $VisibleOnScreenNotifier2D
|
||||||
add_to_group(btype)
|
add_to_group(btype)
|
||||||
|
attack = attack * Global.difdamage
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ var crit
|
||||||
func _ready():
|
func _ready():
|
||||||
isvisible = $VisibleOnScreenNotifier2D
|
isvisible = $VisibleOnScreenNotifier2D
|
||||||
add_to_group(btype)
|
add_to_group(btype)
|
||||||
|
attack = attack * Global.difdamage
|
||||||
#pass # Replace with function body.
|
#pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue