maikor-vm-core

Crates.iomaikor-vm-core
lib.rsmaikor-vm-core
version0.1.15
sourcesrc
created_at2022-05-01 10:25:48.13593
updated_at2022-05-31 15:34:56.3479
descriptionVM for playing Maikor games
homepagehttps://maikor.app
repositoryhttps://github.com/MaikorAppPublic/vm-core
max_upload_size
id578558
size259,492
Emma Britton (emmabritton)

documentation

README

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)

Commit count: 89

cargo fmt