Skip to content

MaikorAppPublic/vm-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maikor

⚠️ 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

Android

iOS

Windows, macOS and Linux

Make

iOS IDE

Desktop IDE

Build tools

REPL

Docs

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)