photonstorm
22462566b4
Restored old Image object.
2014-07-11 18:02:40 +01:00
photonstorm
26fb6cb866
Temporary fix for #997
2014-07-11 16:04:15 +01:00
photonstorm
5047606118
Button.onOverMouseOnly is a boolean that causes onOver events to fire only if the pointer was a mouse (i.e. stops onOver sounds triggering on touch)
2014-05-13 23:43:44 +01:00
Christian Wesselhoeft
bdbf2783ad
Fix jshint issues in src/gameobjects
2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
61f18b675c
Trim trailing whitespace.
2014-03-25 14:56:04 -07:00
photonstorm
4a407f12a1
Button.onInputUpHandler wouldn't set an upFrame for a frame ID of zero, made the check more strict.
2014-03-17 23:57:27 +00:00
photonstorm
5f79bb4330
Fix typos of method names in Button.js for doc #444
2014-02-19 15:01:59 +00:00
photonstorm
c429787877
Button now extends Phaser.Image not Phaser.Sprite, all the same functionality as before remains, just no animations or physics body.
2014-02-07 18:55:29 +00:00
photonstorm
0896c2fac7
Updating copyright year and README.
2014-02-05 16:54:59 +00:00
photonstorm
d1cd1df9a5
Lots of fixes and updates to the Button class, InputHandler for snap offsets, Sound looping and Stage scaling.
2013-12-31 17:03:09 +00:00
photonstorm
f22159e257
Updated documentation.
2013-11-28 15:57:09 +00: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
2e576fa9a7
Input Handler updates, orientation screen and World visibility
2013-11-04 20:44:32 +00:00
Richard Davey
0e84b7ccc9
Merge pull request #162 from beeglebug/button
...
Button now goes back to over state when setFrames used in action
2013-11-03 18:39:54 -08:00
beeglebug
3227918c57
fix #154 Button now goes back to over state when setFrames used in action
2013-11-02 11:24:00 +00:00
photonstorm
3c164b466c
* Updated: event.preventDefault() has been added to all Mouse event handlers.
...
* Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y.
* Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.
2013-11-01 02:07:21 +00:00
photonstorm
24c809dd5f
Final body / physics / bounds fixes. Also updated various examples, optimised Sprite core loop and enhanced the Invaders example.
2013-10-30 03:46:52 +00:00
Webeled
ce04ade458
Lots of JSDocs updates in the gameobjects folder
2013-10-25 15:22:45 +01:00
Richard Davey
e85643abf4
Yet more documentation done.
2013-10-02 20:18:24 +01:00
Richard Davey
305b12d76b
Adding docs.
2013-10-01 15:01:46 +01:00
Richard Davey
16b1913de1
* Fixed issue in Sound.play where if you gave a missing marker it would play the whole sound sprite instead.
...
* Button.setFrames will set the current frame based on the button state immediately.
* InputHandler now creates the _pointerData array on creation and populates with one empty set of values, so pointerOver etc all work before a start call.
* Added Canvas.setUserSelect() to disable touchCallouts and user selections within the canvas.
* When the game boots it will now by default disable user-select and touch action events on the game canvas.
* Loaded.setPreloadSprite now rounds the width/height values and starts from 1. This fixes canvas draw errors in IE9/10 and Firefox.
2013-09-30 17:12:22 +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
18c695e9dd
PixiPatch and other 1.0.7 features
2013-09-27 09:57:08 +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
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
9f687b4f8a
Adding Type support for collision checks.
2013-09-12 21:54:41 +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