photonstorm
d51a37211c
Phaser.Line added to the group of geometry classes, with full point on line/segment and intersection tests (see new examples)
2014-01-29 00:21:28 +00:00
photonstorm
5b85c910cb
New lineIntersectLine() function working nicely.
2014-01-28 17:13:07 +00:00
photonstorm
82cb66f47b
Updated intersects code, tilemap collision is running again. Still finding gravity pushing sprites through tiles.
2014-01-28 06:52:56 +00:00
photonstorm
9deb5514a2
ArcadePhysics.setBoundsToWorld implemented. Body.setCircle, setRectangle and setPolygon all working. Tidying up Body class. Need to add tile collision special case handler next.
2014-01-28 05:01:17 +00:00
photonstorm
90c09374af
Velocity integration tidied up. Now moving to sync Body with Sprite center point.
2014-01-28 01:29:35 +00:00
photonstorm
fbe508ab1b
Direct assignment of Body values, allows for sloped ground walking.
2014-01-27 17:08:20 +00:00
photonstorm
dbdb2a2026
Adjusted delta timer cap and fixed some typos and more examples.
2014-01-27 17:08:20 +00:00
Richard Davey
4432d37e6e
Merge pull request #312 from miguelangelgonzalez/dev
...
Added missing Typescript definitions
2014-01-27 07:40:45 -08:00
Richard Davey
511858e3f5
Merge pull request #340 from qdrj/patch-2
...
Update phaser.d.ts
2014-01-27 07:40:25 -08:00
Richard Davey
d37ec40d72
Merge pull request #339 from qdrj/patch-1
...
Update phaser.d.ts
2014-01-27 07:39:54 -08:00
Richard Davey
f575967840
Merge pull request #327 from timcooper/dev
...
Allow fullscreen to work from iframe
2014-01-27 07:39:11 -08:00
Richard Davey
912551a45d
Merge pull request #323 from hstolte/patch-1
...
removed duplicate line in Timer class
2014-01-27 07:37:55 -08:00
photonstorm
4505aa50f6
Integrated SAT. Fixed lots of examples. Fixed documentation. Added new examples and built new phaser.js file for testing.
2014-01-27 06:29:26 +00:00
photonstorm
45518b3ecd
Adding checkCollision tests.
2014-01-24 17:30:37 +00:00
qdrj
3fb2eb23cd
Update phaser.d.ts
...
Incorrect TilemapLayer constructor
2014-01-24 01:13:09 -08:00
qdrj
8b06f9cd86
Update phaser.d.ts
...
Remove duplicated Timer.create signature
2014-01-23 22:50:02 -08:00
photonstorm
e3aaec8ac0
Removed Time delta cap, removed drag references from Emitter and tested doing a custom polygon collision.
2014-01-24 03:53:11 +00:00
photonstorm
ea9e22f472
SAT implemented and working nicely at long last :)
2014-01-23 21:45:35 +00:00
photonstorm
110ab4e253
More robust gravity handling avoiding 'sticky walls'. Added new platform test with mixture of mass tile collision and physics.
2014-01-23 01:50:43 +00:00
photonstorm
31b68ac94f
Removed all references to drag from the Examples and replaced with Friction.
2014-01-22 21:06:16 +00:00
photonstorm
20108e47f3
Working through re-integrating tilemap collision. So far, so good.
2014-01-22 16:16:53 +00:00
photonstorm
1370ba52b5
Fixed Sci-Fly and restored tile collision handling.
2014-01-22 14:49:06 +00:00
photonstorm
b2c49ef853
Merging previous changes back in again.
2014-01-22 14:31:18 +00:00
photonstorm
f6af6fe0a3
Not fully working, but commit for posterity. Time to rollback if we're ever going to get this released.
2014-01-22 12:31:35 +00:00
photonstorm
7a0e9a478c
New Math functions added.
2014-01-22 10:54:49 +00:00
photonstorm
15a002e720
Finally getting there! Body collision almost as good as it can be (without a full-on physics system). Just a few last tweaks to do.
2014-01-21 16:12:50 +00: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