the-crypt/script/globals.gd

44 lines
864 B
GDScript3
Raw Normal View History

2020-07-17 15:21:22 -05:00
extends Node
2020-07-18 15:58:23 -05:00
enum {Conduit1, Conduit2, Conduit3, Conduit4, }
enum {Projectile1, Projectile2, Projectile3, Projectile4}
enum {Effect1, Effect2, Effect3, Effect4}
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/Conduit1.tscn")
var conduit2_ps
var conduit3_ps
var conduit4_ps
var projectile1_ps = preload("res://magic/projectiles/Projectile1.tscn")
var projectile2_ps
var projectile3_ps
var projectile4_ps
var effect1_ps
var effect2_ps
var effect3_ps
var effect4_ps
var Magic: Array = [
conduit1_ps,
conduit2_ps,
conduit3_ps,
conduit4_ps,
projectile1_ps,
projectile2_ps,
projectile3_ps,
projectile4_ps,
effect1_ps,
effect2_ps,
effect3_ps,
effect4_ps,
]
###
2020-07-17 19:43:30 -05:00
var WHITE_PROJECTILE_PS = preload("res://magic/projectiles/WhiteProjectile.tscn")
2020-07-18 15:58:23 -05:00
var basic_wand_ps = preload("res://magic/Wands/BasicWand.tscn")
2020-07-17 20:10:42 -05:00
var player = Vector2()