Friday, 11 December 2020

Chaos Theory Flash Game

  • There's a Flash game I like but Flash won't be supported past Dec-2020
  • I wrote a cut-down version with HTML5 at https://chaos-theory-flash.kkwoo.repl.co/
  • There were a few challenges
    • Getting started
    • Learning the following from scratch
      • HTML5
      • CSS
      • JS
      • Suitable libraries
        • At first I went with phaser and other game libraries
        • I departed from game libraries because they were suited to platform games and other traditional games involving a protagonist player and enemies 
        • So I chose Pixi.js
      • Pixi.js
      • GSAP
    • Limited concentration time
    • This led to increased planning
    • Resulted in several minimum viable products
      • Learning pixi.js
        • Get the quickstart working
        • Get shape sprites working
        • Get containers working
      • Get collision detection working
        • Copy/paste spicyoghurt code
      • Get tweening working
        • GSAP piece
      • Construct game logic
        • Something to play the game once
      • Add a main screen
      • Add a link to start a new game
        • I did this only because I'm tired of hitting reload on the browser and wasting mobile data
    • Next steps are
      • make it more like the original
        • Cool comments/insults based on scoring
        • 3 rounds instead of 1
      • refactor the code because it's terrible design
    • However, I'm content with the game as it now stands

No comments:

Post a Comment

Note: only a member of this blog may post a comment.