Advertisement
Guest User

HTML

a guest
Feb 7th, 2023
948
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. Section I: Prepare the game files
  2.  
  3. Download the compiler/tester here: https://github.com/dfabulich/choicescript/archive/master.zip 1
  4. Unzip to whatever location you wish and rename the folder to match the game you are playing.
  5. Download the ‘scenes’ folder for your game. For a demo, all you have to do is go to https://dashingdon.com/XXGAMEName/mygame/scenes. From there, you can click on each scene and download it. Make sure you get all of the text files here (including startup.txt and the stats file).
  6. Copy all of the files downloaded in #3 to the folder you created in #2. The files must go in the ‘scenes’ directory, which will be several subdirectories down (ex: C:\ choicescript-master\web\mygame\scenes)
  7.  
  8. Section II: Compile the game
  9. Notes:
  10. There is a line in startup.txt that is something like “sm_init” which you need to delete before you compile the game.
  11.  
  12. While you can actually run the game now, it is best if you compile it. To do this, go to the master folder you created for your game (ex: C:\ choicescript-master).
  13. Inside that folder, you will see a file named compile.html. Double click that file.
  14. From here, it will prompt you to enter the location for your game. The location is the exact same folder where you got the compile.html (ex: C:\choicescript-master).
  15. It will then compile your game and you can name the html file to match the game you are playing.
  16. Now you can run the game locally!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement