Richard Davey
|
f812b92b8a
|
Creating test cases.
|
2013-09-13 02:07:58 +01:00 |
|
Richard Davey
|
a1450680a4
|
Part way through re-factoring the collision handler
|
2013-09-13 00:53:03 +01:00 |
|
Richard Davey
|
9f687b4f8a
|
Adding Type support for collision checks.
|
2013-09-12 21:54:41 +01:00 |
|
Richard Davey
|
79dc3566f4
|
Fixed some issues in Tilemap collision, updated the Emitter so x/y controls the point of emission (to stop collision getting out of whack) and fixed the postUpdate in body.
|
2013-09-12 20:59:56 +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
|
dbaf7269e9
|
Promoted the Tilemap to a DisplayObject and vastly simplified the load process.
|
2013-09-12 04:24:01 +01:00 |
|
Richard Davey
|
3d22d0e169
|
Fixed a bug in the tilemap rendering so the tile offsets were wrong. Now renders perfectly :) Also fixed issue that would cause the World to resize smaller than the game size (not allowed for rendering reasons).
|
2013-09-12 02:18:23 +01:00 |
|
Richard Davey
|
89b00db103
|
Tilemap Rendering is working :)
|
2013-09-12 00:55:27 +01:00 |
|
Richard Davey
|
95374339b9
|
Added a Sample Plugin and tested out the Plugin Manager. Working great :)
|
2013-09-11 17:32:53 +01: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
|
87858d6bbf
|
Fixed a bug stopping legacy Audio from starting correctly. Also fixed an issue in the Loader causing it to not load the next file if an unsupported audio file was encountered. Fixed audio playback issues on Firefox/Waterfox as a result.
|
2013-09-11 11:33:27 +01:00 |
|
Richard Davey
|
e79dd5856d
|
Added the ability to crop a sprite with a custom Rectangle.
|
2013-09-11 03:55:53 +01:00 |
|
Richard Davey
|
48ed27dfcc
|
Finished off RenderTexture. Sprites can now accept a RenderTexture or a key when you create them. RenderTextures are also now stored in the cache under their own key, making re-using them across other Sprites much easier. Also ported over all of the Tilemap classes, but need to get them rendering.
|
2013-09-11 02:57:36 +01:00 |
|
Richard Davey
|
f885f7b023
|
Added CSS3Filters plugin. Also modified Sprite to contain preUpdate call, so that update can be over-ridden by custom Classes + added an example for this.
|
2013-09-11 00:35:21 +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
|
a486bf6b4a
|
Phaser now running on iOS. Also fixed a legacy bug where a pending sound wouldn't play once it was touch unlocked. Also fixed Input not working on WebGL contexts. Added WebGL texture updates to the Group/World swap functions.
|
2013-09-10 16:46:39 +01:00 |
|
Richard Davey
|
5da0e42be4
|
Added in the Color Utils and removed the less important functions into ColorHarmony plugin. Updated Stage so backgroundColor can be a string or integer now.
|
2013-09-10 14:00:46 +01:00 |
|
Richard Davey
|
15fe5ed6c8
|
Fixed the Bring to Top bug and also fixed Group/World.swap when the child was a tail node. Also improved Group.dump significantly. Fixed Phaser.Utils namespace clash too.
|
2013-09-10 12:46:14 +01:00 |
|
Richard Davey
|
609ea7ec8f
|
Added ability to Scale particles when emitted.
|
2013-09-10 11:18:50 +01:00 |
|
Richard Davey
|
4f950ae801
|
Fixed a fantastic FrameData bug. Also added support to the Emitter to handle multiple image keys and/or frames.
|
2013-09-10 11:09:25 +01:00 |
|
Richard Davey
|
5d3fe891cd
|
Particle Emitter in and working. Nice and fast, and a lot more flexible than before.
|
2013-09-10 01:26:50 +01:00 |
|
Richard Davey
|
2ba6b4ff67
|
Added support for Pointer Lock API.
|
2013-09-09 19:59:31 +01:00 |
|
Richard Davey
|
60f0e8967f
|
Added Phaser.Graphics and fixed the Out of World Bounds call.
|
2013-09-09 17:01:59 +01:00 |
|
Richard Davey
|
30fc4099c6
|
Out of bounds and Sprite events hooked up
|
2013-09-09 13:29:33 +01:00 |
|
Richard Davey
|
ee007cd28e
|
Added in the game scaling handler and updated Stage
|
2013-09-09 12:35:20 +01:00 |
|
Richard Davey
|
c904475ae6
|
Added in the game scaling handler and updated Stage
|
2013-09-09 12:35:09 +01:00 |
|
Richard Davey
|
13d6ab512b
|
Fixed the Button frame issue and Down states now work properly
|
2013-09-09 10:30:01 +01:00 |
|
Richard Davey
|
9b6c819e0e
|
Input Component done and new Button object done and included. Also finished the build script.
|
2013-09-09 00:30:44 +01:00 |
|
Richard Davey
|
50624c1552
|
Input Handler working. Dragging, sliding, click detection, multi-touch. Appears to be an issue with bringToTop but it's most likely a problem with the swapChild function rather than Input.
|
2013-09-08 22:58:15 +01:00 |
|
Richard Davey
|
ebda1f99e3
|
Input Handler 90% there.
|
2013-09-08 22:38:19 +01:00 |
|
Richard Davey
|
abe344b408
|
More work on the pointer handlers, nearly there!
|
2013-09-08 17:39:23 +01:00 |
|
Richard Davey
|
90b1946c25
|
Input Handler mostly restored
|
2013-09-08 13:23:21 +01:00 |
|
Richard Davey
|
78598ae54a
|
Implemented my own LinkedList class to make the new Input Handler easier to work with. And also just generally useful to have too.
|
2013-09-08 11:24:41 +01:00 |
|
Richard Davey
|
fe6664eac7
|
Fixed the Body collide issues and optimised the process at the same time. Now the QuadTree appears to work perfectly as a result. Bonus!
|
2013-09-08 01:24:59 +01:00 |
|
Richard Davey
|
bb5d8ca170
|
a
|
2013-09-07 21:12:47 +01:00 |
|
Richard Davey
|
eb7af3d2a2
|
Group nearly done. Sprite.anchor appears to be broken though, must fix.
|
2013-09-06 20:20:58 +01:00 |
|
Richard Davey
|
822a2df289
|
Lots of work on Group and also resolved the issue of the core game loop structure not being quite right.
|
2013-09-06 15:00:05 +01:00 |
|
Richard Davey
|
0c97e8e151
|
Starting work on Group.
|
2013-09-05 21:07:44 +01:00 |
|
Richard Davey
|
b2fa345c9d
|
console banner maker
|
2013-09-05 03:35:12 +01:00 |
|
Richard Davey
|
c552d86639
|
Added swapChildren to Phaser.World
|
2013-09-05 02:11:54 +01:00 |
|
Richard Davey
|
87d52bd85e
|
Linked List node swap
|
2013-09-05 01:12:34 +01:00 |
|
Richard Davey
|
f4dab1847e
|
Working on Linked List node swapping.
|
2013-09-04 21:03:39 +01:00 |
|
Richard Davey
|
10bc22b717
|
Motion helper functions added to the ArcadePhysics class.
|
2013-09-04 16:12:58 +01:00 |
|
Richard Davey
|
128bdccd79
|
Sorted out the QuadTree issues and resolved a small but vital bug in separateX, also re-organised the collision flags in Body.
|
2013-09-04 13:54:55 +01:00 |
|
Richard Davey
|
b2263c16c6
|
Patched the QuadTree, now working a whole lot better but am worried it's still working out too many collisions.
|
2013-09-04 04:54:43 +01:00 |
|
Richard Davey
|
3f3b6bfd35
|
Brand new highly optimised QuadTree added, populated by the game loop and world ready to be queried as often as you want in your game loop, without creating hundreds of new QuadTrees each frame.
|
2013-09-04 03:48:15 +01:00 |
|
Richard Davey
|
2a353a0327
|
Flixel physics optimised about as much as it can be. Also added world and local gravity support and flag to toggle it on / off.
|
2013-09-04 01:10:01 +01:00 |
|
Richard Davey
|
0f438d5221
|
separateX up and working sweet with gc spike removal too
|
2013-09-03 19:34:38 +01:00 |
|
Richard Davey
|
a27f6d6562
|
Forces working, collision half way there.
|
2013-09-03 17:28:12 +01:00 |
|
Richard Davey
|
2fe8a3a0a7
|
Physics integration and a fix to Tween that stopped the repeat/yoyo from working.
|
2013-09-03 17:07:05 +01:00 |
|
Richard Davey
|
bdc1c2ceb9
|
Sorted out the bounds for when sprites are in trimmed texture atlases to stop the physics checks going insane. Also bundled in Advanced Physics lib, although not hooked up yet.
|
2013-09-03 15:35:40 +01:00 |
|
Richard Davey
|
8a90a87492
|
Text converted and a couple of examples created. Using new extend system, so much smaller classes now.
|
2013-09-03 06:02:47 +01:00 |
|
Richard Davey
|
5acb4e9f1b
|
Borrowed the 'extends' system from jQuery and now the codebase will be considerably smaller :) TileSprite already updated to new format.
|
2013-09-03 04:58:30 +01:00 |
|
Richard Davey
|
e28cdbeb6a
|
Moving to using a small extend / mixin method to avoid code repeating now we're extending Pixi display objects.
|
2013-09-03 04:43:26 +01:00 |
|
Richard Davey
|
66e86e7d82
|
Tiling Sprite added
|
2013-09-03 03:19:42 +01:00 |
|
Richard Davey
|
c18de53bab
|
SoundManager converted and playing audio :)
|
2013-09-03 01:24:16 +01:00 |
|
Richard Davey
|
ed13283f0f
|
Tided up the cull / bounds demo.
|
2013-09-03 00:42:17 +01:00 |
|
Richard Davey
|
7c597999d4
|
Camera culling now in and working, although you need to enable it on a per sprite basis. Also fixed a few small bugs in the Animation Manager.
|
2013-09-02 23:22:24 +01:00 |
|
Richard Davey
|
6235f25184
|
LL
|
2013-09-01 22:02:42 +01:00 |
|
Richard Davey
|
d31777972c
|
Camera culling
|
2013-09-01 19:52:50 +01:00 |
|
Richard Davey
|
7bdcbf5c2a
|
getBounds update.
|
2013-09-01 13:17:44 +01:00 |
|
Richard Davey
|
71b4cc532f
|
Added Sprite.getBounds function
|
2013-09-01 11:15:13 +01:00 |
|
Richard Davey
|
d54a92310d
|
Optimised sprite a tiny bit more and created a couple of fun demos :)
|
2013-09-01 06:21:39 +01:00 |
|
Richard Davey
|
fef28c6a6a
|
Optimised update loop to reduce calculations if the transform doesn't change.
|
2013-09-01 05:50:47 +01:00 |
|
Richard Davey
|
6ef89826df
|
Phew.. lots of transform matrix math over and I can finally get all 4 points of a Sprite, regardless of rotation, translation or scale of itself or any of its parents.
|
2013-09-01 05:29:53 +01:00 |
|
Richard Davey
|
12e5d2aceb
|
...
|
2013-09-01 05:22:08 +01:00 |
|
Richard Davey
|
801c2af9d4
|
Updated world so the update run uses the linked list. Sprite.getLocalPosition now almost working, but falls over for children.
|
2013-09-01 03:57:24 +01:00 |
|
Richard Davey
|
188d6239a3
|
Edge points in and working.
|
2013-09-01 03:15:27 +01:00 |
|
Richard Davey
|
99e0934244
|
More late-night math.
|
2013-09-01 02:28:51 +01:00 |
|
Richard Davey
|
5d4da0ce66
|
Working out culling
|
2013-09-01 00:35:29 +01:00 |
|
Richard Davey
|
22847f6ade
|
DebugUtils converted, re-name spaced the Input classes and started on Camera culling.
|
2013-08-31 21:50:34 +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 |
|
Richard Davey
|
f9aa7f7339
|
Fixed small bug in Game where AUTO didn't detect the lack of WebGL properly. Tidied up Math a bit more.
|
2013-08-30 20:05:29 +01:00 |
|
Richard Davey
|
54d98944e4
|
Mummy attack :)
|
2013-08-30 18:56:10 +01:00 |
|
Richard Davey
|
e77f5da2cd
|
Fixed the TweenManager and added support to GameObjectFactory, so you can create tweens easily now all hooked in to the internal game clock. Also added the AnimationManager into Sprite, so you can create and play animations directly from sprites nice and easily.
|
2013-08-30 17:09:43 +01:00 |
|
Richard Davey
|
936118bd91
|
AnimationManager done and in, need to fix texture update bug, otherwise finished.
|
2013-08-30 04:20:14 +01:00 |
|
Richard Davey
|
a81a8effb4
|
Sprite Sheets now parse and render correctly too.
|
2013-08-30 02:18:00 +01:00 |
|
Richard Davey
|
1e59bc69fb
|
Fixed bug in RequestAnimationFrame where the time wasn't being updated properly.
|
2013-08-30 02:00:30 +01:00 |
|
Richard Davey
|
559d75eba1
|
When Phaser loads images they are now added to the PIXI.BaseTextureCache. Also when it loads atlas data (regardless of the 3 formats) they are converted into PIXI TextureCache entries using UUIDs to avoid name clashes and to support index based atlases.
|
2013-08-30 01:50:17 +01:00 |
|
Richard Davey
|
4c1dacfa02
|
Loader can now parse both JSON Hash and JSON Array formated texture atlas files.
|
2013-08-29 22:53:55 +01:00 |
|
Richard Davey
|
5b036557c0
|
The start of World, also moved Game/Stage into core.
|
2013-08-29 21:57:36 +01:00 |
|
Richard Davey
|
6bf7bab917
|
Fixed some errors in Rectangle and more Pixi hooks added, now creating the Stage properly and rendering sprites.
|
2013-08-29 19:20:04 +01:00 |
|
Richard Davey
|
19483bafed
|
Canvas and Stage added and starting to merge in Pixi deeply.
|
2013-08-29 17:20:59 +01:00 |
|
Richard Davey
|
16749edf20
|
More state swapping features and optimised Game.loop.
|
2013-08-29 15:14:56 +01:00 |
|
Richard Davey
|
3d4783980e
|
StateManager improving in leaps and bounds.
|
2013-08-29 14:38:51 +01:00 |
|
Richard Davey
|
4bbcc380c5
|
State handling done. Refactored the Game constructor a LOT. Now works from within closures, outside of them, with Phaser.State objects or normal Objects with the right functions inside. Also fixed some small bugs in PluginManager and various scope issues with RAF.
|
2013-08-29 07:06:16 +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
|
b8d3a61c97
|
Added the TweenManager
|
2013-08-29 00:09:12 +01:00 |
|
Richard Davey
|
d323404676
|
Starting integration of tween.js
|
2013-08-28 21:29:25 +01:00 |
|
Richard Davey
|
8a09469798
|
Final methods added.
|
2013-08-28 19:18:34 +01:00 |
|
Richard Davey
|
9289f690eb
|
Rectangle mostly done, needs the prototype functions adding and some test cases made.
|
2013-08-28 17:19:13 +01:00 |
|
Richard Davey
|
89fe2855e4
|
Fixed a few things in Circle and added the Point object.
|
2013-08-28 15:58:37 +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 |
|