Game Dialogue Engine:
Tutorial 0: Setting Up the Environment
Tutorial 0 --> Tutorial 1
Main tutorial guide page
Introduction
This tutorial help you to set up necessery files and some settings to use our Dialogue Game Engine
Neccesary Files
To use our Dialogue Game engine, you will need to download all files of our engine can file here
- Dialogue Game Engine https://github.com/billphaml/CodeArtFinal
Once you have our files downloaded, place the folder Dialogue in your public_html/scr directory
Setting up your index.html file
To use our engine, you will need indclude the directory of all engine's file to your index.html, whichis stored at the same level as yourå assets folder and src folder.
<!-- GameObject --> <script type="text/javascript" src="src/Dialogue/Dialogue.js"></script> <script type="text/javascript" src="src/Dialogue/Message.js"></script> <script type="text/javascript" src="rc/Dialogue/OptionBox.js"></script> <script type="text/javascript" src="src/Dialogue/DialogueParser.js"></script> <script type="text/javascript" src="src/Dialogue/AnimateText.js"></script> <script type="text/javascript" src="src/Dialogue/DialogueMultiple.js"></script>
Conclusion
Now that we have setup our files and created our web page, we can go on to implementing code for the game. In Tutorial 1, we will look at the components that make up our scene and draw a simple object to our canvas.
Tutorial 0 --> Tutorial 1