midori-school/global.gd

38 lines
1.7 KiB
GDScript3
Raw Normal View History

2023-12-26 17:09:27 +01:00
extends Node
2024-01-20 14:58:29 +01:00
var live = 0
2023-12-26 17:09:27 +01:00
var time
var origmpos
var mousepos
var timelimit = 15000
var wait
2024-01-21 01:45:41 +01:00
const places = [[[[null, null, null, null, false], [null, null, null, null, false]], [[null, null, null, null, false], ["res://levels/Testrooms/testboss.tscn", 640, 360, 20, true]], [[null, null, null, null ,false], ["res://levels/Testrooms/testspawn.tscn", 640, 360, 2 ,false]]]]
2024-01-20 11:38:12 +01:00
var cplace = [0,2,1]
var dplace = [null, null, null]
const pchars = ["res://sprites/common/midori/midori.tscn"]
const npchars = []
var cpchar = 0
var dcpchar = 0
2024-01-26 22:16:00 +01:00
var mangohud = false
2024-01-20 11:38:12 +01:00
var cspawnarea = [null, null]
var owlocation = [[null, null], [null, null]]
2023-12-26 17:09:27 +01:00
var hiscoresfile = "user://hiscores.save"
var gamelevel
var levelmax
var firstrun
2024-01-20 11:38:12 +01:00
const musictracks = ["res://music/reloaded.wav", "res://music/Jellies.wav", "res://music/getabrain.wav", "res://music/oskars.wav", "res://music/extralife.wav", "res://music/layers.wav", "res://music/caramel.wav", "res://music/XsEdzesSs.wav", "res://music/shakeshark.wav", "res://music/zubmarine.wav", "res://music/crammin.wav", "res://music/func.wav", "res://music/kaveh.wav", "res://music/rock.wav", "res://music/milkyway.wav", "res://music/sweetener.wav", "res://music/tooold.wav", "res://music/portello.wav", "res://music/songbirds.wav", "res://music/Gotanda.wav", "res://music/unreeeal.wav"]
2024-01-20 14:58:29 +01:00
const sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"]
2024-01-16 13:58:17 +01:00
var debug = false
2024-01-26 04:20:10 +01:00
const release = "R0.0.1-dev"
2023-12-26 17:09:27 +01:00
var sk = false
var xm = 0
var ym = 0
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass