Mostly nuking old system
Some checks failed
Build Dusk / build-linux (push) Failing after 1m24s
Build Dusk / run-tests (push) Failing after 1m17s
Build Dusk / build-psp (push) Failing after 1m34s
Build Dusk / build-dolphin (push) Failing after 2m5s

This commit is contained in:
2026-02-13 19:13:26 -06:00
parent b37e5f45ca
commit e5e8c49f6c
97 changed files with 1454 additions and 408 deletions

View File

@@ -1,7 +0,0 @@
# Copyright (c) 2025 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
add_asset(SCRIPT initial.lua)
add_asset(SCRIPT minesweeper.lua)

View File

@@ -1,43 +0,0 @@
module('spritebatch')
module('camera')
module('color')
module('text')
module('screen')
module('time')
module('glm')
screenSetBackground(colorBlack())
camera = cameraCreate(CAMERA_PROJECTION_TYPE_ORTHOGRAPHIC)
text = "Hello World"
function sceneDispose()
end
function sceneUpdate()
end
function sceneRender()
-- UI Test
cameraPushMatrix(camera)
camera.bottom = screenGetHeight()
camera.right = screenGetWidth()
width, height = textMeasure(text)
x = (screenGetWidth() - width)
x = math.sin(TIME.time * 2) * (x / 2) + (x / 2)
y = (screenGetHeight() - height) / 2
y = math.cos(TIME.time * 3) * (y) + (y)
-- For each letter
for i = 1, #text do
letter = text:sub(i, i)
letterWidth, _ = textMeasure(letter)
-- Draw letter with rainbow color
textDraw(x, y, letter, colorRainbow((i - 1) * 0.1, 8))
x = x + letterWidth
end
cameraPopMatrix()
end