Lucas Monteverde
3236ea6b24
Custom JSON loader
...
Added a method in the Loader that enable the load of custom json files,
to be used like a the general settings of the game.
loading: game.load.json (key, url);
retrieving data from json file: game.cache.getText(key);
2014-01-21 00:19:42 -02:00
Richard Davey
c9d07c7346
Testing out new Body structure
2014-01-20 23:07:56 +00:00
Tim Cooper
a81d22a309
Allow fullscreen to work from iframe
2014-01-20 20:58:36 +00:00
photonstorm
128c7143d5
Lots more physics tests and updates.
...
PLEASE DO NOT upgrade to this release if you need your game working and it uses any of the physics functions, as they're nearly all broken here.
Just pushing up so I can share it with someone.
2014-01-20 20:14:34 +00:00
hstolte
971e17fabe
removed duplicate line in Timer class
...
The method create(...) was defined twice (line 1357 and line 1360). I removed line 1360.
2014-01-18 22:34:28 +01:00
Richard Davey
2532df8793
Merge pull request #317 from gareththegeek/patch-3
...
Allow Text.style to be any type
2014-01-16 07:28:37 -08:00
Richard Davey
c5840f4f6f
Merge pull request #316 from gareththegeek/patch-2
...
Add missing addKey method to Keyboard
2014-01-16 07:28:17 -08:00
Richard Davey
4e7dabb47e
Merge pull request #315 from gareththegeek/patch-1
...
Fix typescript compile error in 0.9.5
2014-01-16 07:27:54 -08:00
gareththegeek
47ee5a2c88
Allow Text.style to be any type
...
To allow a configuration object to be used rather than a string
2014-01-16 14:48:13 +00:00
gareththegeek
ca1f24868a
Add missing addKey method to Keyboard
2014-01-16 14:46:12 +00:00
gareththegeek
1f9df6e3f4
Fix typescript compile error in 0.9.5
...
Explicitly specify type for parameters array
2014-01-16 14:43:28 +00:00
Miguel Angel Gonzalez
ac310ab881
Added missing Typescript definitions
2014-01-15 12:15:59 -03:00
photonstorm
abdaaa0010
Tidied up the docs and removed some Body vars no longer needed. Now to attempt stacking.
2014-01-15 14:40:25 +00:00
photonstorm
58fb248575
Optimised Body loop, removed sleep properties, implemented minBounceVelocity. Working as expected at last :)
2014-01-15 14:40:25 +00:00
photonstorm
283e38aaae
Time to optimise the rebound a little.
2014-01-15 14:40:25 +00:00
photonstorm
be6489fbc9
Body bounce + blocking values nearly sorted.
2014-01-15 14:40:24 +00:00
photonstorm
651737fdd0
More physics tweaks.
2014-01-15 14:40:24 +00:00
Richard Davey
88ef644d47
Merge pull request #310 from theadam/dev
...
Fixed WebGLRenderer updateGraphics bug
2014-01-15 06:23:50 -08:00
Adam Nalisnick
7c66a6b6cc
Removed an errant ';' from the end of an 'else if' causing a circle to be drawn each time a graphics object is updated
2014-01-14 20:54:50 -05:00
Richard Davey
d8bf13eaaa
Merge pull request #309 from jcd-as/dev1
...
fix sprite vs sprite overlap check
2014-01-14 14:35:06 -08:00
photonstorm
bd66be1804
Updated Tilemap classes and further tests.
2014-01-14 22:34:41 +00:00
jcs
01a314018d
fix sprite vs sprite overlap check
2014-01-14 13:51:55 -08:00
photonstorm
ff7cad102c
All of the setCollision methods now have a 'collides' parameter so you can enable or disable collision, not only enable it. Also fixed Loader example.
2014-01-14 11:58:00 +00:00
Richard Davey
8479e456dd
Merge pull request #307 from jcd-as/dev
...
Emitters drag fix.
2014-01-14 01:49:52 -08:00
jcs
b4e767161b
change Emitter's particleDrag property to particleFriction to match the changes to the physics engine
2014-01-13 20:29:16 -08:00
jcs
6cde583e82
Merge branch 'dev' of https://github.com/photonstorm/phaser into dev
2014-01-13 20:20:06 -08:00
jcs
ab02040bea
fix Tilemap.putTile
2014-01-13 20:18:08 -08:00
photonstorm
32f5a2fa36
More examples updates. Fixed Starstruck tilemap code, removed un-needed ArcadePhysics methods and rebuilt the js files for testing.
2014-01-14 03:33:03 +00:00
photonstorm
011d2d8e05
The way the collision process callback works has changed significantly and now works as originally intended.
...
The World level quadtree is no longer created, they are now built and ripped down each time you collide a Group, this helps collision accuracy.
Bodies are no longer added to a world quadtree, so have had all of their quadtree properties removed such as skipQuadtree, quadTreeIndex, etc.
QuadTree.populate - you can pass it a Group and it'll automatically insert all of the children ready for inspection.
Removed ArcadePhysics binding to the QuadTree, so it can now be used independantly of the physics system.
2014-01-14 02:43:09 +00:00
Richard Davey
17af96d46a
Merge pull request #306 from jcd-as/dev
...
fix Tilemap.setCollision
2014-01-13 17:19:25 -08:00
photonstorm
bd9898db7e
New merged separate function that now uses processCallback the way it was always meant to be used.
2014-01-14 01:18:46 +00:00
jcs
befcf74f44
fix Tilemap.setCollision
2014-01-13 16:46:29 -08:00
photonstorm
e7c2b6ae9c
Fixed nearly all of the tilemap examples to use the new tilemap system.
2014-01-14 00:31:58 +00:00
photonstorm
71f82477ea
Tidying up all of the map files, sorting out Tiled paths and updated the tilemap examples for 1.1.4.
2014-01-13 19:45:15 +00:00
photonstorm
c6fa2cb7b6
Added the new Timer, TimerEvent and Time methods to the TypeScript definitions files.
2014-01-13 14:18:15 +00:00
photonstorm
35cef4e529
Updated Body file and compiled + minified builds for those wanting to test.
2014-01-09 18:24:12 +00:00
photonstorm
0a0e775ea5
Removed temp. debug vars.
2014-01-09 17:12:24 +00:00
photonstorm
10d105d5ce
Acceleration tested and working fine. Proper accurate friction added and working really nicely, so much better than 'drag' used to. Considering removing drag, although will break the API history.
2014-01-09 03:42:58 +00:00
photonstorm
754219a978
Fixed some documentation typos.
2014-01-09 01:23:23 +00:00
Richard Davey
5f9acdca4b
Merge pull request #299 from Niondir/dev
...
Phaser Definitions Update
2014-01-08 17:02:59 -08:00
photonstorm
c6c579e6b3
Phaser.Timer is now feature complete and fully documented. You can create Phaser.TimerEvents on a Timer and lots of new examples have been provided.
2014-01-09 00:59:37 +00:00
Tarion
c21365703d
Phaser Definitions Update
...
Added "GetCurrentState" to StateManager
2014-01-08 22:57:13 +01:00
photonstorm
35e61172e1
Device.quirksMode is a boolean that informs you if the page is in strict (false) or quirks (true) mode.
...
Canvas.getOffset now runs a strict/quirks check and uses document.documentElement when calculating scrollTop and scrollLeft to avoid Chrome console warnings.
The Time class now has three new methods: addEvent, repeatEvent and loopEvent. See the new Timer examples to show how to use them.
2014-01-08 11:21:48 +00:00
photonstorm
67e2caafbc
Added new Contributors guide.
2014-01-08 11:21:48 +00:00
Richard Davey
038bca11b2
Merge pull request #295 from Niondir/dev
...
phaser.d.ts corrections
2014-01-07 16:42:52 -08:00
photonstorm
bd9b964710
Added a new Full Screen Mobile template example.
2014-01-08 00:34:47 +00:00
niondir
1aabb6b93d
World is a Group. Needed to remove stuff again e.g. a "BitmapText"
2014-01-07 19:54:04 +01:00
niondir
77a8dc321f
phaser.d.ts corrections
2014-01-07 10:58:00 +01:00
photonstorm
428e331a11
Groups can now be added to other Groups as children via group.add() and group.addAt().
...
Groups now have an 'alive' property, which can be useful when iterating through child groups with functions like forEachAlive.
2014-01-06 01:39:23 +00:00
photonstorm
aa3a86df6e
Timer class overhaul.
2014-01-04 02:53:32 +00:00