• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

martinwells/playcraftengine: An HTML5 game engine

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

martinwells/playcraftengine

开源软件地址:

https://github.com/martinwells/playcraftengine

开源编程语言:

JavaScript 99.6%

开源软件介绍:

Playcraft is a javascript HTML5 game engine focused on an entity systems design. You can find more information and documentation at http://playcraftlabs.com

0.5.7

  • Tweening support - see pc.components.Mover added
  • Tweening demo added
  • More support for cocoonJS
  • More flexible server support (thanks dobesv)
  • pc.CanvasImage now support rotation and composition (thanks dobesv)
  • Sub-image support
  • Better Tiled integration (loading spritesheet, zindex, origin parameters, multiple tilesets and empty block skipping)
  • [bug] Fixed objectId/uniqueId not being set correctly for components
  • [bug] getTile checked isOnMap correctly
  • [bug] Safari 6+ now support memory graphs properly
  • Lots and lots of other bugs fixed

0.5.6

  • hex tile maps now supported using (pc.HexTileLayer)
  • spritesheets can now have frame relative draw offsets
  • all components now have an active flag which disables a component, without having to remove it (e.g. entity.getComponent('fade').active = false)
  • new input type DEVICE_ORIENTATION added to input.js (thanks natchiketa)
  • yourgame sample project now demonstrates how to do multiple scenes and a simple menu system
  • yourgame sample project is more organized (moving towards it being a template)
  • a compatibility fix was added for IE9+ (property clones required init's -- still working on tracking down the issue)
  • fixed IE not wanting to load base64 encoded XML (i.e. levels in Scrollia)
  • fixed the timer function for non-animation frame browsers (IE)
  • components now use a static type naming, rather than dynamic this.Class.shortName to avoid inheritance typing issues
  • a new demo: customcomponent added to show a simple example of a mousehover (thanks Leandro)
  • MOUSE_LEFT_BUTTON and MOUSE_RIGHT_BUTTON are now MOUSE_BUTTON_LEFT_UP, MOUSE_BUTTON_LEFT_DOWN etc (thanks Leandro)
  • fixed pc.SpriteSheet image option left out of the API call docs
  • you can now set the friction and linear damping of physics components at runtime (setFriction and setLinearDamping)
  • pc.Image.resize exposed in the API. setScale has some better docs on how to scale to a particular pixel size
  • fixed bug in entity.removeTag
  • fixes for scaling (thanks David)
  • fixed fade component not correctly looping infinitely (when loops:0 used)
  • when adding a scene you can now specify to not make it active - addScene(scene, false);
  • loader will now correctly call onLoaded callback if no resources are being loaded
  • fixed a bug in pc.Point.dirTo not returning correct angles in some cases

0.5.5

  • fixed scrollia demo level1.tmx not loading correct tileset path
  • pc.Poly shape class added to math.js
  • Slopes for tile maps - Tiled integration support arbitrary polygons
  • physics.setLinearVelocity and setAngularVelocity now also wakes up the physics body
  • added device iPod and iOS detection (pc.device.isiPod and pc.device.isiOS)
  • sound is by default disabled on iOS devices (we're working on methods to help with sound on mobile safari)
  • pc.Sprite and pc.SpriteSheet API docs were not linked in the API list
  • fixed a bug when loading resources that have mixed case resource names (thanks Jett)
  • fixed pc.systems.EntitySystem API docs (and added it to the API list)
  • fixed bug in togglePauseResume (thanks Jett)
  • fixed pc.DataResources not loading on some Firefox versions
  • scrollia demo is now organized into separate files/folders
  • fixed add/sub color bug in pc.Color (thanks Eemeli)

0.5.4

  • pc.Tools.arrayRemove fixed if multiples of the same element exist (thanks im007boy)
  • spin effects added (pc.components.Spin)
  • scale effects added (pc.components.Scale)
  • input component actions bug fix
  • spatial and physics are now synced

0.5.3

  • onResize fixed
  • input components can now take an optional 'target' entity, where states and actions will be set/sent.
  • minor fixes to touch input handling
  • Scrollia demo updated to show how to implement touch controls
  • Polygon drawing component added - pc.components.Poly
  • Circle drawing component added - pc.components.Circle

0.5.2

  • jQuery dependencies have been removed, and jQuery is no longer included with the engine. Most of the changes are in the gamecore class structuring. We needed to do this to increase compatibility with the iOS accelerator and some SmartTV setups. And generally a desire to not depend on other libraries where possible. The good news is we save 100+K on the minified build. You'll need to manually include jquery from now on if you need it.
  • gamecore base class moved to it's own file (gamecore/src/base.js)
  • gamecore load ordering changed (now: gamecore.js, class.js then base.js)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
dusk-rs/dusk: The Dusk game engine & game server.发布时间:2022-06-08
下一篇:
Bombfuse/emerald: A 2D rust game engine focused on portability.发布时间:2022-06-08
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap