photonstorm
|
c40c140631
|
Camera.roundPx is a new boolean. If set to true it will call view.floor as part of its update loop, keeping its boundary to integer values. Set to false to disable this from happening (#1141)
|
2014-09-09 12:47:27 +01:00 |
|
Richard Davey
|
3102ad534d
|
Swapped the order of the Camera.view floor to avoid the 1px jitter effect on the right of maps.
|
2014-09-06 10:26:54 +01:00 |
|
Carlos Martinez
|
94f9c0906f
|
this fixes the camera judders when following with float values.
|
2014-09-01 14:49:44 +01:00 |
|
photonstorm
|
d7f8950758
|
Debug.cameraInfo no longer crashes if the camera bounds are nulled (thanks @wayfu #1143)
Camera.setBoundsToWorld no longer crashes if the camera bounds are nulled (thanks @wayfu #1143)
|
2014-08-28 02:13:51 +01:00 |
|
Darek Zieliński
|
64ae6c6ba7
|
"Reuse a single Point object rather than creating a new one each time"
|
2014-07-15 18:32:20 +02:00 |
|
Darek Zieliński
|
852054b772
|
Plus validation of non-point objects
|
2014-07-14 20:09:22 +02:00 |
|
Darek Zieliński
|
ee1df55d84
|
Added position Point object for quick x/y coordinates access.
|
2014-07-14 20:03:34 +02:00 |
|
photonstorm
|
92dbabb2df
|
Camera.updateTarget has had a make-over and now is a lot smoother under certain conditions (thanks @tjkopena, fix #966)
|
2014-07-03 02:09:53 +01:00 |
|
photonstorm
|
360d744472
|
Camera.unfollow allows you to easily unfollow a tracked object (thanks @alvinsight, #755)
|
2014-04-28 14:56:48 +01:00 |
|
Christian Wesselhoeft
|
61f18b675c
|
Trim trailing whitespace.
|
2014-03-25 14:56:04 -07:00 |
|
photonstorm
|
84741f065f
|
New P2 examples. And fixed Camera.atLimit value.
|
2014-03-12 16:33:53 +00:00 |
|
photonstorm
|
a51ae03246
|
Tweens are now bound to their own TweenManager, not always the global game one. So you can create your own managers now (for you clark :)
|
2014-03-07 01:26:09 +00:00 |
|
photonstorm
|
3b2573de9a
|
Objects that are 'fixedToCamera' are now still correctly placed even if the camera is scaled (#512)
|
2014-03-06 17:12:12 +00:00 |
|
photonstorm
|
4aa945f991
|
Removed PixiPatch as it's no longer needed. Re-worked all of the Sprite autoCull and inWorld checks and cached the bounds. Fixed the Body calculations so physics is working again.
|
2014-02-09 03:48:31 +00:00 |
|
photonstorm
|
e8b432f518
|
Fixed bug where changing State would cause the camera to not reset if it was following an object.
World.reset now calls Camera.reset which sends the camera back to 0,0 and un-follows any object it may have been tracking.
|
2014-02-08 13:45:18 +00:00 |
|
photonstorm
|
0896c2fac7
|
Updating copyright year and README.
|
2014-02-05 16:54:59 +00:00 |
|
photonstorm
|
68b7d22e0d
|
Fixed issue with the camera being slightly out of sync with 'fixedToCamera' sprites. Also fixed 'jitter' issue with camera targets.
|
2014-01-31 03:32:12 +00:00 |
|
photonstorm
|
651858372c
|
Added Game core loop stepping support. Super-useful for debugging, and helped me track down the issue with jittery physics collision. Double-win!
|
2014-01-29 17:10:13 +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
|
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 |
|
Cameron Foale
|
f6712da774
|
Switch Camera.setBoundsToWorld to match world.bounds instead of world
|
2013-12-05 16:28:17 +11: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 |
|
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
|
a7230aa769
|
Sprite.loadTexture added.
|
2013-10-10 09:03:38 +01:00 |
|
photonstorm
|
83a00862be
|
Lots of new examples and updates.
|
2013-10-09 04:31:08 +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 |
|
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
|
f832bacfd6
|
More Docs!
|
2013-10-03 01:21:08 +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
|
305b12d76b
|
Adding docs.
|
2013-10-01 15:01:46 +01:00 |
|
Webeled
|
26a595cd44
|
JSDocs update ;)
|
2013-09-19 16:34:48 +02:00 |
|
Webeled
|
78a062dfb6
|
Updated my files and the documentation checklist
|
2013-09-19 13:17:49 +02:00 |
|
Webeled
|
6e4631a849
|
First commit of the day
|
2013-09-19 10:36:15 +02:00 |
|
Webeled
|
fc584cf6bc
|
Examples (audio, button,camera), and docs
Created some examples (audio, button,camera), and documented the source
code along the way
|
2013-09-16 16:37:30 +02:00 |
|
Richard Davey
|
fba731e740
|
Added optional "pixel perfect" input checks and tested against static sprites, animated sprites, physics sprites and sprites positioned outside the screen (needing camera shift to appear).
|
2013-09-11 16:25:46 +01:00 |
|
Richard Davey
|
f260108433
|
Tidying up source code for release. Also refactored World to use a Group instance, rather tha duplicate functions.
|
2013-09-11 13:21:07 +01:00 |
|
Richard Davey
|
e41e35fd09
|
Fixed an error that stopped 2 tweens from being able to run on the same object. Also refactored a lot of the classes to remove prototype properties and move them to local instance properties.
|
2013-09-10 20:40:34 +01:00 |
|
Richard Davey
|
d31777972c
|
Camera culling
|
2013-09-01 19:52:50 +01:00 |
|
Richard Davey
|
70ee753859
|
The complete Phaser Input Manager suite is now ported across. Not tested in earnest yet, but all the grunt work is at least done.
|
2013-08-31 13:54:59 +01:00 |
|