photonstorm
5526a7322b
Warning: This version has a new ArcadePhysics handler in it. Don't upgrade if you need this for live game code, wait until we go to master. Otherwise, this commit contains lots of new physics demos and a new updateMotion and Body class to try and fix, once and for all, the physics issues with applied forces.
2014-01-02 23:28:22 +00:00
photonstorm
902ffee808
Loader.progressFloat contains the actual non-rounded progress value, where-as Loader.progress contains a rounded value. Use progressFloat if you've > 100 files to load.
2013-12-31 17:35:40 +00:00
photonstorm
d1cd1df9a5
Lots of fixes and updates to the Button class, InputHandler for snap offsets, Sound looping and Stage scaling.
2013-12-31 17:03:09 +00:00
photonstorm
86f6ddcbc8
Two new particle examples and a group animation example. Also fixed CocoonJS sound issue and Cache sound locked bug.
2013-12-31 03:37:11 +00:00
photonstorm
3b87ce9fc9
Brand new Gamepad API support fully implemented (thanks to Karl Macklin), with examples to show use.
2013-12-31 01:45:30 +00:00
photonstorm
29d7cc36a0
Merge branch 'gamepadsupport' of https://github.com/karlmacklin/phaser into karlmacklin-gamepadsupport
...
Conflicts:
README.md
2013-12-31 00:44:11 +00:00
photonstorm
ba74bea4b4
New Group.destroy example and patched the desyrel font xml.
2013-12-30 21:36:50 +00:00
photonstorm
ce4cf531d4
Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.
2013-12-30 16:54:00 +00:00
photonstorm
fdbdd81b7b
Updated some docs, added the new renderHidden parameter for Canvas and updated the RenderTexture examples as a result.
2013-12-27 00:26:21 +00:00
Richard Davey
2c8077835c
Merge pull request #251 from cocoademon/physics_self_collide_fix
...
Don’t test self-collisions
2013-12-26 15:10:28 -08:00
Richard Davey
923a10ee81
Input no longer sets cursor to default if already set to none
2013-12-26 00:52:01 +00:00
photonstorm
167a498a5e
Phaser.Game constructor can now be passed a single object containing game settings + Stage settings, useful for advanced configurations.
2013-12-24 03:18:55 +00:00
photonstorm
0acef49a7c
RenderTexture now displays correctly in Canvas games.
...
Stage.display property added. A direct reference to the root Pixi Stage object (very useful for RenderTexture manipulation)
2013-12-23 04:20:09 +00:00
photonstorm
bf72b4d3b0
Tilemap.createFromObjects can now turn a bunch of Tiled objects into Sprites in one single call, and copies across all properties as well.
2013-12-22 04:27:12 +00:00
photonstorm
63d90a0176
Sprites that are fixedToCamera can now be input dragged regardless of world position.
2013-12-22 03:46:08 +00:00
photonstorm
3cbb820349
You can now load any binary file via the Loader: game.load.binary(key, url, callback) - the optional callback allows for post-load processing before entering the Cache.
2013-12-20 18:27:36 +00:00
photonstorm
352749e803
Collision commands in and working. Updated sci-fly example. Multiple layers rendering. Mixed tile size on one layer rendering, but collision is grid bound.
2013-12-19 05:09:49 +00:00
photonstorm
4c7a4ebf62
Tiled map loader now working much better, rendering, layering properly.
2013-12-19 03:49:28 +00:00
photonstorm
5cf7ed4fdb
More TypeScript updates.
2013-12-18 16:56:14 +00:00
photonstorm
f991f9cee8
Tweens have a new event: onLoop.
...
Tweens - Example showing how to use the tween events, onStart, onLoop and onComplete.
Lots of documentation fixes in the Tween class.
Tweens fire an onLoop event if they are set to repeat. onComplete is now only fired for the final repeat (or never if the repeat is infinite)
Tween.onStart is now called when the tween starts AFTER the delay value, if given (thanks stevenbouma)
2013-12-18 13:02:01 +00:00
photonstorm
b2c680811b
New unified Tiled loader.
2013-12-18 13:02:01 +00:00
photonstorm
50eee95c99
Improved TilemapLayer rendering and debug rendering significantly. Cleared out some old assets and added a new map.
2013-12-18 00:44:04 +00:00
photonstorm
dd7ae12271
ArcadePhysics.overlap and collide now recognise TileSprites in the collision checks.
2013-12-17 16:48:03 +00:00
Richard Davey
a0961f27df
Merge pull request #266 from cocoademon/physics_instability_fix
...
Physics instability fix. I'm merging this in so I can test it against the updates here.
2013-12-17 04:36:38 -08:00
photonstorm
896e9af9f5
TilemapLayers now render tiles correctly, with our without debugging overlay. Collision working well across single and index ranges.
2013-12-17 05:07:00 +00:00
Cameron Foale
b8dbb5d125
Take dt into account for gravity calculations
2013-12-17 14:38:44 +11:00
Cameron Foale
388e42c80a
Remove invalid multiply by 60 in Phaser.ArcadePhysics.updateMotion
2013-12-17 13:45:15 +11:00
photonstorm
7917eac255
Added Matching Pairs game and updated fixed to camera example.
2013-12-16 15:16:44 +00:00
photonstorm
a361a18616
Updated IE11 check, forces IE11 to use Canvas renderer even in AUTO mode.
2013-12-13 14:04:14 +00:00
Richard Davey
1b954066a6
Merge pull request #247 from cocoademon/trim_fix
...
Switch method of using trimmed sprites to support scaling and rotation
2013-12-11 16:52:01 -08:00
photonstorm
da5d8c9272
Updated p2.js to latest build.
2013-12-11 03:20:33 +00:00
Cameron Foale
56389fcaf4
Fix riding on platforms
2013-12-11 10:25:57 +11:00
photonstorm
669570c701
Tidying up the examples and more Tilemap work.
2013-12-10 12:23:42 +00:00
photonstorm
af5847e8e4
Tilemap and game core loop updates.
2013-12-09 16:40:48 +00:00
Richard Davey
2071fc22fc
Merge pull request #253 from jcd-as/dev
...
fix Pixi bug (#425 ) - fix incorrect width property for multi-line Bitmap...
2013-12-09 02:01:24 -08:00
Cameron Foale
3e1207e1a3
Split world update into preUpdate and update.
...
This allows moving the state.update() call to before world.update(),
meaning results of collisions checked in the state are available to
objects in their own update().
2013-12-09 15:46:02 +11:00
Josh Shepard (jcs)
8ade29d982
fix Pixi bug ( #425 ) - fix incorrect width property for multi-line BitmapText
...
(Pixi has already merged the fix)
2013-12-08 09:50:21 -08:00
photonstorm
886618c056
Tilemap collision fixed, regardless of rotation, number of overlapping tiles and speed (to a point anyway). Maps also don't crash if they are smaller than the render area. Layers can be positioned successfully anywhere in camera but collision isn't yet offset for this.
2013-12-06 04:34:27 +00:00
photonstorm
ca3c71e8f5
Added max overlap clamp.
2013-12-06 02:44:06 +00:00
photonstorm
8e289e6b7c
Mostly working, just need to apply a max overlap to avoid tunneling, although a ray would be better.
2013-12-06 02:34:28 +00:00
photonstorm
1f513a333e
Fixed an issue where passing null as the Group parent wouldn't set it to game.world as it should have (thanks tito100).
...
Continued work on the tilemap collision - again, please don't use this version if you need working tilemaps.
2013-12-06 01:07:25 +00:00
photonstorm
ea3802a556
Lots of new tilemap code in here. If your game relies on tilemaps then please don't update to this commit unless you want to help debugging!
2013-12-05 18:12:16 +00:00
photonstorm
cd314cd03e
Group.length now returns the number of children in the Group regardless of their exists/alive state, or 0 if the Group is has no children.
2013-12-05 09:14:49 +00:00
Richard Davey
eb3d8241ca
Merge pull request #250 from cocoademon/camera_bounds_fix
...
Switch Camera.setBoundsToWorld to match world.bounds instead of world
2013-12-05 01:11:59 -08:00
John
2e11801f9f
Added a fix for fullscreen scaling in firefox.
2013-12-05 07:15:50 +00:00
Cameron Foale
f6712da774
Switch Camera.setBoundsToWorld to match world.bounds instead of world
2013-12-05 16:28:17 +11:00
Cameron Foale
b48669dded
Don’t test self-collisions
2013-12-05 16:26:03 +11:00
Cameron Foale
8469a9c51e
Switch method of using trimmed sprites to support scaling and rotation
2013-12-05 14:52:26 +11:00
John
b978a2b73b
Introduced a separate stage.fullScreenScaleMode property that is used to decide scaling when fullscreen.
2013-12-05 01:00:36 +00:00
photonstorm
c5c754725a
* When a Sprite is destroyed any active filters are removed as well.
...
* Updated Pixi.js so that removing filters now works correctly without breaking the display list.
2013-12-04 22:39:53 +00:00
Josh Shepard (jcs)
539dcdd18a
move 'dirty' flag for Tilemap to a per-layer flag. Fixes #242
2013-12-04 09:42:25 -08:00
photonstorm
666df67453
Tidying up the wip folder and updating pixi.
2013-12-03 20:50:34 +00:00
photonstorm
42c0bed502
Fixed World.scale and Group.scale.
2013-12-03 02:13:57 +00:00
Richard Davey
f9ee9bfc0e
Merge pull request #239 from jcd-as/dev
...
move TilemapLayer positioning/rendering to postUpdate to be in line with...
2013-12-01 04:50:39 -08:00
Josh Shepard (jcs)
2b99cb4be4
move TilemapLayer positioning/rendering to postUpdate to be in line with ‘normal’ Sprites.
...
reverts e91d40b9fc
- fix was incorrect & regressed fixedToCamera Sprites’ & TilemapLayer positioning.
Fixes #237
2013-11-30 17:40:24 -08:00
photonstorm
0256117307
Preparing dev branch for 1.1.4
2013-11-29 19:40:28 +00:00
photonstorm
00a9897ae2
Updated Filter resolution to a 2f and added Blur and Marble filters.
2013-11-29 12:26:53 +00:00
Richard Davey
378ffc7ade
Caustics filter
2013-11-29 10:39:52 +00:00
photonstorm
f22159e257
Updated documentation.
2013-11-28 15:57:09 +00:00
photonstorm
8da9b67c18
Loader fixed for tilemap data.
2013-11-28 14:22:47 +00:00
photonstorm
780b8a5d6d
New filters and demos: LightBeams, Fire and Tunnel. Also Loader can now load script files.
2013-11-28 05:43:35 +00:00
Josh Shepard (jcs)
e91d40b9fc
fix for ’jitter’ in scrolling where tilemaps & sprites are one frame off from each other
...
Fixes #214
2013-11-27 16:25:20 -08:00
photonstorm
a9a46bfbbf
Lots of documentation updates and new Loader examples.
2013-11-27 16:33:49 +00:00
photonstorm
4926fac578
New non-conflicting Loading system in place. Creating tests.
2013-11-26 21:10:01 +00:00
photonstorm
2fc5c89c1e
Preparing to extend the Loader to handle script loading.
2013-11-26 17:14:21 +00:00
Richard Davey
e8646def64
Merge pull request #231 from jcd-as/dev
...
update the collision hulls in sprite->sprite separations (in addition to...
2013-11-26 03:54:40 -08:00
photonstorm
141337bed9
Heavily optimised PixiShader.
2013-11-26 05:13:56 +00:00
Josh Shepard (jcs)
f4688241d2
update the collision hulls in sprite->sprite separations (in addition to sprite->tile separations)
2013-11-25 20:58:39 -08:00
photonstorm
86584a636c
Added new Phaser.HEADLESS render mode (doesn't output anything).
2013-11-25 14:53:30 +00:00
photonstorm
06a17b4b26
Fixed an issue in Text. Fixed the background color issue with Canvas games. Updated the Examples viewer so the side-by-side focuses the iframe now. Added new "Extend Group" example.
2013-11-25 13:12:03 +00:00
photonstorm
299115ca5d
The entire Phaser library has been updated to match the new JSHint configuration.
2013-11-25 04:40:04 +00:00
photonstorm
13a2cc2feb
Updating all files to adhere to the JSHint settings and fixing lots of documentation errors on the way.
2013-11-25 03:13:04 +00:00
Richard Davey
373b97648d
Documentation updates
2013-11-24 23:52:31 +00:00
photonstorm
a876fdd2b6
README update, Loader audio path fix and Tween.isRunning fix.
2013-11-24 13:16:55 +00:00
Richard Davey
cbd9b77327
Merge pull request #218 from TheJare/dev
...
Fix normalizeAngle and wrapAngle (again?)
2013-11-24 05:09:06 -08:00
photonstorm
d30e2974c4
Updated JSHint configuration, README and started working through source files against JSHint.
2013-11-24 12:51:20 +00:00
photonstorm
155c863d69
New Timer class and scale event updates.
2013-11-24 11:04:58 +00:00
TheJare
8015194daa
Fix normalizeAngle and wrapAngle (again?)
2013-11-23 02:58:02 +01:00
photonstorm
b286093093
Opps forgot to fix a rogue filter which caused the lib to crash.
2013-11-21 05:31:23 +00:00
photonstorm
496639ff25
Added Phaser.Filter and started moving the shaders over into their own filter classes, so they won't all get bundled in unless needed.
2013-11-21 05:00:07 +00:00
Richard Davey
e32c127a97
Merge pull request #212 from TheJare/dev
...
Fixes to Math and Loader
2013-11-20 04:51:25 -08:00
Richard Davey
ca297318f0
Merge pull request #211 from cocoademon/fix_skip_children
...
Fix a silly mistake in skip preupdate/update for PIXI objects
2013-11-20 04:50:34 -08:00
photonstorm
93fcb7acbf
Loads more shaders and some fixes and enhancements to PixiShader
2013-11-20 04:04:48 +00:00
photonstorm
e620c99479
ShaderToy convertor up and working, lots of shaders being turned into Pixi filters :)
2013-11-20 02:28:28 +00:00
TheJare
f115a2dbf8
Remove references to GameMath, it's just Math now
...
Throw exceptions if wrong format given to tilemap or textureatlas. Previously, old onload remained active and error happened in the wrong (and hard to diagnose) place.
2013-11-20 00:12:37 +01:00
Cameron Foale
9b6bfa5f37
Fix a silly mistake in skip preupdate/update for PIXI objects
2013-11-20 09:45:27 +11:00
Cameron Foale
7ef5ab8c98
Skip preupdate/update for PIXI hierarchies in which an ancestor doesn't exist
2013-11-19 16:29:02 +11:00
photonstorm
b63bd14172
ScaleMode fix, BitmapData change and Device updates.
2013-11-18 20:27:40 +00:00
photonstorm
a5f2d65d23
Fixing a few more Pixi issues.
2013-11-17 12:31:57 +00:00
photonstorm
7ad4164e3a
Expanding BitmapData
2013-11-17 04:33:16 +00:00
Richard Davey
ba6863bdf5
bmd tweaks
2013-11-17 00:55:28 +00:00
photonstorm
38bd00b4ed
ArcadePhysics.separateTile wasn't returning the value, so the custom process callback wasn't getting called (thanks flameiguana)
2013-11-16 13:47:12 +00:00
photonstorm
83cacb93a0
More updates to BitmapData.
2013-11-15 20:40:55 +00:00
Richard Davey
ebe441666c
BitmapData object added
2013-11-13 20:57:09 +00:00
Richard Davey
6a24d6116b
Lots of renderTexture updates and examples added
2013-11-13 06:49:24 +00:00
Richard Davey
e4faa34908
Merge pull request #188 from Izzimach/izz
...
Switched Tilemap to use user-specified layer.
2013-11-12 16:33:43 -08:00
Richard Davey
71b08cafbd
Merge pull request #184 from crazysam/dev
...
Implementing PluginManager.remove, added PluginManager.removeAll
2013-11-12 16:32:43 -08:00
Richard Davey
9dc7c73135
Merge pull request #181 from jcd-as/dev
...
Added scrollFactorX/scrollFactorY to TilemapLayers
2013-11-12 16:31:51 -08:00
Richard Davey
e271f69527
Merge pull request #170 from beeglebug/selectors
...
Phaser.Game parent can now be a HTMLElement
2013-11-12 16:26:42 -08:00
photonstorm
46cf024a35
filter test updates
2013-11-09 02:16:52 +00:00
Izzimach
1d20c07ed9
Merge remote-tracking branch 'origin/dev' into izz
2013-11-08 12:04:24 -07:00
Izzimach
18a07f7a88
Switched Tilemap to use user-specified layer.
...
Tilemap was using the current layer even if a layer was specified as a
parameter in getTile/setTile. Changed it to use the user layer if one is
specified.
2013-11-08 11:40:07 -07:00
Samuel Batista
084c4239e5
Implementing PluginManager.remove function, added PluginManager.removeAll function.
2013-11-08 01:11:36 -05:00
Josh Shepard
b35da01cfc
Added scrollFactorX/scrollFactorY to TilemapLayers - controls rate of movement of layers as a factor of camera position
2013-11-07 10:44:04 -08:00
photonstorm
3f99b691c9
Added in a Group.sort demo, also updated the documentation and build files.
2013-11-07 06:10:15 +00:00
photonstorm
42cd8bd812
Added Group.sort, can sort the Group based on any given numeric property (x, y, health), finally you can do depth-sorting :)
2013-11-07 04:31:37 +00:00
photonstorm
789f0bb0a1
Fixing up Group.sort
2013-11-06 17:43:01 +00:00
photonstorm
dfb22f1044
Tracked down an evil bug in Group.swap that caused the linked list to get corrupted in an upward (B to A) neighbour swap.
2013-11-06 16:46:21 +00:00
photonstorm
8b793cd8d7
Updated to latest version of Pixi.js. Lovely new WebGL filters now working happily :)
2013-11-06 04:51:23 +00:00
photonstorm
94d9fa6e77
Tidying up some docs.
2013-11-05 21:44:39 +00:00
Román Jiménez
35dd98c72f
Added some docstring to the Polygon class
2013-11-05 20:31:33 +01:00
Román Jiménez
06e33bc8e4
Polygon & drawPolygon method
2013-11-05 20:25:06 +01:00
photonstorm
1eca16a948
ArcadePhysics.updateMotion applies the dt to the velocity calculations as well as position now (thanks jcs)
2013-11-05 16:14:24 +00:00
beeglebug
00664f9e99
Phaser.Game parent can now be a HTMLElement
2013-11-04 21:29:32 +00:00
photonstorm
2e576fa9a7
Input Handler updates, orientation screen and World visibility
2013-11-04 20:44:32 +00:00
photonstorm
19ddad8095
Mouse handler updates.
2013-11-04 20:44:32 +00:00
Richard Davey
9022a2f9d3
Merge pull request #160 from cocoademon/camera_shake
...
Add a postUpdate function to plugins
2013-11-03 18:58:04 -08:00
Richard Davey
0e84b7ccc9
Merge pull request #162 from beeglebug/button
...
Button now goes back to over state when setFrames used in action
2013-11-03 18:39:54 -08:00
Richard Davey
a5c8b2509c
Merge pull request #167 from wKLV/dev
...
Mouse now knows what button is clicked
2013-11-03 18:21:53 -08:00
Richard Davey
c1d60d7e19
getAnimation and RAF callback ID checks added
2013-11-04 00:04:19 +00:00
wKLV
8678373754
fix typo
2013-11-04 00:18:59 +01:00
wKLV
e8bac6c8c7
Check type uses the static values
2013-11-04 00:16:36 +01:00
KLV
4593a42a5b
Mouse property to say what button is being clicked
...
It follows the convention that already was in the
file 0 for left, 1 for middle and 2 for right.
It also changes to -1 when mouseUp.
2013-11-03 23:43:47 +01:00
beeglebug
3227918c57
fix #154 Button now goes back to over state when setFrames used in action
2013-11-02 11:24:00 +00:00
Cameron Foale
a96ced0d82
Add a postUpdate function to plugins, which is called after World.postUpdate
2013-11-02 17:04:32 +11:00
photonstorm
cc42a71c66
Preparing 1.1.3 dev branch
2013-11-01 19:05:47 +00:00
photonstorm
3e9777e6f4
Updated docs for 1.1.2 release.
2013-11-01 18:16:52 +00:00
photonstorm
685054eac5
Group.callAll now supports nested functions and a context, making it really powerful!
2013-11-01 17:29:57 +00:00
Richard Davey
bd752785b9
Merge pull request #150 from beeglebug/master
...
added getMagnitude, setMagnitude, normalize and isZero methods to Point
2013-11-01 04:37:54 -07:00
photonstorm
787abc1e02
Updated debug header and added more info to the project template.
2013-11-01 04:58:08 +00:00
photonstorm
581d637663
Added Group.cursor. This points to the first item added to a Group. You can move the cursor with Group.next() and Group.previous().
2013-11-01 02:50:00 +00:00
photonstorm
3c164b466c
* Updated: event.preventDefault() has been added to all Mouse event handlers.
...
* Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y.
* Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.
2013-11-01 02:07:21 +00:00
photonstorm
01eab3aeb1
Fixed issue 141 - If a Sprite is dragged and you release the Pointer while not over the Sprite, it will think it's still over it (thanks Paratron)
2013-10-31 16:27:10 +00:00
photonstorm
6f93a2ec94
Multiple Anims update, Tilemap fixes and some new examples.
2013-10-31 15:45:19 +00:00
Stuart Lee
903c2e73fa
added getMagnitude, setMagnitude, normalize and isZero methods to Point
2013-10-31 14:11:03 +00:00
photonstorm
712858cf75
More work on the Invaders game.
2013-10-31 05:31:54 +00:00
Richard Davey
ebf4456e4e
Merge pull request #147 from beeglebug/scope
...
state callbacks now receive game object as argument
2013-10-30 18:44:35 -07:00
Stuart Lee
01f64c6694
state callbacks now receive game object as argument
2013-10-30 16:09:06 +00:00
Stuart Lee
9030fbf352
hexToRGB now accepts short hex codes (#EEE)
2013-10-30 13:34:46 +00:00
photonstorm
24c809dd5f
Final body / physics / bounds fixes. Also updated various examples, optimised Sprite core loop and enhanced the Invaders example.
2013-10-30 03:46:52 +00:00
photonstorm
3de62907a0
Nearly fixed the tilemap / body issue. More tests needed but then can push to master.
2013-10-29 04:07:26 +00:00
photonstorm
7ceb11ae49
New: You'll now find a complete Basic project Template in the resources/Project Templates folder. Will add more complex ones soon.
2013-10-28 23:29:34 +00:00
Richard Davey
2b40d2f507
Merge pull request #139 from beeglebug/master
...
Added init method to plugins, to be called as they are added to the PluginManager
2013-10-28 03:28:13 -07:00
photonstorm
a814cc26cc
* Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.
...
* Fixed issue 136 - distanceTo using worldX/Y instead of x/y.
2013-10-28 10:17:36 +00:00
beeglebug
f00c52598b
added init method to plugins
...
this will allow potentially destructive code to run outside of the
constructor, and only if it has been added to the PluginManager
2013-10-27 22:30:01 +00:00
photonstorm
9261160571
1.1.1 release with fix for Phaser.AUTO and a new text example.
2013-10-26 19:14:13 +01:00
photonstorm
b6efdff286
Adding the key capture to addCursors.
2013-10-25 19:13:00 +01:00
photonstorm
6994e4be5e
Merge branch 'dev'
2013-10-25 18:50:14 +01:00
photonstorm
65d2bf557b
Updated docs and more tidying up.
2013-10-25 17:30:37 +01:00
photonstorm
9f9e6a2a57
Lots of doc updates!
2013-10-25 16:54:40 +01:00
Richard Davey
0463bb4333
Merge pull request #124 from alvinsight/dev
...
A lot of documentation updates
2013-10-25 07:51:38 -07:00
Webeled
12148b3159
More improvements on GameObjectFactory
2013-10-25 15:42:48 +01:00
Webeled
ce04ade458
Lots of JSDocs updates in the gameobjects folder
2013-10-25 15:22:45 +01:00
photonstorm
a08436abc3
Final Sprite documentation added.
2013-10-25 15:02:21 +01:00
Webeled
35517d94ad
Just to test if smartGit works again
2013-10-25 14:31:25 +01:00
photonstorm
d8a2b9d2af
Removed console.log
2013-10-25 05:43:10 +01:00
photonstorm
2921a6de2e
Pixel Perfect click detection now works even if the Sprite is part of a texture atlas.
2013-10-25 05:40:46 +01:00
photonstorm
1294b3a2b9
Input over now works regardless of rotation, anchor or scale.
2013-10-25 03:57:08 +01:00
photonstorm
427819c655
Sprite bounds finally correct, regardless of rotation, parenting, scale or anchor.
2013-10-25 03:50:15 +01:00
photonstorm
1469663ea5
Button fixes and Input coordinate fixes.
2013-10-25 02:19:16 +01:00
photonstorm
1f28d328a7
Commit before refactoring Sprite guts.
2013-10-24 21:21:00 +01:00
photonstorm
a6fac64248
Loads of issues reported on Github resolved (sprite crop, music resume, etc).
2013-10-24 04:27:28 +01:00
Richard Davey
e4621aafdd
Merge pull request #115 from ooflorent/grunt-build
...
Build phaser using Grunt
2013-10-23 09:11:51 -07:00
photonstorm
7e5f38d022
Phaser.Time physicsElapsed delta timer clamp added. Stops rogue iOS / slow mobile timer errors causing crazy high deltas.
2013-10-23 17:11:06 +01:00
Florent Cailhol
dfee9f9b2f
Add new Grunt build
2013-10-23 16:58:48 +02:00
photonstorm
94c7c57e1c
Fixed WebGL detection and code colour on Firefox.
2013-10-23 15:13:21 +01:00
photonstorm
4a51ac4671
Updated README and sorting out folder case issue.
2013-10-23 13:30:23 +01:00
photonstorm
8ed783802e
New examples page
2013-10-18 15:12:32 +01:00
photonstorm
7e8b79adf4
Tilemap painting example and other smaller updates.
2013-10-17 21:10:00 +01:00
photonstorm
275fa4641e
Added Text.destroy and BitmapText.destroy.
2013-10-17 15:40:44 +01:00
photonstorm
4b2ac6c6c6
More tilemap examples
2013-10-16 21:25:51 +01:00
photonstorm
9c1fdb371c
Nearly finished Tilemap integration into the core.
2013-10-16 06:33:39 +01:00
photonstorm
31018b9295
Star Struck game back and working again, plus finished the level design.
2013-10-16 03:37:15 +01:00
photonstorm
a97f271de7
Fixed Animation index 0 issue and hooked TilemapLayer to camera.
2013-10-16 02:09:12 +01:00
photonstorm
fd5eeb9088
Fixed Rectangle intersection issue and tilemap collision is working again. Win!
2013-10-15 15:24:07 +01:00
photonstorm
f3ea68aad3
Extracting the correct area from a layer, debug displaying it and preparing for collision.
2013-10-15 05:41:42 +01:00
photonstorm
dd695e066f
More tilemap tweaks.
2013-10-14 19:37:52 +01:00
photonstorm
c6bf67c392
Group.alpha exposed and instance returns added to Loader functions.
2013-10-13 20:28:06 +01:00
photonstorm
e98aa205ea
Sprite.destroy is back in business.
2013-10-13 01:29:57 +01:00
photonstorm
574f4f351b
Github Issue #101 fixed. Plus more Tilemap updates.
2013-10-11 20:02:12 +01:00
photonstorm
0201baef11
And Tilemaps are rendering again - and much better than ever before :) Just one final optimisation pass to do and then it's on to collision.
2013-10-11 18:18:27 +01:00
photonstorm
cf414394c3
Tileset working, map coming next.
2013-10-11 06:30:28 +01:00
photonstorm
b868c2cb1b
Started revamp of the Tilemap system. Also removed old 'Advanced Physics' and dropped in p2.js which is what I hope we'll eventually use.
2013-10-11 04:42:11 +01:00
photonstorm
a7230aa769
Sprite.loadTexture added.
2013-10-10 09:03:38 +01:00
photonstorm
f10f9324ad
Animation.killOnComplete added and fixed a few issues in the Tanks game.
2013-10-09 13:36:57 +01:00
photonstorm
29acf7fb4b
Enemy tanks, now firing.
2013-10-09 07:11:36 +01:00
photonstorm
ca9321ef42
Updated physics body to use localTransform. Updated tanks demo.
2013-10-09 05:13:38 +01:00
photonstorm
83a00862be
Lots of new examples and updates.
2013-10-09 04:31:08 +01:00
Richard Davey
1c577d3674
Fixed RandomDataGenerator.sow
2013-10-08 22:55:27 +01:00
photonstorm
f5584bdfe5
Lots of fixes and updates to ArcadePhysics and Group, plus more examples.
2013-10-08 21:09:46 +01:00
photonstorm
ebc4e5dc3d
New examples HTML page added.
2013-10-08 12:52:20 +01:00
photonstorm
fa692653e3
Final commit before rebuilding the Tilemap system.
2013-10-08 10:52:15 +01:00
photonstorm
c307f79102
Added Sprite.fixedToCamera, fixed Angular Velocity and Acceleration, fixed jittery Camera, added skipQuadTree flag and created lots more examples.
2013-10-08 00:58:20 +01:00
photonstorm
1bc6ac25fa
Preparing to merge new examples.
2013-10-07 22:15:28 +01:00
Richard Davey
d4149a8f9a
Setting up for this weeks work.
2013-10-07 22:15:28 +01:00
Richard Davey
664c512a99
Fixed small typo.
2013-10-06 16:27:39 +01:00
Richard Davey
47e1b1b54b
Sprite optimisations.
2013-10-04 19:00:55 +01:00
Richard Davey
455b18b7ec
Sprite optimisations :)
2013-10-04 18:09:56 +01:00
Richard Davey
c00bf96603
World and Camera updates nearly complete.
2013-10-04 16:51:24 +01:00
Richard Davey
e8bed83ac3
Making some major changes to Camera and World.
2013-10-04 14:41:15 +01:00
Richard Davey
54f073e5cb
Testing some new Camera tricks.
2013-10-03 23:20:24 +01:00
Richard Davey
c8760b4341
Docs update.
2013-10-03 04:17:44 +01:00
Richard Davey
96da57cac0
Fixed up the namespace in the documentation and finished off all sections other than Game Objects and Physics (yuck).
2013-10-03 02:38:35 +01:00
Richard Davey
f832bacfd6
More Docs!
2013-10-03 01:21:08 +01:00
Richard Davey
e85643abf4
Yet more documentation done.
2013-10-02 20:18:24 +01:00
Richard Davey
868ae81bab
Input, Loader and Math docs tidied up.
2013-10-02 15:05:55 +01:00
Richard Davey
1a2dc05609
Input and keyboard docs.
2013-10-02 13:18:58 +01:00
Richard Davey
852e82d0ca
More docs.
2013-10-02 12:11:22 +01:00
Richard Davey
2a01fbb0e8
Merge pull request #87 from STuFF/patch-1
...
fix typo
2013-10-02 03:23:53 -07:00
Richard Davey
6ce6330f50
More docs.
2013-10-02 11:22:48 +01:00
Nicolas Challeil
d2bd2e1600
fix typo
...
small contribution is small :)
2013-10-02 09:46:42 +02:00
Richard Davey
82325ecc8a
Finished Group documentation.
2013-10-02 01:51:30 +01:00
Richard Davey
e5b1faace6
Preparing more documentation.
2013-10-02 01:16:40 +01:00
Richard Davey
7c7cd8b01d
More docs and quick patch to stop the body.allowRotation messing things up.
2013-10-01 16:56:47 +01:00
Richard Davey
ca113b85aa
More docs coming on.
2013-10-01 16:39:39 +01:00
Richard Davey
a38ad2d1a9
Merge pull request #85 from onedayitwillmake/dev
...
Fixed accidentally overwroting remove function with a prepend function
2013-10-01 08:16:16 -07:00
Richard Davey
9b4b267e7a
Working through building the docs.
2013-10-01 16:15:45 +01:00
Mario Gonzalez
f593afd164
Fixed accidentally overwroting remove function with a prepend function
2013-10-01 10:08:09 -04:00
Richard Davey
0a98bb67d8
jsdoc blocks added to every file and tidied up.
2013-10-01 15:05:30 +01:00
Richard Davey
305b12d76b
Adding docs.
2013-10-01 15:01:46 +01:00
Mario Gonzalez
fa8ad51c79
Fixed bug in LinkedList#remove that could cause first/tail to be have pointers to dead node
2013-09-30 22:06:48 -04:00
Richard Davey
480d90b009
* Removed the callbackContext parameter from Group.callAll because it's no longer needed.
...
* Updated Group.forEach, forEachAlive and forEachDead so you can now pass as many parameters as you want, which will all be given to the callback after the child.
* Updated build script so it can be run from the command-line and includes UMD wrappers (thanks iaincarsberg)
2013-10-01 02:19:08 +01:00
Richard Davey
8668b82ef6
* Fixed issue causing Keyboard.justPressed to always fire (thanks stemkoski)
...
* Added Keyboard.addKey() which creates a new Phaser.Key object that can be polled for updates, pressed states, etc. See the 2 new examples showing use.
2013-10-01 01:18:29 +01:00
Richard Davey
16b1913de1
* Fixed issue in Sound.play where if you gave a missing marker it would play the whole sound sprite instead.
...
* Button.setFrames will set the current frame based on the button state immediately.
* InputHandler now creates the _pointerData array on creation and populates with one empty set of values, so pointerOver etc all work before a start call.
* Added Canvas.setUserSelect() to disable touchCallouts and user selections within the canvas.
* When the game boots it will now by default disable user-select and touch action events on the game canvas.
* Loaded.setPreloadSprite now rounds the width/height values and starts from 1. This fixes canvas draw errors in IE9/10 and Firefox.
2013-09-30 17:12:22 +01:00
Richard Davey
8d17e1f963
Sound duration fixes.
2013-09-30 12:17:21 +01:00
Richard Davey
e3384b7ff7
Merge pull request #71 from webeled/dev
...
More examples migrated across.
2013-09-30 04:16:44 -07:00
Richard Davey
c5d90a7722
Merge pull request #74 from cottonflop/dev
...
Fix for incorrect new particle positioning (issue #73 )
2013-09-30 03:20:11 -07:00
Richard Davey
b0a9c646c9
Merge pull request #76 from XekeDeath/dev
...
Fix for particles emitting in the wrong area when using emitter.width/height. And small change to make animation looping more robust.
2013-09-30 03:16:33 -07:00
Richard Davey
31bbf05ace
* Fixed small bug stopping Tween.pause / resume from resuming correctly when called directly.
...
* Fixed an issue where Tweens.removeAll wasn't clearing tweens in the addition queue.
* Change: When you swap State all active tweens are now purged.
2013-09-30 11:15:50 +01:00
XekeDeath
62b5aa9bd9
Removed redundant assignment.
2013-09-30 13:28:17 +10:00
XekeDeath
ce3e1708e0
Merge branch 'dev' of https://github.com/XekeDeath/phaser into dev
2013-09-30 13:04:29 +10:00
XekeDeath
80e80ddccb
Make animation looping robust when skipping frames.
2013-09-30 13:04:22 +10:00
XekeDeath
29dbbcae52
Fix Particle Emitters when using Emitter width/height
2013-09-30 13:02:22 +10:00
Betsy Cottonflop
40b968028a
Fix for incorrect new particle positioning
2013-09-28 16:52:37 -07:00
Richard Davey
497d15b5bc
Sprite.play
2013-09-27 13:47:22 +01:00
Webeled
903b11b730
Groups examples and some boolean checks corrected
2013-09-27 13:27:15 +01:00
Richard Davey
18c695e9dd
PixiPatch and other 1.0.7 features
2013-09-27 09:57:08 +01:00
Richard Davey
6353d8c7ab
Fixed some eases.
2013-09-26 15:22:49 +01:00
Richard Davey
9642d4994a
1.0.6a release to fix an issue in the StateManager.
2013-09-26 11:49:58 +01:00
Richard Davey
e77dba402c
Beta warning added.
2013-09-24 16:02:58 +01:00
Richard Davey
9d84429960
Group length checks
2013-09-24 15:49:21 +01:00
Richard Davey
891369b197
Preparing for 1.0.6 release, but moving physics changes to dev.
2013-09-24 15:28:29 +01:00
Richard Davey
51049128f5
Collision fixes for testing
2013-09-23 22:23:17 +01:00
Richard Davey
257cbe3be8
Much more stable collision, just need to refactor the Tilemap handling - see if I can optimise it a bit too.
2013-09-23 03:26:08 +01:00
Richard Davey
bc02a1a05e
Fixing collision issues
2013-09-23 01:06:09 +01:00
Richard Davey
093bf8343d
Graphics fixes and other changes
2013-09-22 22:55:34 +01:00
Richard Davey
6b9484aa80
Merge pull request #60 from TheJare/master
...
Fix bug in StateManager...
2013-09-22 14:32:25 -07:00
Richard Davey
f66e6326e3
Merge pull request #61 from powerfear/master
...
make tweens chainable with .to
2013-09-22 14:13:30 -07:00
Richard Davey
20f63c0af2
Fixed Graphics not working correctly.
2013-09-22 15:22:45 +01:00
TheJare
557160c3c2
Fixes to math library
2013-09-22 03:43:10 +02:00