photonstorm
7394403bb6
Fresh build. Updated docs and re-built phaser.js.
2014-02-19 05:28:19 +00:00
photonstorm
5d5c64d22f
Tilemap.createCollisionObjects will parse Tiled data for objectgroups and convert polyline instances into physics objects you can collide with in the world.
...
After defining tiles that collide on a Tilemap, you need to call Tilemap.generateCollisionData(layer) to populate the physics world with the data required.
Debug.renderPhysicsBody updated to take camera location and body rotation into account.
Body movement functions put back to velocity :)
Updated to latest dev version of pixi and latest p2.js
Updated docs
2014-02-18 03:01:51 +00:00
photonstorm
78bf874888
Fresh build. Added pre/post update hooks to Graphics.
2014-02-17 11:27:31 +00:00
photonstorm
e922bbdfd3
New build files
2014-02-15 01:36:07 +00:00
photonstorm
1cb40b6df1
Packaged builds for anyone wanting to test this weekend :)
2014-02-14 18:07:17 +00:00
photonstorm
ab5c07dfe8
Updated to Pixi 1.5 final.
...
InputHandler.pixelPerfectOver - performs a pixel perfect check to see if any pointer is over the current object (warning: very expensive!)
InputHandler.pixelPerfectClick - performs a pixel perfect check but only when the pointer touches/clicks on the current object.
2014-02-12 01:25:36 +00:00
photonstorm
da878b2181
Updated the Gruntfile. Also:
...
InputHandler.pixelPerfectOver - performs a pixel perfect check to see if any pointer is over the current object (warning: very expensive!)
InputHandler.pixelPerfectClick - performs a pixel perfect check but only when the pointer touches/clicks on the current object.
Previously using a Pixel Perfect check didn't work if the Sprite was rotated or had a non-zero anchor point, now works under all conditions + atlas frames.
2014-02-11 13:23:54 +00:00
photonstorm
e7a9b96d27
Final release 1.1.4 examples finished.
2014-02-05 16:55:02 +00:00
photonstorm
27fc447928
New polygon collision object examples and Body scale fixes.
2014-01-31 10:34:18 +00: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
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
35cef4e529
Updated Body file and compiled + minified builds for those wanting to test.
2014-01-09 18:24:12 +00:00
photonstorm
d9ffd6afd4
Final version of the Getting Started guide.
2013-11-29 18:28:55 +00:00
photonstorm
f22159e257
Updated documentation.
2013-11-28 15:57:09 +00:00
photonstorm
86584a636c
Added new Phaser.HEADLESS render mode (doesn't output anything).
2013-11-25 14:53:30 +00:00
photonstorm
06a17b4b26
Fixed an issue in Text. Fixed the background color issue with Canvas games. Updated the Examples viewer so the side-by-side focuses the iframe now. Added new "Extend Group" example.
2013-11-25 13:12:03 +00:00
photonstorm
b63bd14172
ScaleMode fix, BitmapData change and Device updates.
2013-11-18 20:27:40 +00:00
photonstorm
3f99b691c9
Added in a Group.sort demo, also updated the documentation and build files.
2013-11-07 06:10:15 +00:00
photonstorm
3e9777e6f4
Updated docs for 1.1.2 release.
2013-11-01 18:16:52 +00:00
photonstorm
6f93a2ec94
Multiple Anims update, Tilemap fixes and some new examples.
2013-10-31 15:45:19 +00:00
photonstorm
9261160571
1.1.1 release with fix for Phaser.AUTO and a new text example.
2013-10-26 19:14:13 +01:00
photonstorm
6994e4be5e
Merge branch 'dev'
2013-10-25 18:50:14 +01:00
photonstorm
34736fbde5
Final 1.1 release. Here goes nothing :)
2013-10-25 18:35:49 +01:00
photonstorm
4a51ac4671
Updated README and sorting out folder case issue.
2013-10-23 13:30:23 +01:00
photonstorm
07724e5001
Revamping the examples area.
2013-10-22 03:58:20 +01:00
photonstorm
8ed783802e
New examples page
2013-10-18 15:12:32 +01:00
photonstorm
dabda516c2
Compiled build.
2013-10-17 22:56:20 +01:00
photonstorm
9c1fdb371c
Nearly finished Tilemap integration into the core.
2013-10-16 06:33:39 +01:00
photonstorm
31018b9295
Star Struck game back and working again, plus finished the level design.
2013-10-16 03:37:15 +01:00
photonstorm
a97f271de7
Fixed Animation index 0 issue and hooked TilemapLayer to camera.
2013-10-16 02:09:12 +01:00
photonstorm
dd695e066f
More tilemap tweaks.
2013-10-14 19:37:52 +01:00
photonstorm
b868c2cb1b
Started revamp of the Tilemap system. Also removed old 'Advanced Physics' and dropped in p2.js which is what I hope we'll eventually use.
2013-10-11 04:42:11 +01:00
photonstorm
a7230aa769
Sprite.loadTexture added.
2013-10-10 09:03:38 +01:00
Richard Davey
e85643abf4
Yet more documentation done.
2013-10-02 20:18:24 +01:00
Richard Davey
480d90b009
* Removed the callbackContext parameter from Group.callAll because it's no longer needed.
...
* Updated Group.forEach, forEachAlive and forEachDead so you can now pass as many parameters as you want, which will all be given to the callback after the child.
* Updated build script so it can be run from the command-line and includes UMD wrappers (thanks iaincarsberg)
2013-10-01 02:19:08 +01:00
Richard Davey
8668b82ef6
* Fixed issue causing Keyboard.justPressed to always fire (thanks stemkoski)
...
* Added Keyboard.addKey() which creates a new Phaser.Key object that can be polled for updates, pressed states, etc. See the 2 new examples showing use.
2013-10-01 01:18:29 +01:00
Richard Davey
fa1ed04aa8
Build
2013-09-30 19:54:43 +01:00
Richard Davey
31bbf05ace
* Fixed small bug stopping Tween.pause / resume from resuming correctly when called directly.
...
* Fixed an issue where Tweens.removeAll wasn't clearing tweens in the addition queue.
* Change: When you swap State all active tweens are now purged.
2013-09-30 11:15:50 +01:00
Richard Davey
9642d4994a
1.0.6a release to fix an issue in the StateManager.
2013-09-26 11:49:58 +01:00
Richard Davey
c29fcfb510
1.0.6 release to fix a few important issues and prepare for the dev branch.
2013-09-24 15:53:20 +01:00
Richard Davey
891369b197
Preparing for 1.0.6 release, but moving physics changes to dev.
2013-09-24 15:28:29 +01:00
Richard Davey
b69b3db486
1.0.6a
2013-09-22 23:07:12 +01:00
TheJare
4b6147d3e3
Fix bug in StateManager where a state's update function might not get called if it has an empty preload function
2013-09-20 22:42:04 +01:00
Richard Davey
8c41b3253c
1.0.5 package
2013-09-20 14:00:49 +01:00
Richard Davey
c5fc5e3394
Fixed various issues in the TweenManager, added length property to Group and improved the build script.
2013-09-19 04:45:08 +01:00
Richard Davey
d9a49797c4
1.0.4 release
2013-09-18 06:34:56 +01:00
Richard Davey
17e208a95e
1.0.2 build
2013-09-16 01:53:53 +01:00
Richard Davey
f069107e55
1.0.1 release - fixes issues in tile map collision, additional Animation stop checks and updated package license.
2013-09-15 03:58:38 +01:00
Richard Davey
48161f5c24
1.0 release versions ready.
2013-09-13 17:52:01 +01:00
Richard Davey
62d77e7038
Small new demo and refactored collision list - now far less comparisons to perform!
2013-09-13 04:22:12 +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
92e86494e3
Tilemap Collision in and working :) Needs testing against Groups now.
2013-09-12 15:39:52 +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
1248a6c06e
Whole codebase updated to TypeScript 0.9.1, phew!
2013-08-08 19:16:47 +01:00
Richard Davey
73745e5720
Fixed a few things in Tilemap and optimised the renderer a little bit.
2013-08-08 06:29:21 +01:00
Richard Davey
48f6d850c8
Fixed bug where a Tween with both yoyo and loop enabled would get out of sync.
2013-08-08 06:08:53 +01:00
Richard Davey
ab7e55ef27
Added ability for the TimeManager to monitor the pause duration. This is then applied to tweens and other game services, meaning the tweens now restart properly after a pause resumes.
2013-08-08 05:43:22 +01:00
Richard Davey
5768336150
Tidied up the Loader so it now starts automatically, added required Signals and removed the old-style callbacks.
2013-08-08 04:35:13 +01:00
Richard Davey
04dcb29c88
WorldView now takes camera placement into account, so Buttons now work across multiple camera set-ups.
2013-08-08 03:24:26 +01:00
Richard Davey
a174bbc6b3
Vastly optimised InputManager and Pointer is now aware of which camera it is over.
2013-08-08 03:05:59 +01:00
Richard Davey
bc77c3f84e
Updated Renderer system, now much easier to expand and maintain.
2013-08-08 01:07:22 +01:00
Richard Davey
d7205992a5
Fixed some issues in dragging sprites with snap-to-center and world coordinates.
2013-08-07 00:00:12 +01:00
Richard Davey
77cc3858d9
Fixed the world drag issue across Sprite and Button.
2013-08-06 04:34:52 +01:00
Richard Davey
11954812c6
Clearing down the To Do list.
2013-08-06 03:14:48 +01:00
Richard Davey
d1da4cbdef
Fixed Firefox audio issue with the Loader and added defined functions for anonymous callbacks
2013-08-05 03:43:20 +01:00
Richard Davey
f3dcd3e831
Plugin Support added and CameraFX re-enabled
2013-08-02 19:37:43 +01:00
Richard Davey
982faeedb8
Updating and fixing tests
2013-08-02 18:32:26 +01:00
Richard Davey
4c9c50584e
Tidying up the physics libraries
2013-08-02 12:38:56 +01:00
Richard Davey
955909979d
Preparing for 1.0 branch
2013-08-01 22:21:29 +01:00
Richard Davey
3038f6fcf8
Added optimised point in circle test to CircleUtils
2013-07-27 10:57:54 +01:00
Richard Davey
3c123293ba
New CSS3 Filters component and Net class.
2013-07-19 04:57:14 +01:00
Richard Davey
9827e7522f
Multiple fixes to remove the use of reserved words, making the YUI compressor work again.
2013-07-19 02:59:23 +01:00
Richard Davey
a2c756e37f
Added ability for full Audio tag playback and iOS touch lock load support.
2013-07-16 23:32:47 +01:00
Richard Davey
72eb22128f
SoundManager overhaul nearly finished. Proper Web Audio / Audio tag split, working across desktop and mobile. Includes iOS touch unlock restriction handling, auto decoding, global volume management, audio sprite support (for both web audio and audio tags) and playhead monitoring.
2013-07-16 14:45:08 +01:00
Richard Davey
b3fff37faf
Added todo items to repo
2013-07-13 12:38:59 +01:00
Richard Davey
dcce99ec60
Added the new Button game object and various other input and tilemap fixes.
2013-07-12 03:28:46 +01:00
Richard Davey
c81cf0c882
Lots of Tilemap updates, moved the renderer out, added components and new tests.
2013-07-02 23:41:25 +01:00
Richard Davey
c647792c12
Physics updates
2013-06-26 14:18:48 +01:00
Richard Davey
d19ad4976d
Merged Advanced Physics with core.
2013-06-26 05:44:56 +01:00
Richard Davey
0591c7f2bd
Doing one final commit before the task of merging physics with core.
2013-06-25 15:35:45 +01:00
Richard Davey
ec845155eb
After hours and hours of debugging, polygon to polygon collision is now working perfectly :)
2013-06-21 23:39:29 +01:00
Richard Davey
829a1b00e4
Brand new physics system finally (mostly) working. Some poly issues to resolve, but it's running well.
2013-06-18 19:37:09 +01:00
Richard Davey
0a7513240a
Refactor completed. Now to tie the physics and sprites together.
2013-06-14 18:54:12 +01:00
Richard Davey
533a4c2e30
Commiting before a small refactor of Shapes and Joints
2013-06-14 17:55:07 +01:00
Richard Davey
dd8962d4b5
After a mammoth debugging session we now have advanced physics colliding and responding accurately :)
2013-06-14 15:18:41 +01:00
Richard Davey
114d1d2fbf
Compiling, but not yet running correctly. Need to add body renderer next.
2013-06-14 04:13:00 +01:00
Richard Davey
232c96cc54
Space and Joints interface added.
2013-06-14 03:20:47 +01:00
Richard Davey
461f7ee54d
Added lots more classes into the Advanced Physics package
2013-06-14 02:42:51 +01:00
Richard Davey
038cb213e8
Starting merge of the Advanced Physics classes and splitting off Flixel physics into ArcadePhysics.
2013-06-13 17:15:16 +01:00
Richard Davey
7dac2b6506
Added Group.bringToTop and updated Input component to use sprite getXY handler.
2013-06-13 01:55:32 +01:00
Richard Davey
2389c6c231
Added ability to detect if a given point is within a sprite or not, taking rotation and scaling into account.
2013-06-12 19:53:48 +01:00
Richard Davey
c2533d1146
Finally a fully working bounding box that respects scale and rotation - the "in camera" check is now 100% accurate :)
2013-06-11 23:30:35 +01:00
Richard Davey
c5f6817c4c
Working sprite bounds / vertices regardless of scale or rotation
2013-06-11 21:30:15 +01:00
Richard Davey
1f8c809f53
cameraView working for center rotated sprites, just need to handle any point of rotation.
2013-06-07 19:18:39 +01:00
Richard Davey
3b9386727e
Small refactoring and massively optimised the canvas renderer, also added new Mat3 class.
2013-06-07 16:27:33 +01:00
Richard Davey
a30762ed8c
Fixed world drag support and other input modifications.
2013-06-07 07:35:28 +01:00
Richard Davey
730594835a
New Texture and Transform components which are now used by Sprite, Group and Camera.
2013-06-06 02:47:08 +01:00
Richard Davey
2f03f5fc43
Updated Loader component and fixed a few Pointer issues.
2013-06-05 02:58:16 +01:00
Richard Davey
d42f396ba0
Lots of tweaks and fixes to the orientation and fullscreen classes
2013-06-05 01:49:08 +01:00
Richard Davey
82d4ba4538
Re-done the pointer handler so it respects the top-most rendered sprite in priority to anything below it, for both mouse over and click events.
2013-06-03 12:03:34 +01:00
Richard Davey
1c37cd1a96
Created DebugUtils class and started moving renderInfo methods to it.
2013-06-03 03:08:24 +01:00
Richard Davey
2de70d07a5
Fixed issue in Camera.inCamera check where it wouldn't take into consideration the Sprites scrollFactor.
2013-06-03 02:38:08 +01:00
Richard Davey
b951b02de8
Input priority IDs working properly for drag events.
2013-06-03 01:22:14 +01:00
Richard Davey
2270da2479
Fixed drag sprite + offsets and center locking
2013-06-02 21:41:00 +01:00
Richard Davey
f9f17ad353
Multi point input handler working
2013-06-02 14:19:12 +01:00
Richard Davey
49fe5ee65f
Added Group IDs and references to Sprites, Group sorting, z-index values and child swapping. Also added all of the drag and bounds methods to Input.
2013-06-02 03:47:54 +01:00
Richard Davey
5b532ab2e4
Sprite.Input component added and working nicely.
2013-06-01 02:49:41 +01:00
Richard Davey
b20a6ff85a
Working my way through putting all the Tests back in and fixing issues as I go.
2013-06-01 01:30:36 +01:00
Richard Davey
31c4d8cb14
Adding in missing tests and fixing as we go
2013-05-31 19:28:16 +01:00
Richard Davey
d510b785b1
Putting everything back together again :)
2013-05-31 18:21:32 +01:00
Richard Davey
fe372af453
Commit before tidying up redundant files
2013-05-31 15:13:03 +01:00
Richard Davey
23ec3816db
Added circleToRect intersection check.
2013-05-31 05:28:36 +01:00
Richard Davey
39e7b84cd9
Flixel level separation merged with the new Physics shapes.
2013-05-31 04:20:49 +01:00
Richard Davey
3e53c0671d
About to start re-doing collideShapes
2013-05-30 23:03:56 +01:00
Richard Davey
498725c078
Moved the collision out into separateX and separateY
2013-05-30 13:25:48 +01:00
Richard Davey
ce1523585f
ScrollZone back in under the new renderer with new demos
2013-05-30 05:34:35 +01:00
Richard Davey
f2054f8a2a
Physics shape offset now finally working
2013-05-30 03:54:51 +01:00
Richard Davey
0fad46e04b
Merged updateMotion with new PhysicsManager
2013-05-30 01:09:27 +01:00
Richard Davey
c1eafe865a
First pass at integrating the new physics system.
2013-05-29 21:39:08 +01:00
Richard Davey
f3c9049e76
Camera updates, scrollFix check and some new pictures and tests.
2013-05-29 17:31:57 +01:00
Richard Davey
7b4374cabf
Added loop and yoyo properties to Tweens
2013-05-29 15:45:34 +01:00
Richard Davey
b1d836dfaf
Scale tweaks
2013-05-29 12:24:25 +01:00
Richard Davey
2a26257caa
Fixed scale, flippedX/Y and rotation so they all work from a single setTransform in any combination, taking the origin into account. Phew!
2013-05-29 11:40:05 +01:00
Richard Davey
09f57fa346
Preparing new tests
2013-05-29 02:58:56 +01:00
Richard Davey
3c0c349089
More refactoring for 1.0.0
2013-05-28 21:38:37 +01:00
Richard Davey
03b7467018
Tidying up before putting back together again
2013-05-28 09:37:32 +01:00
Richard Davey
4cef0d1d35
Tidying up
2013-05-25 11:17:11 +01:00
Richard Davey
204ec46b2b
Refactoring ready for 1.0 release.
2013-05-25 04:21:24 +01:00
Richard Davey
94add2ea6e
Updated Loader so it no longer checks if the animation data is valid, passes that control to the AnimationLoader. Also fixed camera bounds check in Sprite.
2013-05-23 15:45:04 +01:00
Richard Davey
c7485301ca
Added Starling/Sparrow XML Texture Atlas format support.
2013-05-23 03:08:57 +01:00
Richard Davey
bd54460e80
Added the GameObjectManager
2013-05-23 00:01:58 +01:00
Richard Davey
e2141c91a6
Added VerletManager and lots of new tests
2013-05-21 04:12:54 +01:00
Richard Davey
0b2d818ba8
CollisionMask up and running
2013-05-20 06:21:12 +01:00
Richard Davey
05cc32fbc9
Added final logo and start of CollisionMask
2013-05-19 14:01:11 +01:00
Richard Davey
53aa43566e
Updated DynamicTexture.setPixel, added GameMath.shuffleArray, fixed Animation.frame and created a few new tests
2013-05-18 03:05:28 +01:00
Richard Davey
55568592b5
Lots of updates across input, rendering and grouping
2013-05-17 06:49:43 +01:00
Richard Davey
a6e8436e6d
Massive input overhaul continued
2013-05-16 21:34:24 +01:00
Richard Davey
3cdd2baff0
New Input handler implemented.
2013-05-16 02:36:58 +01:00
Richard Davey
ce7bfd1fc2
Added FullScreen API support and fixed numerous StageScaleMode issues.
2013-05-14 03:37:38 +01:00
Richard Davey
aaaaf7ede3
Preparing for doc merge
2013-05-10 16:31:19 +01:00
Richard Davey
54a5e6477c
Lots of new tile map commands and tests.
2013-05-02 05:01:34 +01:00
Richard Davey
2a5b6ef12a
Large Tilemap collision overhaul. Proper callback support, optimised collision checks and lots more.
2013-05-02 03:37:45 +01:00
Richard Davey
e62b300a25
Added Camera Mirror FX and test case.
2013-05-02 01:02:06 +01:00
Richard Davey
7d98a1bb9d
New FXManager system and Camera FX now in place.
2013-05-01 04:10:21 +01:00
Richard Davey
c5cccf3283
Large refactoring of the pause and boot screens in Stage and various other small fixes
2013-04-29 02:41:19 +01:00
Richard Davey
9f23c378a1
0.9.4 release
2013-04-28 22:10:12 +01:00
Richard Davey
cb9cb6e894
Github Bug Fixes
2013-04-28 22:04:37 +01:00
Richard Davey
e948f1e3be
Fixed daft issue in Camera and fully implemented tilemap collision.
2013-04-28 22:04:36 +01:00
Richard Davey
4c21ac0d87
Tilemap collision is now working but all Camera following seems to be broken as a result. Awesome.
2013-04-28 22:04:36 +01:00
Richard Davey
b2e1434f5e
Tilemap collision working but needs speeding up
2013-04-25 20:05:56 +01:00
Richard Davey
3898faf17e
New v0.9.3 release - see the changelog in the README for full details.
2013-04-24 02:48:03 +01:00
Richard Davey
1b6fbc1324
Fixed Game.boot issue and Animation issue reported in github.
2013-04-24 00:47:11 +01:00
Richard Davey
268470ef62
Added blaster example to the Test Suite and fixed a rotation bug in the particle emitter.
2013-04-24 00:18:07 +01:00
Richard Davey
6466361f5f
Great new thrust ship example added for ScrollZones. Also added rotationOffset value to GameObject base class.
2013-04-23 21:27:45 +01:00
Richard Davey
00fb20f8c2
And ScrollRegions work too :)
2013-04-23 19:24:16 +01:00
Richard Davey
332f715943
Finally fixed a really annoying bug in ScrollZone and it now works perfectly across the board.
2013-04-23 15:15:34 +01:00
Richard Davey
f2678104fa
Saving first iteration of the ScrollZone game object.
2013-04-22 01:53:24 +01:00
Richard Davey
361b8e5779
Version 0.9.2 update. See the change log for full details.
2013-04-20 03:40:17 +01:00
Richard Davey
364492d786
Added grunt file and npm package for OSX debs
2013-04-20 01:24:38 +01:00
Richard Davey
87e0c483bb
Version 0.9.1 release - see the release notes for more details.
2013-04-19 18:53:21 +01:00
Richard Davey
e869591410
Added minifed build.
2013-04-18 16:52:20 +01:00
Richard Davey
a90606a28a
Complete 0.9 release
2013-04-18 16:49:08 +01:00
Richard Davey
64d57b8e05
Refactoring of the codebase finished. All classes updated. Ready for final push to 1.0 release.
2013-04-18 15:48:06 +01:00
Richard Davey
6bb4c5e3fc
Preparing for new release
2013-04-18 14:16:18 +01:00