Christian Wesselhoeft
61f18b675c
Trim trailing whitespace.
2014-03-25 14:56:04 -07:00
photonstorm
684ee9c064
ArcadePhysics.Body has a deltaMax object, which allows you to cap the delta applied to the position to +- this value.
...
ArcadePhysics.Body now checks the Sprite scale automatically and adjusts the body size accordingly (fix #608 )
2014-03-20 00:20:02 +00:00
photonstorm
96365a3a1f
The StateManager is now responsible for clearing down input, timers, tweens, physics, camera and the World display list.
...
Removed the use of Int16Array from all Game Objects, swapped for standard Array. Phaser now runs on Android 2.x again (fix #590 )
2014-03-19 12:05:19 +00:00
photonstorm
c8e63582a4
Lots of small tweaks to pass jshint.
2014-03-13 16:49:52 +00:00
photonstorm
1966bfc0f8
Added in Game.focusLoss and focusGain methods and onBlur and onFocus signals to listen for. Made small time related fix and tested on iOS6 and iOS7 home screen button + lock button and all working fine.
2014-03-12 21:19:00 +00:00
photonstorm
3e93f24583
New split physics system is implemented. Still tidying-up, but ArcadePhysics, P2 and Ninja Physics are in and configured. Lots more examples required, and tilemap collision mostly broken in Arcade at the moment. Time to implement in Ninja.
2014-03-06 06:29:19 +00:00
photonstorm
7ff4e51ab1
Time.reset does a removeAll on any Timers.
...
Device no longer things a Windows Phone or Windows Tablet are desktop devices (thanks wombatbuddy, fixes #506 )
2014-03-02 10:56:39 +00:00
photonstorm
3568dc4ff1
Pixi GrayFilter ported over (thanks nickryall #404 )
...
Fixed Time.totalElapsedSeconds, which gets the other filters working again too.
2014-02-27 22:35:06 +00:00
photonstorm
4d284029c7
Tweens now resume correctly if the game pauses (focus loss) while they are paused.
...
Tweens don't double pause if they were already paused and the game pauses.
2014-02-26 23:27:22 +00:00
photonstorm
86374d4437
Phaser.Timer will no longer resume if it was previously paused and the game loses focus and then resumes ( fixes #383 )
...
Phaser.Timer.stop has a new parameter: clearEvents (default true), if true all the events in Timer will be cleared, otherwise they will remain (fixes #383 )
2014-02-26 20:12:17 +00:00
photonstorm
db090601b8
The Timer will no longer create negative ticks during game boot, no matter how small the Timer delay is ( fixes #366 )
2014-02-26 19:52:23 +00:00
photonstorm
b255fea85f
Time.advancedTiming is a new boolean property. If true Time.fps, fpsMin, fpsMax, frames, msMin and msMax will be calculated, otherwise they remain at their defaults.
2014-02-25 04:05:28 +00:00
photonstorm
415342d986
Vastly improved visibility API support + pageshow/pagehide + focus/blur. Working across Chrome, IE, Firefox, iOS, Android (also fixes #161 )
2014-02-25 02:59:24 +00:00
photonstorm
0896c2fac7
Updating copyright year and README.
2014-02-05 16:54:59 +00:00
photonstorm
dbdb2a2026
Adjusted delta timer cap and fixed some typos and more examples.
2014-01-27 17:08:20 +00: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
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
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
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
photonstorm
aa3a86df6e
Timer class overhaul.
2014-01-04 02:53:32 +00:00
photonstorm
5526a7322b
Warning: This version has a new ArcadePhysics handler in it. Don't upgrade if you need this for live game code, wait until we go to master. Otherwise, this commit contains lots of new physics demos and a new updateMotion and Body class to try and fix, once and for all, the physics issues with applied forces.
2014-01-02 23:28:22 +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
299115ca5d
The entire Phaser library has been updated to match the new JSHint configuration.
2013-11-25 04:40:04 +00:00
photonstorm
155c863d69
New Timer class and scale event updates.
2013-11-24 11:04:58 +00:00
photonstorm
7e5f38d022
Phaser.Time physicsElapsed delta timer clamp added. Stops rogue iOS / slow mobile timer errors causing crazy high deltas.
2013-10-23 17:11:06 +01:00
Richard Davey
96da57cac0
Fixed up the namespace in the documentation and finished off all sections other than Game Objects and Physics (yuck).
2013-10-03 02:38:35 +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
Richard Davey
336de314a1
Fixed an issue where the Tile.physicsElapsed would go insane if the game has been paused for a long time.
2013-09-12 16:18:44 +01:00
Richard Davey
92e86494e3
Tilemap Collision in and working :) Needs testing against Groups now.
2013-09-12 15:39:52 +01:00
Richard Davey
e2eddc8b24
Added Full Screen support and tested it. Also added in the BitmapText game object and custom XML loader. Game now sends a pause and resume signal, which the TweenManager listens to and handles correctly.
2013-09-10 23:51:35 +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
3c8cd20b70
RequestAnimationFrame done and optimised massively. PluginManager added (but needs testing). Game now fleshed out with all the state changing and core loop, also optimised heavily. Also Pixi integration started and the basics are working well :)
2013-08-29 03:52:59 +01:00
Richard Davey
0f58945212
Circle and Math converted
2013-08-28 15:27:22 +01:00
Richard Davey
09def364c3
Farewell TypeScript, see you on the other side.
2013-08-28 07:02:57 +01:00