Skip to content

horizons-school-of-technology/unit0docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit-0: p5+js & runp5 Documentation

Horizons uses a slightly modified version of p5.js. This repository contains the documentation for all of the parts of p5.js and JavaScript that you will need for Unit 0.

p5.js

General

  • [runp5 – running your game]
  • [game.goToNextFrame() – the game loop]
  • [The game screen: game.width and game.height]

Intro to JavaScript

[Basic values]

  • [numbers]
  • [strings]
  • [undefined]
  • [true and false]

[Loops]

  • [while loop]
  • [for loop]

[Conditionals]

  • [if statements]
  • [true and false operators]
  • [and and or]
  • [Overview]
  • [.length]
  • [.push()]
  • [.pop()]
  • [.shift]
  • [.unshift]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published