Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Section I: Prepare the game files
- Download the compiler/tester here: https://github.com/dfabulich/choicescript/archive/master.zip 1
- Unzip to whatever location you wish and rename the folder to match the game you are playing.
- 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).
- 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)
- Section II: Compile the game
- Notes:
- There is a line in startup.txt that is something like “sm_init” which you need to delete before you compile the game.
- 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).
- Inside that folder, you will see a file named compile.html. Double click that file.
- 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).
- It will then compile your game and you can name the html file to match the game you are playing.
- Now you can run the game locally!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement