Java游戏引擎 JBox2D

openkk 13年前
     <div id="p_fullcontent" class="detail">     <p>jbox2D 物理引擎原版 Box2D 是采用C++编写的(<a href="/misc/goto?guid=4958195178268555704" target="_blank">Box2D </a>是一个开源的 C++ 2D物理引擎。),后来扩展到java,as等多种版本。著名手机游戏愤怒的小鸟便是采用jbox2D物理引擎。不过java版得jbox2D引擎性能不如C++环境下运行的性能好。在性能配置比较好的手机上面,jbox2D效果也是不错的。</p>     <p><img title="游戏引擎 JBox2D" border="0" alt="游戏引擎 JBox2D" src="https://simg.open-open.com/show/3618140ce1ebaed4e7f9251822c11c6a.png" width="456" height="377" /></p>     <h2>特性</h2>     <ul>      <li>Rigid body physics</li>      <li>Stable stacking</li>      <li>Gravity</li>      <li>Fast persistent contact solver</li>      <li>Dynamic tree broadphase</li>      <li>Sliding friction</li>      <li>Boxes, circles, edges and polygons</li>      <li>Several joint types: distance, revolute, prismatic, pulley, gear, mouse</li>      <li>Motors</li>      <li>Sleeping (removes motionless bodies from simulation until touched)</li>      <li>Continuous collision detection (accurate solving of fast bodies)</li>      <li>Ray casts</li>      <li>Sensors</li>     </ul> 项目地址:     <a href="/misc/goto?guid=4958195179007461145" target="_blank">http://www.jbox2d.org/</a>     <br />     <p></p>    </div>