Skip to content

Loader for SnakeSilk engine that sets up engine based on XML formatted metadata.

Notifications You must be signed in to change notification settings

snakesilk/snakesilk-xml-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeSilk XML Loader

Usage

  1. Install

     npm install snakesilk-engine snakesilk-xml-loader
    
  2. Implement

import {Game} from 'snakesilk-engine';
import XMLLoader from 'snakesilk-xml-loader';

const myGame = new Game();
const loader = new XMLLoader(myGame);

loader.loadGame('./myGame.xml').then(entrypoint => {
    myGame.run();
});

About

Loader for SnakeSilk engine that sets up engine based on XML formatted metadata.

Resources

Stars

Watchers

Forks

Packages

No packages published