The web platform has had a tremendous growth in recent times with the help of HTML5, WebGL, and the increased power of the current generation of devices. Now mobile devices and browsers are capable of delivering high-performing content both in 2D and 3D. The familiarity of JavaScript (JS) as a scripting language has also been a driving factor, after the demise of the Flash web platform.

Continue Reading

Views: (9)
(0)

In the third tutorial of the series, you learned about different methods and properties of the Body module in Matter.js. The Body module enables you to manipulate simple bodies like circles, rectangles, and trapeziums. Matter.js also has other modules to help you create and manipulate some complex but common composite bodies like cars, chains, pyramids, stacks, and soft bodies.

Continue Reading

Views: (51)
(0)

In the previous tutorial of the series, you learned about the World and Engine modules in Matter.js. The methods available in these two modules are meant to control the behavior of multiple bodies or the whole world at once. However, at some point it will become necessary to have control over the properties of individual bodies in your world.

Continue Reading

Views: (23)
(0)

Matter.js is a 2D rigid body physics engine written in JavaScript. This library can help you easily simulate 2D physics in the browser. It offers a lot of features like the ability to create rigid bodies and assign physical properties like mass, area or density to them. You can also simulate different kinds of collisions and forces like gravity and friction.

Continue Reading

Views: (28)
(0)

Have a great idea for an iOS game but are turned off by the hours of tedious work involved in bringing your concept to life? Well, that’s what templates are for. Why waste time reinventing the wheel when СodeHolder is filled with a brilliant range of iOS game templates that will help you cut through the drudgery and focus on the best parts of creating your own game?

Continue Reading

Views: (33)
(0)