Skip to content

create your own game-engine with just lua for game boy advance

Notifications You must be signed in to change notification settings

gamelly/core-native-gba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core Native GBA

This project is a basic micro-gameengine to run lua in the Nintendo Game Boy Advanced, which can be expanded to a custom engine, such as Gly Engine.


⚠️ Attention
there is no sanitization, error handling or observation of resource consumption, all of this takes up precious CPU time, bad code will make the game crash with a black screen.

Developing a multiplatform game with desktop support is recommended, especially for testing Lua code!

How to build

use devkitpro/devkitarm container if you do not have devkitpro installed.

Clone repo

git clone https://github.com/gamelly/core-native-gba

Configure project

cmake -Bbuild -H. -DGAME=vendor/engine/examples/pong/game.lua

Build cartbridge rom .gba

make -C build

Run

VisualBoyAdvance build/bin/game.gba