the-crypt/script/globals.gd

38 lines
1.1 KiB
GDScript3
Raw Normal View History

2020-07-17 15:21:22 -05:00
extends Node
2020-07-19 18:36:36 -05:00
enum {Conduit1, Conduit2, Conduit3, Conduit4,
Projectile1, Projectile2, Projectile3, Projectile4,
Effect1, Effect2, Effect3, Effect4}
2020-07-18 15:58:23 -05:00
2020-07-17 15:21:22 -05:00
const TILE_SIZE = 16
2020-07-18 15:58:23 -05:00
###
var conduit1_ps = preload("res://magic/Wands/ChargedWand.tscn")
var conduit2_ps = preload("res://magic/Wands/TripleWand.tscn")
2020-07-18 19:50:16 -05:00
var conduit3_ps = preload("res://magic/Wands/BouncyWand.tscn")
var conduit4_ps = preload("res://magic/Wands/PrismWand.tscn")
2020-07-18 15:58:23 -05:00
2020-07-19 18:36:36 -05:00
var projectile1_ps = preload("res://magic/Projectiles/EcoProjectile.tscn")
var projectile2_ps = preload("res://magic/Projectiles/PhantomProjectile.tscn")
var projectile3_ps = preload("res://magic/Projectiles/WaveProjectile.tscn")
var projectile4_ps = preload("res://magic/Projectiles/ExplosiveProjectile.tscn")
2020-07-18 15:58:23 -05:00
var ecobeam_ps = preload("res://magic/Beams/EcoBeam.tscn")
2020-07-21 17:49:04 -05:00
var phantombeam_ps = preload("res://magic/Beams/PhantomBeam.tscn")
var wavebeam_ps = preload("res://magic/Beams/WaveBeam.tscn")
var explosivebeam_ps = preload("res://magic/Beams/ExplosiveBeam.tscn")
2020-07-18 15:58:23 -05:00
var Magic: Array = [
conduit1_ps,
conduit2_ps,
conduit3_ps,
conduit4_ps,
projectile1_ps,
projectile2_ps,
projectile3_ps,
projectile4_ps,
]
###
2020-07-17 20:10:42 -05:00
var player = Vector2()