輕量級的HTML5游戲引擎 melonJS

jopen 14年前發布 | 30K 次閱讀 HTML5 游戲開發

melonJS 是我們過去實驗的結果,是一個開放、自由而且使用簡單的HTML網頁游戲開發包。雖然還有一個大工作正在進行中,melonJS已經可以輕松地創建一些不錯的游戲。

melonJS 集成了流行的磚塊地圖格式,可使用 Tiled map editor 所編輯的地圖,你只需要把精力放在游戲本身。

功能列表:

  • A fresh and lightweight 2D sprite-based engine
  • Standalone library (does not rely on anything else, except a HTML5 capable browser)
  • Compatible with most major browser (Chrome, Safari, Firefox, Opera, IE)
  • Multiple Audio Channel support
  • Basic physics and collision mechanisms (to ensure low cpu requirements)
  • A basic set of Object Entities (to be extended)
  • Tween effects
  • Transition effects (state and/or level change)
  • Manage basic animation
  • A state manager (to easily manage loading, menu, options or in-game screen state and switch)
  • Tiled map format version 0.7.x integration for easy level design :
    • uncompressed XML, Base64 and CSV encoded XML tilemap format
    • Orthogonal tilemap
    • Multiple layers (multiple background/Foreground layers, collision layer, "Parallax" layer)
    • Layers Alpha settings
    • Multiple Tileset support
    • Tileset Transparency settings
    • Tiled Object
    • Dynamic Layer and Object/Group ordering
    • Dynamic Entity loading (melonJS will instantiate JS object matching the object property name defined in the tilemap)
    • Solid, Platform, Slope and Breakable Tiles
    </li>
  • System and bitmap fonts
  • some basic GUI elements
  • a customizable loader, etc. . .
  • </ul>

    輕量級的HTML5游戲引擎 melonJS

    輕量級的HTML5游戲引擎 melonJS

    項目主頁:http://www.baiduhome.net/lib/view/home/1326599397734

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!