First commit

This commit is contained in:
2026-03-15 18:36:05 +01:00
commit 9dfc56eb4a
12 changed files with 624 additions and 0 deletions

11
source/main.js Normal file
View File

@@ -0,0 +1,11 @@
const { Fennec, N3DSText } = require("../bin/fennec")
const game = new Fennec()
const topScreenGraph = game.screens.Top.graphics2d
const bottomScreenGraph = game.screens.Bottom.graphics2d
const loremIpsum = new N3DSText("Hello world")
game.onGameLoop(() => {
topScreenGraph.drawRect(0, 0, 0.5, 100, 20, null, null)
bottomScreenGraph.drawText(loremIpsum)
})