First texture rendering (if broken)

This commit is contained in:
2026-02-06 12:48:49 -06:00
parent 0d56859d94
commit aa5b41fe31
23 changed files with 226 additions and 179 deletions

View File

@@ -11,14 +11,20 @@ module('glm')
screenSetBackground(colorLime())
mapCamera = cameraCreate()
text = "Hello, Dusk!"
x = -35
y = 0
function sceneDispose()
end
function sceneUpdate()
end
function sceneRender()
mapCamera.position = vec3(4, 4, 4)
mapCamera.position = vec3(50, 50, 50)
cameraPushMatrix(mapCamera)
spriteBatchPush(nil, -1, -1, 1, 1, colorBlue())
textDraw(x, y, text, colorBlue())
spriteBatchFlush()
cameraPopMatrix()
end