Game Programming Patterns part 12.2 - (JavaScript + P5.js) Update Method
Channel:
Subscribers:
7,960
Published on ● Video Link: https://www.youtube.com/watch?v=V_R1gtIY9-c
We convert the player and the obstacles into entities so that we can run the update method on them. The code is greatly simplified and will make it easier to add features to the game in the future.
Links
code - [https://github.com/brooks-builds/learning_game_design_patterns](https://github.com/brooks-builds/learning_game_design_patterns)
twitter - [https://twitter.com/brooks_patton](https://twitter.com/brooks_patton)
book - [http://gameprogrammingpatterns.ocm/](http://gameprogrammingpatterns.ocm/) -- Watch live at https://www.twitch.tv/brookzerker
Other Videos By Brooks Builds (brookzerker)
Tags:
twitch
games
gamedev
javascript
p5.js
update method
game dev patterns