Evaluation of Physics Frameworks for Building Web-Based Games

Main Article Content

Resa Yogya
Raymond Kosala

Abstract

Recently, WebGL technology has shown a lot of potential for developing games. Since this technology is still relatively new, there is still much potential in the game development area that has not been explored yet. This paper explores the development of a game engine made with WebGL technology that integrates some physics frameworks for developing web-based 2D or 3D games. Specifically, we integrated three open source physics frameworks, which are Bullet, Cannon, and JigLib, into a WebGL-based game engine. We assessed these frameworks using some experiments, in terms of their correctness or accuracy, performance, completeness and compatibility. The results show that it is possible to integrate open source physics frameworks into a WebGL-based game engine, and Bullet is the best physics framework to be integrated into a WebGL-based game engine.

Dimensions

Plum Analytics

Article Details

Section
Articles

References

D. Schultheiss, “Long-term motivations to play MMOGs: A longitudinal study on motivations, experience and behavior,” DiGRA, 2007, pp. 344.

Angry Birds, [Online]. Available: http://www.angrybirds.com/.

Cut the Rope, [Online]. Available: http://www.cuttherope.ie/.

Pokemon Go, [Online]. Available: http://www.pokemongo.com/

Khronos Group, “WebGL - OpenGL ES 2.0 for the Web,” [Online]. Available: http://www.khronos.org/webgl/.

Game engines and tools, The Mozilla Developer Network, [Online].

Available: https://developer.mozilla.org/en-

US/docs/Games/Tools/Engines_and_tools

C. Marrin. "WebGL specification." Khronos WebGL Working Group, 2011.

A. Deveria. “Can I use W ebGL?” [Online]. Available: http://caniuse.com/webgl.

J. Gregory, “Foundations in Game Engine Architecture.” Massachusetts, A K Peters, Ltd., United States of America, 2009, ch. 1, pp. 3-55.

Unreal Engine. [Online]. Available: https://www.unrealengine.com/.

Construct 2. [Online]. Available: https://www.scirra.com/construct2.

Unity. [Online]. Available: http://unity3d.com/unity/.

PhysX - GeForce. [Online]. Available:

http://www.geforce.com/hardware/technology/physx.

Havok. [Online]. Available: http://www.havok.com/.

G. Mulley and M. Bittarelli. “Ragdoll Physics.” [Online]. Available: http://www.cs.rpi.edu/~cutler/classes/advancedgraphics/S07/final_proje cts/mulley_bittarelli.pdf. 2007

J. Gastrin, “Physically Based Character Simulation-Rag Doll Behaviour in Computer Games.” Royal Institute of Technology, Stockholm. 2004

Game Physics Simulation. [Online]. Available:

http://bulletphysics.org/wordpress/.

kripken/emscripten W iki ■ GitHub. [Online]. Available:

https://github.com/kripken/emscripten/wiki.

JigLibJS. [Online]. Available: http://www.jiglibjs.org/.

S. Hedman. [Online]. Available: http://schteppe.github.com/cannon.js/.

D. M. Bourg, “Physics For Game Developers.” O'Reilly Media, Inc., 2002.

C. Hecker. "Physics, part 3: Collision response." Game Developer Magazine, 1997, pp: 11-18