Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
starwed committed Feb 17, 2018
1 parent 2262fec commit deff730
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
## 0.9.0 (rc-1)
*(This set of changes is in the testing branch, but has yet to be released)*
## 0.9.0

A large number of performance improvements lead to a larger than normal set of breaking changes in this release. There was some refactoring of control systems, and built-in support for freezing entities allows for some performance optimizations when spawning and destroying large numbers of identical entities.

Expand Down
10 changes: 5 additions & 5 deletions dist/crafty-min.js

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions dist/crafty.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* craftyjs 0.9.0-rc2
* craftyjs 0.9.0
* http://craftyjs.com/
*
* Copyright 2018, Louis Stowasser
Expand Down Expand Up @@ -6090,7 +6090,7 @@ module.exports = {
};

},{"../core/core.js":10}],19:[function(require,module,exports){
module.exports = "0.9.0-rc2";
module.exports = "0.9.0";
},{}],20:[function(require,module,exports){
// Define common features available in both browser and node
module.exports = function(requireNew) {
Expand Down Expand Up @@ -13563,9 +13563,10 @@ Crafty.extend({
*
* If this is set to true, it is expected that your entities have the `Touch` component instead of the `Mouse` component.
* If false (default), then only entities with the Mouse component will respond to touch.
* It's recommended to add the `Button` component instead, which requires the proper component depending on this feature.
* For simple use cases, tt's recommended to add the `Button` component instead, which requires the proper component depending on this feature.
*
* @note The multitouch feature is currently incompatible with the `Draggable` component and `Crafty.viewport.mouselook`.
* @note When multitouch is not enabled, Crafty will cancel touch events when forwarding them to the mouse system.
*
* @example
* ~~~
Expand Down Expand Up @@ -13641,6 +13642,7 @@ Crafty.extend({
first.target.dispatchEvent(simulatedEvent);
}
}
e.preventDefault();
}

return function(e) {
Expand Down Expand Up @@ -16786,7 +16788,7 @@ Crafty.c("Collision", {
* .attr({x: 32, y: 32, w: 32, h: 32})
* .collision([0, 16, 16, 0, 32, 16, 16, 32])
* .fourway()
* .bind('Moved', function(evt) { // after player moved
* .bind('Move', function(evt) { // after player moved
* var hitDatas, hitData;
* if ((hitDatas = this.hit('wall'))) { // check for collision with walls
* hitData = hitDatas[0]; // resolving collision for just one collider
Expand All @@ -16795,8 +16797,9 @@ Crafty.c("Collision", {
* this.x -= hitData.overlap * hitData.nx;
* this.y -= hitData.overlap * hitData.ny;
* } else { // MBR, simple collision resolution
* // move player to position before he moved (on respective axis)
* this[evt.axis] = evt.oldValue;
* // move player to previous position
* this.x = evt._x;
* this.y = evt._y;
* }
* }
* });
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "craftyjs",
"version": "0.9.0-rc3",
"version": "0.9.0",
"description": "Crafty is a modern component and event based framework for developing games in JavaScript that targets DOM, Canvas and WebGL.",
"keywords": [
"framework",
Expand Down
2 changes: 1 addition & 1 deletion src/core/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = "0.9.0-rc3";
module.exports = "0.9.0";

0 comments on commit deff730

Please sign in to comment.