User Tools

Site Tools


development:player:web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
development:player:web [2019/03/09 01:49] – fix gencache link carstene1nsdevelopment:player:web [2020/09/08 18:29] – Replace .html.mem with .wasm and mention absolute /play/games/ path seems required. fdelapena
Line 22: Line 22:
  
   * index.html   * index.html
-  * index.html.mem+  * index.wasm
   * index.js   * index.js
   * games/   * games/
Line 40: Line 40:
 Place the gencache executable in a game working folder (the folder containing RPG_RT.* files) to generate the ''index.json''. Move the ''gencache'' executable to working folders for each game you want to upload and run ''gencache'' again to generate the ''index.json'' for them. Once finished you can remove (don't upload it, it's not needed) the ''gencache'' from any game folder. Place the gencache executable in a game working folder (the folder containing RPG_RT.* files) to generate the ''index.json''. Move the ''gencache'' executable to working folders for each game you want to upload and run ''gencache'' again to generate the ''index.json'' for them. Once finished you can remove (don't upload it, it's not needed) the ''gencache'' from any game folder.
  
-Your games are expected in subdirectories of the ''games'' directory. The default game executed is the one in ''games/default''. You can create further games by just by putting them in subdirectories of the ''games'' directory.+Your games are expected in subdirectories of the ''/play/games/'' directory. The default game executed is the one in ''/play/games/default/''. You can create further games by just by putting them in subdirectories of the ''/play/games/'' directory.
  
 Now open the ''index.html'' file and your default game should start. To play a different game pass ''?game=folder_name'' to your index file. Now open the ''index.html'' file and your default game should start. To play a different game pass ''?game=folder_name'' to your index file.
development/player/web.txt · Last modified: 2021/11/11 09:38 by ghabry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki