Commit graph

7866 commits

Author SHA1 Message Date
Pavle Goloskokovic
5d5acb40a9 Added pendingRemove flag that indicates if destroy method was called on this sound 2018-01-04 19:37:20 +01:00
Pavle Goloskokovic
1a38273cd8 Implemented resumeAll method 2018-01-04 19:32:10 +01:00
Pavle Goloskokovic
17dee3cd8d Implemented pauseAll method 2018-01-04 19:30:29 +01:00
Pavle Goloskokovic
13f752baca Implemented global playAudioSprite method to enable playing audiosprite sprites on the fly 2018-01-04 19:28:34 +01:00
Pavle Goloskokovic
6a64693257 Updated global play method to accept sound config and sound marker as second argument 2018-01-04 19:27:12 +01:00
Pavle Goloskokovic
66936490a1 Implemented global play method to enable playing sounds on the fly 2018-01-04 19:24:28 +01:00
Richard Davey
9c9b4f69b3 GetCamera will return a camera based on its name. 2018-01-04 16:40:04 +00:00
Richard Davey
3a3c24c7c4 Camera controls can change camera. 2018-01-04 16:39:52 +00:00
Richard Davey
27db941662 You can now specify a name when making a camera. 2018-01-04 16:39:42 +00:00
Richard Davey
a8213f07b9 Recoded HitTest so it no longer needs a matrix or matrix operations. 2018-01-04 15:42:15 +00:00
Richard Davey
f0ea5bfca2 Tidying up the global input manager. 2018-01-04 15:42:14 +00:00
Richard Davey
e459729782 Function now takes x and y values directly instead of via a point. Returns vector2 if not defined. 2018-01-04 15:42:13 +00:00
Richard Davey
2405027453 Exposed TransformXY via Phaser.Math. 2018-01-04 15:42:12 +00:00
Richard Davey
6ce82dc870 Removed decimal places. 2018-01-04 15:42:12 +00:00
Richard Davey
0b33d53759 Tidying up. 2018-01-04 15:42:11 +00:00
Richard Davey
d067f5d931 Takes the x and y coordinates and transforms them into the same space as defined by the position, rotation and scale values. 2018-01-04 15:42:10 +00:00
Pavle Goloskokovic
70b31c7273 Implemented stopAll method 2018-01-04 15:59:44 +01:00
Pavle Goloskokovic
56dab0e0eb Merge remote-tracking branch 'origin/master' 2018-01-04 15:58:46 +01:00
Richard Davey
90620e9d1f Working through bounds and input issues 2018-01-04 00:02:48 +00:00
Pavle Goloskokovic
4ff8fca1c5 Instantiating event dispatcher before setting any property values 2018-01-03 21:55:51 +01:00
Pavle Goloskokovic
0472463dad Instantiating event dispatcher before setting any property values 2018-01-03 21:55:41 +01:00
Pavle Goloskokovic
c293d4a516 Dispatching event when global detune value changes 2018-01-03 21:29:00 +01:00
Pavle Goloskokovic
f6976daf2b Dispatching event when global rate value changes 2018-01-03 21:28:45 +01:00
Pavle Goloskokovic
3b5289a733 Dispatching event when global volume value changes 2018-01-03 21:28:13 +01:00
Pavle Goloskokovic
3967a111a4 Dispatching event when global mute value changes 2018-01-03 21:27:53 +01:00
Pavle Goloskokovic
d73208349f Dispatching event when sound seek changes 2018-01-03 21:27:09 +01:00
Pavle Goloskokovic
dc796465b7 Dispatching event when sound detune value changes 2018-01-03 21:26:49 +01:00
Pavle Goloskokovic
de8919645a Dispatching event when sound rate value changes 2018-01-03 21:26:31 +01:00
Pavle Goloskokovic
e0591df9fc Dispatching event when sound volume value changes 2018-01-03 21:26:15 +01:00
Pavle Goloskokovic
0c70ae236e Dispatching event when sound mute value changes 2018-01-03 21:26:01 +01:00
Pavle Goloskokovic
c8a0591b62 Added SoundValueEvent to index.js 2018-01-03 21:24:47 +01:00
Pavle Goloskokovic
a157dd2ccc Added event class for sound value change 2018-01-03 21:24:33 +01:00
Pavle Goloskokovic
4210898a24 Replaced stop method call with logic needed to stop sound in order to avoiding dispatching both stop and ended events 2018-01-03 21:23:41 +01:00
Pavle Goloskokovic
89fce9135a Dispatching event when sound ends 2018-01-03 21:22:07 +01:00
Pavle Goloskokovic
3356fc2d92 Dispatching event when calling stop method 2018-01-03 21:20:40 +01:00
Pavle Goloskokovic
99accdbbd0 Dispatching event when calling resume method 2018-01-03 21:20:22 +01:00
Pavle Goloskokovic
fbc7264d4c Dispatching event when calling pause method 2018-01-03 21:20:02 +01:00
Pavle Goloskokovic
17985a0147 Dispatching event when calling play method 2018-01-03 21:19:44 +01:00
Pavle Goloskokovic
a664714c12 Removed unused dynamic fx code 2018-01-03 20:38:08 +01:00
Pavle Goloskokovic
d25b714e7e Added global playAudioSprite method that enables playing sounds from audiosprite on the fly 2018-01-03 20:35:28 +01:00
Pavle Goloskokovic
912a737561 Added global play method that enables playing sounds on the fly 2018-01-03 20:32:31 +01:00
Pavle Goloskokovic
1c896ba1f7 Removed fadeTo method 2018-01-03 20:31:33 +01:00
Pavle Goloskokovic
92ee1bb7e0 Removed fade tween property from destroy method 2018-01-03 20:31:07 +01:00
Pavle Goloskokovic
36f918c26b Removed fade tween property 2018-01-03 20:28:22 +01:00
Richard Davey
176b9c0fed We can move the topOnly check into the update and be done with it 2018-01-03 17:05:51 +00:00
Richard Davey
7695afd1fe Fix #3144 2018-01-03 16:30:51 +00:00
Richard Davey
b85ae018dd Removed rogue log 2018-01-03 15:09:45 +00:00
Richard Davey
98a82e3672 Added Input.setTopOnly and fixed process handling when topOnly is used with over / out events (#3136) 2018-01-03 15:09:06 +00:00
Richard Davey
8db93c4cb2 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-01-03 01:55:15 +00:00
Richard Davey
8334826de0 Working through some topOnly debug tests 2018-01-03 01:55:12 +00:00