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
Richard Davey
4ada28ba81
Merge pull request #267 from cocoademon/framerate_example
...
Add an example to show framerate independence in physics calculations
2013-12-17 17:15:33 -08:00
Cameron Foale
55d69e16b6
Add an example to show framerate independence in physics calculations
2013-12-18 11:58:11 +11: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
Richard Davey
39cae4cc09
Sphere snake wip demo
2013-12-14 02:22:14 +00:00
photonstorm
03ae324d26
New user submitted examples
2013-12-13 23:56:39 +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
Richard Davey
215632c0a7
Merge pull request #261 from cocoademon/platform_riding_fix
...
Fix riding on platforms
2013-12-10 16:05:09 -08:00
Richard Davey
9988a2ffbe
Merge pull request #260 from feiss/dev
...
Tutorials translated to spanish
2013-12-10 16:02:19 -08:00
Cameron Foale
56389fcaf4
Fix riding on platforms
2013-12-11 10:25:57 +11:00
Diego F. Goberna
c74bac3a9c
Finished translation of tutorial 02
2013-12-10 21:41:33 +01:00
Diego F. Goberna
9f6cfca9cd
Title tags fixed
2013-12-10 17:31:54 +01:00
Diego F. Goberna
6805e7264d
code comments translated
2013-12-10 17:31:19 +01:00
Diego F. Goberna
f7202a3ff1
removed hello world example code
...
To avoid duplicates. Users may go to the english version (and links in
the tutorial go to the english version)
2013-12-10 17:09:03 +01:00
Diego F. Goberna
fc6ae6a60b
Finished translation of tutorial 01
2013-12-10 17:05:34 +01:00
Diego F. Goberna
636b1af25c
Spanish translation of the tutorials
2013-12-10 16:49:01 +01:00
photonstorm
19759699df
More TypeScript definitions fixes (for Easing and Animation data).
2013-12-10 14:34:22 +00: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
Richard Davey
55b2dd379a
Merge pull request #254 from cocoademon/update_reorder
...
Split world update into preUpdate and update.
2013-12-09 02:00:49 -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
74e0cfb13a
Added Tutorial 2.
2013-12-07 02:05:07 +00:00
photonstorm
13a03f3620
TypeScript file updated, now compiles without error in VS and FlashDevelop.
2013-12-06 13:48:40 +00: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
Richard Davey
fe5fdb164c
Merge pull request #245 from oysterCrusher/dev
...
Introduced a separate stage.fullScreenScaleMode property.
2013-12-05 01:10:02 -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