619 lines
12 KiB
Text
619 lines
12 KiB
Text
variables = {} //variables
|
|
time = 1630961370
|
|
imports = {
|
|
type = {
|
|
MouseButton = {
|
|
col = 49
|
|
module = "luxe: input"
|
|
name = "MouseButton"
|
|
line = 3
|
|
} //MouseButton
|
|
Tags = {
|
|
col = 72
|
|
module = "luxe: world"
|
|
name = "Tags"
|
|
line = 4
|
|
} //Tags
|
|
Material = {
|
|
col = 35
|
|
module = "luxe: render"
|
|
name = "Material"
|
|
line = 5
|
|
} //Material
|
|
Random = {
|
|
col = 27
|
|
module = "random"
|
|
name = "Random"
|
|
line = 9
|
|
} //Random
|
|
Key = {
|
|
col = 36
|
|
module = "luxe: input"
|
|
name = "Key"
|
|
line = 3
|
|
} //Key
|
|
App = {
|
|
col = 29
|
|
module = "outline/app"
|
|
name = "App"
|
|
line = 11
|
|
} //App
|
|
Camera = {
|
|
col = 80
|
|
module = "luxe: world"
|
|
name = "Camera"
|
|
line = 4
|
|
} //Camera
|
|
Math = {
|
|
col = 29
|
|
module = "luxe: math"
|
|
name = "Math"
|
|
line = 6
|
|
} //Math
|
|
IO = {
|
|
col = 25
|
|
module = "luxe: io"
|
|
name = "IO"
|
|
line = 8
|
|
} //IO
|
|
World = {
|
|
col = 31
|
|
module = "luxe: world"
|
|
name = "World"
|
|
line = 4
|
|
} //World
|
|
Ready = {
|
|
col = 30
|
|
module = "luxe: game"
|
|
name = "Ready"
|
|
line = 1
|
|
} //Ready
|
|
Draw = {
|
|
col = 29
|
|
module = "luxe: draw"
|
|
name = "Draw"
|
|
line = 7
|
|
} //Draw
|
|
Assets = {
|
|
col = 33
|
|
module = "luxe: assets"
|
|
name = "Assets"
|
|
line = 2
|
|
} //Assets
|
|
Entity = {
|
|
col = 39
|
|
module = "luxe: world"
|
|
name = "Entity"
|
|
line = 4
|
|
} //Entity
|
|
Input = {
|
|
col = 31
|
|
module = "luxe: input"
|
|
name = "Input"
|
|
line = 3
|
|
} //Input
|
|
Transform = {
|
|
col = 50
|
|
module = "luxe: world"
|
|
name = "Transform"
|
|
line = 4
|
|
} //Transform
|
|
Sprite = {
|
|
col = 58
|
|
module = "luxe: world"
|
|
name = "Sprite"
|
|
line = 4
|
|
} //Sprite
|
|
Values = {
|
|
col = 66
|
|
module = "luxe: world"
|
|
name = "Values"
|
|
line = 4
|
|
} //Values
|
|
Text = {
|
|
col = 86
|
|
module = "luxe: world"
|
|
name = "Text"
|
|
line = 4
|
|
} //Text
|
|
} //type
|
|
module = {
|
|
outline/app = {
|
|
App = {
|
|
name = "App"
|
|
location = {
|
|
col = 29
|
|
line = 11
|
|
} //location
|
|
} //App
|
|
} //outline/app
|
|
"luxe: world" = {
|
|
Tags = {
|
|
name = "Tags"
|
|
location = {
|
|
col = 72
|
|
line = 4
|
|
} //location
|
|
} //Tags
|
|
World = {
|
|
name = "World"
|
|
location = {
|
|
col = 31
|
|
line = 4
|
|
} //location
|
|
} //World
|
|
Entity = {
|
|
name = "Entity"
|
|
location = {
|
|
col = 39
|
|
line = 4
|
|
} //location
|
|
} //Entity
|
|
Transform = {
|
|
name = "Transform"
|
|
location = {
|
|
col = 50
|
|
line = 4
|
|
} //location
|
|
} //Transform
|
|
Sprite = {
|
|
name = "Sprite"
|
|
location = {
|
|
col = 58
|
|
line = 4
|
|
} //location
|
|
} //Sprite
|
|
Values = {
|
|
name = "Values"
|
|
location = {
|
|
col = 66
|
|
line = 4
|
|
} //location
|
|
} //Values
|
|
Camera = {
|
|
name = "Camera"
|
|
location = {
|
|
col = 80
|
|
line = 4
|
|
} //location
|
|
} //Camera
|
|
Text = {
|
|
name = "Text"
|
|
location = {
|
|
col = 86
|
|
line = 4
|
|
} //location
|
|
} //Text
|
|
} //luxe: world
|
|
random = {
|
|
Random = {
|
|
name = "Random"
|
|
location = {
|
|
col = 27
|
|
line = 9
|
|
} //location
|
|
} //Random
|
|
} //random
|
|
"luxe: game" = {
|
|
Ready = {
|
|
name = "Ready"
|
|
location = {
|
|
col = 30
|
|
line = 1
|
|
} //location
|
|
} //Ready
|
|
} //luxe: game
|
|
"luxe: assets" = {
|
|
Assets = {
|
|
name = "Assets"
|
|
location = {
|
|
col = 33
|
|
line = 2
|
|
} //location
|
|
} //Assets
|
|
} //luxe: assets
|
|
"luxe: input" = {
|
|
Key = {
|
|
name = "Key"
|
|
location = {
|
|
col = 36
|
|
line = 3
|
|
} //location
|
|
} //Key
|
|
MouseButton = {
|
|
name = "MouseButton"
|
|
location = {
|
|
col = 49
|
|
line = 3
|
|
} //location
|
|
} //MouseButton
|
|
Input = {
|
|
name = "Input"
|
|
location = {
|
|
col = 31
|
|
line = 3
|
|
} //location
|
|
} //Input
|
|
} //luxe: input
|
|
"luxe: draw" = {
|
|
Draw = {
|
|
name = "Draw"
|
|
location = {
|
|
col = 29
|
|
line = 7
|
|
} //location
|
|
} //Draw
|
|
} //luxe: draw
|
|
"luxe: math" = {
|
|
Math = {
|
|
name = "Math"
|
|
location = {
|
|
col = 29
|
|
line = 6
|
|
} //location
|
|
} //Math
|
|
} //luxe: math
|
|
"luxe: io" = {
|
|
IO = {
|
|
name = "IO"
|
|
location = {
|
|
col = 25
|
|
line = 8
|
|
} //location
|
|
} //IO
|
|
} //luxe: io
|
|
"luxe: render" = {
|
|
Material = {
|
|
name = "Material"
|
|
location = {
|
|
col = 35
|
|
line = 5
|
|
} //location
|
|
} //Material
|
|
} //luxe: render
|
|
} //module
|
|
} //imports
|
|
classes = {
|
|
Game = {
|
|
meta = null
|
|
} //Game
|
|
} //classes
|
|
version = 5
|
|
methods = {
|
|
Game = {
|
|
create_asteroids = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 19
|
|
line = 112
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "create_asteroids() : Any"
|
|
}
|
|
] //create_asteroids
|
|
tick = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 7
|
|
line = 60
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "delta"
|
|
}
|
|
] //args
|
|
signature = "tick(delta : Any) : Any"
|
|
}
|
|
] //tick
|
|
destroy = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 10
|
|
line = 254
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "destroy() : Any"
|
|
}
|
|
] //destroy
|
|
lerp = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 7
|
|
line = 250
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 3
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "a"
|
|
}
|
|
{
|
|
annotation = "Any"
|
|
name = "b"
|
|
}
|
|
{
|
|
annotation = "Any"
|
|
name = "t"
|
|
}
|
|
] //args
|
|
signature = "lerp(a : Any, b : Any, t : Any) : Any"
|
|
}
|
|
] //lerp
|
|
tick_camera = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 14
|
|
line = 181
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "delta"
|
|
}
|
|
] //args
|
|
signature = "tick_camera(delta : Any) : Any"
|
|
}
|
|
] //tick_camera
|
|
app = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = true
|
|
setter = false
|
|
location = {
|
|
col = 6
|
|
line = 259
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = null
|
|
signature = "app : Any"
|
|
}
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = true
|
|
location = {
|
|
col = 6
|
|
line = 260
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "v"
|
|
}
|
|
] //args
|
|
signature = "app=(v : Any) : Any"
|
|
}
|
|
] //app
|
|
create_starfield = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 19
|
|
line = 97
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "create_starfield() : Any"
|
|
}
|
|
] //create_starfield
|
|
ready = [
|
|
{
|
|
construct = true
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 18
|
|
line = 15
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "ready() : Any"
|
|
}
|
|
] //ready
|
|
create_startracker = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 21
|
|
line = 91
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "create_startracker() : Any"
|
|
}
|
|
] //create_startracker
|
|
create_ui_text = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 17
|
|
line = 83
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "create_ui_text() : Any"
|
|
}
|
|
] //create_ui_text
|
|
tick_starfield = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 17
|
|
line = 198
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "delta"
|
|
}
|
|
] //args
|
|
signature = "tick_starfield(delta : Any) : Any"
|
|
}
|
|
] //tick_starfield
|
|
get_axis = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 11
|
|
line = 227
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "axis"
|
|
}
|
|
] //args
|
|
signature = "get_axis(axis : Any) : Any"
|
|
}
|
|
] //get_axis
|
|
tick_ship = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 12
|
|
line = 126
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "delta"
|
|
}
|
|
] //args
|
|
signature = "tick_ship(delta : Any) : Any"
|
|
}
|
|
] //tick_ship
|
|
create_ship = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 14
|
|
line = 74
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 0
|
|
static = false
|
|
args = [] //args
|
|
signature = "create_ship() : Any"
|
|
}
|
|
] //create_ship
|
|
tick_startracker = [
|
|
{
|
|
construct = false
|
|
foreign = false
|
|
getter = false
|
|
setter = false
|
|
location = {
|
|
col = 19
|
|
line = 193
|
|
} //location
|
|
return_type = "Any"
|
|
meta = null
|
|
arity = 1
|
|
static = false
|
|
args = [
|
|
{
|
|
annotation = "Any"
|
|
name = "delta"
|
|
}
|
|
] //args
|
|
signature = "tick_startracker(delta : Any) : Any"
|
|
}
|
|
] //tick_startracker
|
|
} //Game
|
|
} //methods
|