Skip to content

Commit 45385de

Browse files
committed
Merge branch 'dev'
2 parents 2d2898b + 38f84d3 commit 45385de

File tree

177 files changed

+35916
-2992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+35916
-2992
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ _ReSharper*/
3636
[Tt]est[Rr]esult*
3737
!gruntfile.js
3838
!/build/*.js
39+
!/examples/*/.js
3940
/node_modules

README.md

+33-24
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,52 @@
1-
Release Notes 0.5.1
1+
Release Notes 0.5.2
22

33
Kiwi.js (BETA)
44
=====
55

66
###HTML5 game library written in TypeScript/Javascript
77
-----------------------------------------------------------------
88

9-
version 0.5.1
9+
version 0.5.2
1010

1111
###Release notes for this version
1212

1313
####New Features
14+
None
15+
16+
####Bug Fixes and minor changes
1417

15-
* Plugin Infrastructure
16-
See plugin documentation for details.
17-
18-
* Build Scripts
19-
Gruntfile now has three options:
20-
*grunt dev* - compiles typescript and minifies js.
21-
*grunt docs* - compiles documentation and copies kiwi logo and css over the top of compiled files.
22-
*grunt full* - does both of the above
23-
24-
####Bug Fixes
25-
Audio
18+
- Animation
2619

27-
* Audio now works in Cocoon (Audio tags only), also works on IPad 2 (Audio Tags) & Ipad 3 (WebAudio) API.
28-
29-
* On Ipad2 switching between sounds held in multiple audio tags can cause the removal of some audio from memory.
30-
31-
* ArcadePhysics
32-
Fixed code inconsistencies
20+
- 'isPlaying' property is now a more accurate representation of if an animation isPlaying.
21+
- Callbacks are now dispatched after the cell on the Sprite updates instead of before. Because of this the way it was being handled has updated.
22+
- The current animation no longer 'resets' to the first frame if the 'switchTo' is told the play the current animation.
23+
24+
- Audio
25+
- Mute/Volume bug fixed. Left over from removal of the DOM system.
26+
- Stop method reorganised. isPlaying set to false before onStop event dispatched to prevent sound playing issues.
27+
- Bug with the audio file data not being set in some case's has been fixed.
28+
29+
- WebGL
30+
- Stage now resizing correctly
31+
32+
33+
- Destroy method by default is executed at the end of the next update loop. Also you can switch the 'exists' property to 'false' to signal that the destroy method should be executed on the next update.
34+
- To make the destroy method immediately execute you can pass a boolean (true) to the destroy method. This is always the last parameter passed.
35+
36+
- The keyboard manager is now always 'active' and used in Kiwi. Previously was only used if the device didn't support touch but this generated some problems with touch devices that have keyboards.
37+
38+
- how-to-setup-tests.txt replaced/updated with a readme.txt in the examples folder.
39+
40+
- Arcade Physics now use's the x/y of a hitbox when seperation objects. Watch out though as it is now the worldX/Y and as such physics for gameobjects within groups could be affected.
3341

34-
Build Scripts
35-
A number of typescript files were updated to allow compilation using the node based Typescript compiler 0.9.0.1.
3642

3743
####Changes to API pre-exisiting API in this release
38-
None - this release contains only bug fixes and new features, games that ran under 0.5.0 should run identically on 0.5.2
39-
Note: To run the new grunt build script you'll need to update your node packages by doing npm install
44+
- rotPointX/rotPointY now aliased to Entities (will not affect any existing games)
45+
- Animation Manager: Added four new signals. onPlay, onStop, onUpdate, onChange
46+
- new method Kiwi.Stage.resize replaces settable width and height properties due to a WebGL issue. ** NOTE: games that set these properties will need to be updated to use the resize method**
4047

48+
####New Known Issues
49+
When using CocoonJS and WebGL, non power of 2 sized textures lose the alpha channel resulting in a black background. This is a Cocoon issue. Use power of 2 sized textures to avoid this.
4150

4251

4352
-------------------------------------------------------------------
@@ -118,4 +127,4 @@ Ben Harding
118127
Richard Davey
119128
Ross Kettle
120129

121-
Kiwi.js also uses code from a number of open source projects. Effort has been made to clearly identify authors in the code comments. If you notice and missing or incorrect attribution please let us know.
130+
Kiwi.js also uses code from a number of open source projects. Effort has been made to clearly identify authors in the code comments. If you notice and missing or incorrect attribution please let us know.

0 commit comments

Comments
 (0)