Skip to main content

Gojira SMASH with Matter.js

+Jason Bailey gave me an article on Matter.js a Javascript physics engine created by Liam Brummitt.
The tutorial by @liabru creates a simple slingshot/angrybird type game.
I've had a play, and the engine is quite simple, and it's really refreshing to edit and review the changes directly in the browser without any build nonsense... though I must say it's made my old white macbook fans spin up a fair bit when I made a couple of duff calls and spawned hundreds of fireballs.

So here you have my copy of @liabru 's codes  *

For some reason the fireball release isn't clean, I think I need to adjust the release, respawn timing... I'd also like to add a bit more oomph to the fireballs, and some smoke particle effects, and some background music, and creature noises...maybe tomorrow.

*closed down my Laughing squid hosting which means a few scripts like this one have become un-homed. I have transferred to a free Azure hosting offering.

Popular posts from this blog


Spine again - animating game assets

Laura Tallarday gave a neat demo of how to build an animation in Spine on the CoronaGeek Hangout, so I had a bash at chopping up an image and animating it.
The plan is to add some more sophisticated animations to the new game "Duck sized horse".. but as was discussed in the show adding a whole bunch of spine animated objects might hammer a mobile device... and as the aim is to have 100 tiny duck sized horses, I'd best choose another approach for them.

anyway here's a swaying viking...

Using Corona SDK

Corona Architecture Overview
Diagram showing the Corona SDK architecture -source Walter Lua - CEO Corona The development process. I built the game "Ninja Dinosaurs vs Pirate Robots" in a series of 4 development sprints. I used a familiar game format, the "Infinite Runner" to guide the overall structure, and built the game using the Agile development methodology and Simplicity principle: "simplicity: write the simplest code to do the job, do not provide hooks in your code for ‘future needs" - this prevents scope creep. Studies by Jones (2009) have shown that Agile is most effective with small teams. Agile focuses on swift iterative cycles creating instances of working code, which are constantly reviewed and guided by the end users rather than a rigid commitment to a fixed system architecture. It values working code over heavy documentation, as might be encountered in a more traditional waterfall development approach.
Game Summary. Whilst the game is an inf…