Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.34 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.34 KB

Lecture 4: Angry Vectors

Detailed explanation of this code can be found in the lecture video (will be added after class).

You can run the program on GitHub pages.

Prerequisites

To work with this code, you will first need to install Node.js and Visual Studio Code.

Topics

  • Importing assets
  • Working with 2D vectors
  • Combining parent and child transformations
  • 2D animation
  • Simulating gravity

Running

You will need to set up the initial project by pulling the dependencies from the node package manager with:

npm install

After that, you can compile and run a server with:

npm run start

Webpack should launch your program in a web browser automatically. If not, you can run it by pointing your browser at http://localhost:8080.

Acknowledgments

The graphic asset was from Platformer Pack Redux by Kenney.

License

Material for CSCI 4611 Spring 2022 by Evan Suma Rosenberg is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.