Skip to content

Commit deff730

Browse files
committed
Release 0.9.0
1 parent 2262fec commit deff730

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
## 0.9.0 (rc-1)
2-
*(This set of changes is in the testing branch, but has yet to be released)*
1+
## 0.9.0
32

43
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.
54

dist/crafty-min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/crafty.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* craftyjs 0.9.0-rc2
2+
* craftyjs 0.9.0
33
* http://craftyjs.com/
44
*
55
* Copyright 2018, Louis Stowasser
@@ -6090,7 +6090,7 @@ module.exports = {
60906090
};
60916091

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

1364613648
return function(e) {
@@ -16786,7 +16788,7 @@ Crafty.c("Collision", {
1678616788
* .attr({x: 32, y: 32, w: 32, h: 32})
1678716789
* .collision([0, 16, 16, 0, 32, 16, 16, 32])
1678816790
* .fourway()
16789-
* .bind('Moved', function(evt) { // after player moved
16791+
* .bind('Move', function(evt) { // after player moved
1679016792
* var hitDatas, hitData;
1679116793
* if ((hitDatas = this.hit('wall'))) { // check for collision with walls
1679216794
* hitData = hitDatas[0]; // resolving collision for just one collider
@@ -16795,8 +16797,9 @@ Crafty.c("Collision", {
1679516797
* this.x -= hitData.overlap * hitData.nx;
1679616798
* this.y -= hitData.overlap * hitData.ny;
1679716799
* } else { // MBR, simple collision resolution
16798-
* // move player to position before he moved (on respective axis)
16799-
* this[evt.axis] = evt.oldValue;
16800+
* // move player to previous position
16801+
* this.x = evt._x;
16802+
* this.y = evt._y;
1680016803
* }
1680116804
* }
1680216805
* });

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "craftyjs",
3-
"version": "0.9.0-rc3",
3+
"version": "0.9.0",
44
"description": "Crafty is a modern component and event based framework for developing games in JavaScript that targets DOM, Canvas and WebGL.",
55
"keywords": [
66
"framework",

src/core/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = "0.9.0-rc3";
1+
module.exports = "0.9.0";

0 commit comments

Comments
 (0)