// terminal npm install -g parcel-bundler
// index.html <html> <body> <script src="./index.js"></script> </body> </html>
// index.js console.log("hello world")
// terminal parcel index.html
// terminal npm install -S babel-preset-env npm install -S babel-plugin-transform-object-rest-spread
// .babelrc { "presets": [ ["env", { "targets": { "browsers": [">0.25%"] } }] ], "plugins": [ "transform-object-rest-spread" ] }
with circles
with rectangles
// terminal npm install -S babel-preset-react npm install -S react react-dom
// terminal react-native init SuperGame2000 cd SuperGame2000 react-native run-ios
twitter.com/assertchris
Gravity
Ladders
Stairs
Camera locking
Mobs
Projectiles
Health
Animated sprites
Sounds and music
Gamepads
By Christopher Pitt
Writer and coder, working at ringier.co.za