- Fix bug with padding in sprite animations
- Fix bug with canvas and viewport scrolling
- Fix bug in math.randomElementOfArray
- Improved documentation for SpriteAnimation and parts of core
- this._flipX and this._flipY support for canvas entities
Thanks to Soren for overseeing this release!
I have been making more interesting games as of late. One of them being a multiplayer 2D Minecraft clone with infinite and destructible terrain. The other being a GTA2 clone or driving simulator with a small town to drive or walk around in.
See the demos page to have a play.
The latest version of Crafty has been released.
_SATnow also returns normal of side hit.
Crafty.circle, which behaves like
TweenEndevent. It takes the Tweened property as an argument.
There has been quite a few small changes that fix bugs but no API changes. See the commit log for more information.
New version about to be released and with that comes a new API. Well not too bad but for one, every single event is now in CamelCase. This includes MouseDown and EnterFrame. Apologies as you will have to change all existing bindings to these events.
The current changelog is:
There are lots of great features in the works that you can find on the GitHub Issue Tracker or on the Google Groups. These include a merge of Tween and SpriteAnimation with keyframe support, mirroring entities and more.
Going to release the next version very soon, 0.4.3. The change log is as follows:
There are a few API changes (the last I promise) but the docs will reflect this.
OK that’s only three but that’s enough. Google Groups isn’t as great as I’d like but it’ll do.
So from now on, any questions you’d like answered, feel free to post to the Crafty Google Groups.
I have ported all the demos (except Elevator Action) to use the latest version of Crafty. I was getting lots of emails about users trying out the demos but seeing lots of errors with the new version so this should help everyone out.
Most of the changes were minor API differences and some were optimized with the newer features. Take a look!
Note: If the demos are not working, you should clear the cache
This release has a lot of bug fixes and not many new features. Take a look at the changelog for a complete view:
Expect some down time as I am porting over all the demos to the latest version.
Working on a new strategy based war game.
Earlier I reported issues with
requestAnimationFrame when changing tabs or changing the window and that using it’s counter-part
cancelRequestAnimationFrame seemed to fix the issues.
After more tests it is concluded that this is not the issue.
Getters and setters added and a major bug fixed where the stage would be removed after
window blur. It will now pause the game. If you do not want the game pausing, simply set
A settings object will be added shortly.