Pong in JavaScript (using ES6)
Автор: Meth Meth Method
Загружено: 2016-08-18
Просмотров: 89937
In this episode I write a Pong game in JavaScript from scratch.
Some key technologies we will look at are
Object Oriented Programming
ES6 class with getter and setter
Canvas
requestAnimationFrame()
Handling user input
Since we are writing ES6 this code might not run on all browsers yet. I was running Chrome 52 when I wrote this and if you wish to follow I recommend you do too.
The initial HTML file can be found here:
https://github.com/meth-meth-method/p...
Try it:
https://meth-meth-method.github.io/pong/
Source code:
https://github.com/meth-meth-method/pong
Music:
Demoscene Time Machine
http://demoscenetimemachine.com
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: