Richard Davey
493c12c807
Merge pull request #491 from nhowell/patch-1
...
Add missing spaces in CONTRIBUTING.md
2014-02-26 18:57:32 +00:00
Nicholas Howell
419076ed62
Add missing spaces in CONTRIBUTING.md
2014-02-26 10:41:13 -05:00
photonstorm
d0fa50f014
Fixed issue stopping SoundManager.volume from working correctly on a global volume basis (fix # 488)
2014-02-26 14:40:55 +00:00
photonstorm
4a97861ff8
Updated p2
2014-02-26 06:27:44 +00:00
photonstorm
5ab104ad4b
Loader.script now has callback (and callbackContext) parameters, so you can specify a function to run once the JS has been injected into the body.
2014-02-26 02:45:06 +00:00
photonstorm
1aea08d0f7
AnimationParser.spriteSheet wasn't taking the margin or spacing into account when calculating the numbers of sprites per row/column, nor was it allowing for extra power-of-two padding at the end ( fix #482 , thanks yig)
...
AnimationManager.add documentation said that 'frames' could be null, but the code couldn't handle this so it defaults to an empty array if none given (thanks yig)
Also updated TypeScript definitions and StateManager.add docs.
2014-02-26 01:32:38 +00:00
Richard Davey
4f0c764b63
Merge pull request #484 from Strato/patch-1
...
Update phaser.d.ts
2014-02-26 01:25:38 +00:00
photonstorm
29fcfc515d
Fixed TilemapParser - would spit out a tileset warning if margin/spacing were set ( fix #485 , thanks Cybolic)
2014-02-26 01:20:24 +00:00
photonstorm
994eaff92b
StateManager fixes for when you change state in the create function.
...
TilemapLayer update for WebGL.
2014-02-26 00:58:19 +00:00
photonstorm
d958b34f43
New build.
2014-02-25 23:20:06 +00:00
photonstorm
db2e3733c2
Fullscreen mode now uses window.outerWidth/Height when using EXACT_FIT as the scale mode, which fixes input coordinate errors ( fixes #232 )
...
Fullscreen mode now works in Internet Explorer and uses the new fullscreen non-prefix call.
2014-02-25 21:16:56 +00:00
Strato
375da5db14
Update phaser.d.ts
...
Missing json() method on Phaser.Loader.
2014-02-25 19:03:30 +01:00
photonstorm
741249043c
ScaleManager has 2 new events: ScaleManager.enterFullScreen and ScaleManager.leaveFullScreen, so you can respond to fullscreen changes directly.
...
Fullscreen mode now uses window.outerWidth/Height when using EXACT_FIT as the scale mode, which fixes input coordinate errors (fixes #232 )
2014-02-25 17:10:37 +00:00
photonstorm
be27442139
Fixed Fullscreen example and State preloading.
2014-02-25 16:26:11 +00:00
photonstorm
1646157c0c
Fixed documentation error.
2014-02-25 14:54:56 +00:00
photonstorm
13c99f3491
Phaser.StageScaleMode has been renamed to ScaleManager and moved from the system folder to the core folder. It's still available under game.scale.
...
If your game references the old Phaser.StageScaleMode consts like SHOW_ALL you need to update them to Phaser.ScaleManager, i.e. Phaser.ScaleManager.SHOW_ALL.
All of the Project Templates have been updated to reflect the above change.
2014-02-25 14:46:48 +00:00
photonstorm
fdde4cb7e6
Sorry, removing console.logs :)
2014-02-25 11:58:17 +00:00
photonstorm
b4dbaf9950
StateManager.start can now have as many parameters as you like. The order is: start(key, clearWorld, clearCache, ...) - they are passed to State.init() (NOT create!)
2014-02-25 11:56:57 +00:00
photonstorm
159426c6fa
Updating bower for 1.1.6 + non-minified ( #401 ).
2014-02-25 10:39:19 +00:00
photonstorm
c53a06849e
Stop Group.callAll splitting empty strings.
2014-02-25 05:20:19 +00:00
photonstorm
a24d252430
Fixed issue where Stage.update wasn't called.
2014-02-25 04:58:09 +00:00
photonstorm
a1b502fc06
Stage.smoothed allows you to set if sprites will be smoothed when rendered. Set to false if you're using pixel art in your game. Default is true. Works in Canvas and WebGL. Setting the game anti-aliased parameter now works properly too.
...
Sprite.smoothed and Image.smoothed allows you to set per-Sprite smoothing, perfect if you just want to keep a few sprites smoothed (or not).
Fixes #381 .
2014-02-25 04:41:57 +00:00
photonstorm
b255fea85f
Time.advancedTiming is a new boolean property. If true Time.fps, fpsMin, fpsMax, frames, msMin and msMax will be calculated, otherwise they remain at their defaults.
2014-02-25 04:05:28 +00:00
Richard Davey
8fafb3de56
Merge pull request #470 from indiejones/1.2
...
Method expects body
2014-02-25 04:05:21 +00:00
photonstorm
8fb2f20482
Swapping between tabs will pause and resume tweens correctly, allowing their onComplete events to still fire ( fixes #292 )
2014-02-25 03:33:47 +00:00
photonstorm
cc06a62b90
Pausing the game will now mute audio and resuming will un-mute, unless it was muted via the game ( fixes #439 )
2014-02-25 03:12:12 +00:00
photonstorm
415342d986
Vastly improved visibility API support + pageshow/pagehide + focus/blur. Working across Chrome, IE, Firefox, iOS, Android (also fixes #161 )
2014-02-25 02:59:24 +00:00
photonstorm
beaac18b8f
Active animations now monitor if the game pauses, and resume normally when the game un-pauses ( fixes #179 )
2014-02-24 23:06:45 +00:00
photonstorm
a25f6dbc3b
Physics.processRebound now takes Body direction into account, helps with body-body collision bounces (thanks ram64)
...
Fixed the Example / physics / mass velocity test.
Fixed readme typo.
2014-02-24 21:43:02 +00:00
Richard Davey
0ed1aedba7
Merge pull request #477 from JoeAnzalone/master
...
Fix "ste-up" typo
2014-02-24 21:28:23 +00:00
photonstorm
36df5516dd
Fixed full-screen anti-alias issue ( #478 ).
2014-02-24 20:33:22 +00:00
Joe Anzalone
bf8ee44d13
Fix "ste-up" typo
2014-02-24 11:08:18 -05:00
photonstorm
d9cadc70ac
The Keyboard class has had a complete overhaul. Phaser.Key objects are created automatically, there are fixes against duration and keys reset properly on visibility loss.
...
Keyboard.removeKey has been removed. The way the new keyboard manager works means it's no longer required.
Fixes issue #462
2014-02-24 15:58:02 +00:00
photonstorm
9d9fd06392
Tidying up the repo, moving old wip stuff out, clearing up the docs.
2014-02-24 12:14:31 +00:00
photonstorm
46e85c8394
Updated version to 2.0.0 (fixes npm install issue #476 )
2014-02-24 12:00:28 +00:00
photonstorm
de3583db80
Version 1.1.6 - "Shienar" - 24th February 2014
...
New Examples:
* Added lovely new little mini golf game by jpcloud.
Updates:
* Loader can now load JSON files natively (thanks lucas)
* TilemapParser now errors if the tileset isn't the right size
Bug Fixes:
* Updated Physics.Body.applyDamping so that velocity is reduced down to zero properly (thanks caezs)
* ArcadePhysics.collideSpriteVsTilemapLayer wouldn't call the process or collide callbacks if only 1 tile was involved in the check (thanks mandarinx)
* Lots of documentation fixes (thanks nhowell)
* Fix for PixiPatch so it renders masks again (thanks georgios)
* Modified ArcadePhysics.intersects so it returns a value as well as asigns (thanks bunnyhero)
* Lots of TypeScript defs fixes (thanks clark)
2014-02-24 01:32:20 +00:00
photonstorm
88f901249a
Final 1.1.6 package files.
2014-02-24 01:29:32 +00:00
photonstorm
f4ff4d88fe
1.1.6 release. The final of the 1.1 branch.
2014-02-24 01:28:13 +00:00
photonstorm
e088d5c67f
Documentation fix.
2014-02-24 00:35:11 +00:00
photonstorm
e37188d168
Phaser.Input.Key isUp now defaults to 'true' ( #474 )
2014-02-24 00:18:12 +00:00
Jonas Malm
276ef9c268
Method expects body
...
Fixes crash in map.generateCollisionData
2014-02-23 17:42:39 +01:00
photonstorm
a6d77d00a0
World gravity restored.
2014-02-23 11:42:24 +00:00
Richard Davey
94133e4c11
Updated Sound.play loop check
2014-02-22 03:05:41 +00:00
Richard Davey
b2da49eefa
Enhanced page visibility checks added
2014-02-22 02:36:02 +00:00
Richard Davey
bd24dab2f6
Merge branch '1.2' of https://github.com/photonstorm/phaser into 1.2
2014-02-22 00:46:48 +00:00
photonstorm
e266ecfe00
Starting timer tests.
2014-02-22 00:17:41 +00:00
photonstorm
be4d42a1c2
The StateManager now looks for a function called 'resumed' which is called when a game un-pauses ( fixes #358 )
2014-02-22 00:01:19 +00:00
photonstorm
ea4873e286
SoundManager.play() does not do anything with destroyOnComplete ( fix #333 )
2014-02-21 23:55:11 +00:00
Richard Davey
37323562cd
Merge pull request #469 from bburky/cdnjs-1.1.5
...
Update CDNJS link for 1.1.5
2014-02-21 23:43:28 +00:00
Blake Burkhart
f6cc40f025
Update CDNJS link for 1.1.5
2014-02-21 17:21:16 -06:00