Richard Davey
2a4e6ae56e
Updated log with Arcade Physics changes
2018-06-01 19:19:18 +01:00
Richard Davey
40a3896962
Added more jsdocs, setFPS and optimized group vs. sprite and RTree use
2018-06-01 19:19:07 +01:00
Richard Davey
586d1827e0
Removed dirty property, optimized update loop, refactored postUpdate for fixed time step
2018-06-01 19:18:40 +01:00
Richard Davey
329c9266b4
GetOverlapX/Y now use the calculated delta values, not the deltaX/Y methods
2018-06-01 15:41:40 +01:00
Chris Andrew
9e49b30d31
Fixed @return annotation spacing for GetBitmapTextSize.
2018-06-01 15:32:03 +01:00
Chris Andrew
085efa3190
Fixed a couple of BitmapTextSize descriptions.
2018-06-01 15:28:00 +01:00
Chris Andrew
8a7f381a28
Improved some GetBitmapTextSize descriptions.
2018-06-01 15:25:16 +01:00
Chris Andrew
efaff363aa
Documented XML Bitmap Font parsing and the GetBitmapTextSize function.
2018-06-01 15:21:10 +01:00
Chris Andrew
4750e92be4
Fixed a method signature issue with the Animation component's 'remove' event handler.
...
This prevented removed animations from stopping correctly, when they were removed from the AnimationManager.
2018-06-01 14:37:15 +01:00
Chris Andrew
007ac01f10
Documented the Animation, Pipeline and ToJSON Game Object components.
2018-06-01 14:08:35 +01:00
Joachim Grill
bc4186061c
added getter for center of mass
2018-06-01 14:42:59 +02:00
Joachim Grill
4719694f33
matter-js physics: added loader for shapes created and exported with PhysicsEditor
2018-06-01 14:42:28 +02:00
Chris Andrew
cb6077f231
Documented most of the Animation component class and some of the Animation class.
2018-06-01 13:11:25 +01:00
Chris Andrew
544daa8d4a
Documented the DisplayList and UpdateList plugins, and the BuildGameObject function.
2018-06-01 11:36:12 +01:00
Richard Davey
4ad7993b78
Added fixed timestep logic to Arcade Physics World
2018-06-01 03:25:33 +01:00
Nat Quayle Nelson
1028175fb2
Removing accidental changes
2018-05-31 22:00:30 -04:00
cyantree
e578cd55fa
Fixed endless loop in TweenManager.getTweensOf()
2018-06-01 01:25:46 +02:00
Richard Davey
2dc7f1dc4e
Updated change log
2018-06-01 00:06:05 +01:00
Richard Davey
7df02a4447
Added 2 NOOPs instead of merging the whole mixins.
2018-06-01 00:03:45 +01:00
Richard Davey
5dffd80420
Merge pull request #3718 from TadejZupancic/patch-3
...
Particle Emitter Manager in Container
2018-05-31 23:39:20 +01:00
Nat Quayle Nelson
507901cbb1
More comprehensive AddToDom logic
...
I realized I hadn't looked closely enough at the AddToDom logic, and created an error if a canvas was passed to GameConfig without being added to the DOM first. This commit should fix that scenario and move the logic back into AddToDom() where it really belongs
2018-05-31 16:40:46 -04:00
Nat Quayle Nelson
d43bff04e1
Should now be lint-compliant
2018-05-31 16:12:52 -04:00
Nat Quayle Nelson
29710ec9db
Don't re-add a user-specified Canvas to DOM
2018-05-31 14:53:13 -04:00
Chris Andrew
b2ef86534e
Updated change log.
2018-05-31 18:05:54 +01:00
Chris Andrew
ee6f48b10c
Fixed an incorrect usage of Math.abs() in Quaternion.calculateW() (thanks @qxzkjp).
2018-05-31 18:05:31 +01:00
Chris Andrew
40ba9a2ddf
Improved descriptions for Quaternion.conjugate() and Quaternion.calculateW().
2018-05-31 17:55:07 +01:00
Chris Andrew
fb55b9bb44
Updated change log.
2018-05-31 17:44:22 +01:00
Chris Andrew
56b43c5cc0
Improved Quaternion.conjugate() description.
2018-05-31 17:42:57 +01:00
Chris Andrew
e52e9ff8ec
Documented a few more Matrix descriptions. Fixed Matrix4.makeRotationAxis().
2018-05-31 17:32:25 +01:00
Richard Davey
f45ab89f8d
The ForwardDiffuseLightPipeline, used by the Lights system, now sets a flag if the Scene doesn't contain any lights. All of the Game Objects now check this flag and don't even bother adding themselves to the batch if there are no lights in the Scene, as they'd never render anyway. This also avoids the ghost-image problem if you swap Scenes to a new Scene with the Light Manager enabled, but no actual lights defined. Fix #3707
2018-05-31 16:57:30 +01:00
Chris Andrew
0fdb7fcab6
Documented SinCosTableGenerator and a few more easing parameters.
2018-05-31 16:29:42 +01:00
Richard Davey
652b7b04ba
Huge new ArcadeColliderType
def. Fix #3714 .
2018-05-31 15:52:45 +01:00
Chris Andrew
fd715f9a34
Fixed lint error in InputManager.update().
2018-05-31 15:19:35 +01:00
Chris Andrew
dad6b78c9b
Documented almost all of Math.Quaternion. Fixed lint error in RandomOutside.
2018-05-31 15:17:59 +01:00
Richard Davey
20e21ff5ac
Rectangle.RandomOutside is a new function that takes two Rectangles, outer
and inner
, and returns a random point that falls within the outer rectangle but is always outside of the inner rectangle.
2018-05-31 14:07:39 +01:00
TadejZupancic
6f7463f4f7
Particle Emitter Manager in Container
...
Added Alpha and ScrollFactor Mixin to Particle Emitter Manager otherwise it crashes when added to the Container.
2018-05-30 10:44:49 +02:00
Richard Davey
594fc3e27b
Added new dom callback support, streamlined the event flow, moved to consts
2018-05-30 00:33:51 +01:00
Richard Davey
f79ee26945
Proxy to the dom callback methods
2018-05-30 00:33:28 +01:00
Richard Davey
bdc95217ae
Calls new manager queue methods
2018-05-30 00:33:16 +01:00
Richard Davey
521ea10db9
Moved active pointers total to game config
2018-05-30 00:33:01 +01:00
Richard Davey
5db2bf5cbd
Moved the event switch block from strings to consts
2018-05-30 00:32:45 +01:00
Richard Davey
45c373f9f4
Multi-touch support working properly up to 10 pointers and mouse re-enabled.
2018-05-29 16:55:52 +01:00
Richard Davey
7371a52734
Added links directly to the docs
2018-05-29 12:14:37 +01:00
Richard Davey
a739be27a1
RenderTexture.resize will allow you to resize the underlying Render Texture to the new dimensions given. Doing this also clears the Render Texture at the same time
2018-05-29 12:07:40 +01:00
Richard Davey
a11a34d287
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-29 11:50:32 +01:00
Richard Davey
a7da8dc28f
The Canvas RenderTexture drawImage method incorrectly set the values of the frame, causing them to appear wrongly scaled in the canvas renderer. Fix #3710
2018-05-29 11:50:23 +01:00
Chris Andrew
911799483f
Merge pull request #3703 from rblopes/patch
...
Deleted `console.log`.
2018-05-27 03:05:50 +01:00
Rafael Barbosa Lopes
904b6c13da
Delete console.log
call on PluginManager.
2018-05-26 14:01:07 -03:00
Richard Davey
57e32761df
Started work on multi-touch support.
2018-05-25 19:28:18 +01:00
Richard Davey
20d702c011
Added identifier properties for multi-touch
2018-05-25 19:28:02 +01:00