Skip to content

giulianoconte/Restore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Entry for Ludum Dare 38, by Giuliano Conte.

Theme: "A Small World"

alt text


Resources for this project

Technologies used

Tutorial on how to create and host your own JavaScript game

  1. Create a GitHub repository.
  2. Create skeleton index.html file.
  3. Setup clone of your repository on your machine. (Simple guide) (Thorough guide)
  4. Create a GitHub Page for your repository. GitHub will host your project for free, with barely any setup required. Follow the tutorial on the link and choose "Project Site" and "Start from Scratch".
  5. Choose an editor. I am using VSCode.
  6. Setup your index.html file and create your sketch.js file.
  7. Setup your libraries. You may have already set this up if you followed the above tutorial. There are many ways to do this. I just downloaded the libraries and put them in my project directory. Look at my index.html structure and libraries folder for how to include them in your project. You can download the p5.js and p5.play libraries from this repository.
  8. Create a local server to host and work on during development. Install latest version of Python 3. Start the python server manually: in your command line go to the project directory and enter python -m http.server for Python 3. You can access it by navigating to localhost:8000 in your browser. If you get the error "'python' is not recognized as an internal or external command, operable program or batch file" you probably need to make sure Python is added to the PATH vairable.
  9. Disable browser caching. Browser caching can really mess with development if you're not custom handling it. Disable caching for Chrome or load the page in incognito mode (ctrl+shift+n).
  10. Run the sketch. While your local server is running, you run the p5 sketch at http://localhost:8000/ in your browser. You don't need to restart the server if you update files. You can also run the latest pushed version at https://giulianoconte.github.io/Juke/.
  11. Run your sketch. While your local server is running, you run the p5 sketch at http://localhost:8000/ in your browser. You don't need to restart the server if you update files. You can also run the latest pushed version at \<YourGitHubPageWebAddress\> .
  12. You're done! The boiler plate code should be all setup and you should now be able to code your JavaScript game!

About

Game Entry for Ludum Dare 38

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors