16 releases
0.1.15 | May 31, 2022 |
---|---|
0.1.14 | May 30, 2022 |
#1090 in Game dev
24 downloads per month
Used in maikor-vm-interface
195KB
4.5K
SLoC
⚠️ Work in progress
Links may be broken, features missing, etc
Cross-platform 16-bit game system
See more at maikor.app and the project homepage
Play
Make
vm-core
This is a library that executes Maikor game files in a VM. It won't run by itself though, instead it requires an external program to manage timing and frame rate to keep the code execution speed similar between platforms.
Usage
Ideally use one of the vm-interface
libraries
However, this is all that's need to run a game:
//read file
let maikor_game = read_file();
//create an instance
let mut vm = VM::new();
//load the game
vm.load_game(maikor_game);
vm.init();
//then
loop {
vm.step();
}
(but most games need user input to work)
Dependencies
~1–2.2MB
~46K SLoC