snext1220 / stext

SORCERIAN Text(Web-based Gamebook Engine)
https://www.web-deli.com/sorcerian/text/
3 stars 0 forks source link
game game-engine gamebook-engine javascript-game jquery sgml sorcerian-text

SORCERIAN Text (Web-based Gamebook Engine)

Automatically generate game books from scenario data.

People called this plugin.....Sorcerian Text.

Dependencies

Example

$(function() {
  // Run Scenario(Production Mode)
  $('#main').startGame('scepter');

  // Run Scenario(Debug Mode:display debug panel)
  $('#main').startGame('scepter', true);

  // GBAT2SText(Download converted code)
  $('#gbat').gbat2stext();

  // GBAT2SText(Param: Converted code)
  $('#gbat').gbat2stext(function(result) {
    ...Process the converted code...
  });

  // Save data backup (Param: selector for scenario code)
  $('#backup').backupData('#scenario');

  // Save data restore
  $('#restore').restoreData();
});

Manual

Online Preview

https://snext1220.github.io/stext/