Building HTML 5 + WebGL based Game using KiwiJS.

Step-1:Drag&Drop with mouse events

Fig 1. Simulating a Goal using Animation

Step-2 : JS Animations

Fig 2. Easy way to achieve Animation using a GIF Image
Fig 3. Code Snippet on requestAnimationFrame
Fig 4. Simulating bouncing of ball.
Fig 5. Simulating an Elastic Function
Fig 6. Graph of an Elastic Function


Fig 7. Background Image for Game
Fig 8. Hero Sprite Image
Fig 9. Other Images used for building the Game
Fig 10. Defining the index.html layout
Fig 11. First Cut version of Game on which Hero moves using Arrow keys
Fig 12. Game in Action
Fig 13. Code Snippet to use Camera Shifting Feature
Fig 14. Camera Shifting in Action through Code





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A-Z Logging for your node application

Create High-Performance JavaScript APIs using Rust

Prototypes in JavaScript!

How to use the useState React hook

Do you know why React is more secure?

Is JavaScript Enough to Make Yourself a Fullstack Developer?

Design Pattern “Strategy” applied with TypeScript

chart it

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Deepak Tiwari

Deepak Tiwari

More from Medium

Testbirds review

UX Case Study: Providing a solution in my environment.

CS371p Spring 2022: Christopher Carrasco — Week 13

Youtube Concept: Redesigning Collaboration