import "luxe: game" for Ready import "luxe: assets" for Assets import "luxe: input" for Input, Key import "luxe: world" for World, Entity, Transform, Sprite, Values, Tags, Camera import "luxe: math" for Math import "luxe: draw" for Draw import "luxe: io" for IO import "outline/app" for App import "circle_manager" for CircleManager class Game is Ready { construct ready() { super("ready!") app = App.new() app.color = [0,0,0,1] System.print("render size: %(app.width) x %(app.height) @ %(app.scale)x") _circles = CircleManager.new(app.world) _circles.spawn_circles(20) } //ready tick(delta) { _circles.update(delta) if(Input.key_state_released(Key.escape)) { IO.shutdown() } } //tick destroy() { System.print("unready!") app.destroy() _circles.dispose() } //destroy app { _app } app=(v) { _app=v } } //Game