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
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