好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

planck.js

planck.js 介绍

Planck.js: Box 2D物理引擎的JavaScript重写,主要针对跨平台html5游戏开发。planck.js优化了web/移动浏览器的引擎, 提供了开源的JavaScript 代码 基础和API。 这个方式开发人员将会更加舒服的创建2D游戏和其它物理相关体验。

要尝试Planck.js,只需将planck-with-test bed .js脚本 添加 到 HTML代码 中,然后planck.test bed (callback)使用回调 代码调用 。例如:

<html><body>

<script src="https://cdn.jsdelivr.net/npm/planck-js@0.2/ dis t/planck-with-test bed .js"></script>

<script>

planck.test bed (function(test bed ) {

var world = planck.World();

// rest of your code

return world; // make sure you return the world

});

</script>

</body></html>

?

网站地址 : http://piqnt.com/planck.js/

GitHub: https://github.com/shakiba/planck.js

网站描述: 开发创建跨平台 HTML5 游戏的 2D JavaScript 物理引擎

planck.js官方网站

官方网站: http://piqnt.com/planck.js/

如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。

查看更多关于planck.js的详细内容...

  阅读:32次

上一篇

下一篇

第1节:CooperLicht    第2节:warriorjs    第3节:stage.js    第4节:Blend4Web    第5节:GSAP    第6节:goojs    第7节:famous    第8节:Easystar.js    第9节:boardgame.io    第10节:egret白鹭引擎    第11节:planck.js    第12节:webglstudio.js    第13节:cax    第14节:layaair    第15节:whs.js    第16节:EaselJS    第17节:create.js    第18节:three.js    第19节:verlet-js    第20节:react-game-kit    第21节:Phaser    第22节:OpenSC2K    第23节:matter.js    第24节:Enchant.js    第25节:Turbulenz    第26节:PlayCanvas.js    第27节:hilo    第28节:lufylegend.js    第29节:Crafty.js    第30节:Layabox    第31节:Cocos    第32节:melonjs    第33节:PhysicsJS    第34节:pixi.js    第35节:QICI青瓷引擎    第36节:Voxel.JS    第37节:cocos2d-x    第38节:Babylon.js