Richard Davey
eff01adbc9
Added divide argument to the Snap methods.
2018-08-03 00:34:11 +01:00
Richard Davey
7ccd469048
Updated the jsdocs.
2018-07-25 00:18:45 +01:00
Richard Davey
7aa46657c2
Tidying up jsdocs and changing float to number
2018-06-26 23:19:14 +01:00
Chris Andrew
c2bfc52987
Documented the majority of the Geom Line functions.
2018-06-21 18:13:56 +01:00
Chris Andrew
e140640583
Minor punctuation fix for Vector distanceSq() method descriptions.
2018-06-14 15:12:10 +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
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
Chris Andrew
0fdb7fcab6
Documented SinCosTableGenerator and a few more easing parameters.
2018-05-31 16:29:42 +01:00
Chris Andrew
dad6b78c9b
Documented almost all of Math.Quaternion. Fixed lint error in RandomOutside.
2018-05-31 15:17:59 +01:00
Chris Andrew
05f55dc5ed
Minor parameter renaming for SmoothStep interpolation functions.
2018-05-24 19:06:57 +01:00
Chris Andrew
2e0b50ee90
Simplified implementations of SmoothStepInterpolation and SmootherStepInterpolation.
2018-05-24 18:55:24 +01:00
Chris Andrew
2f3c35c5b5
Fixed SmoothStepInterpolation and SmootherStepInterpolation implementations.
...
Improved documentation consistency of SmoothStep, SmootherStep, SmoothStepInterpolation and SmootherStepInterpolation.
2018-05-24 18:48:12 +01:00
Chris Andrew
f38a0683ff
Updated SmoothStep and SmootherStep documentation. Fixed lint errors.
2018-05-24 18:11:18 +01:00
Chris Andrew
424b5d72cd
Added SmootherStep interpolation function.
2018-05-24 18:02:53 +01:00
Richard Davey
603483ee69
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-24 17:30:31 +01:00
Richard Davey
bed3968ff7
Added SmoothStep interpolation function
2018-05-24 17:04:02 +01:00
Richard Davey
2684e7d988
Updated docs and added native clamping
2018-05-24 17:03:42 +01:00
Chris Andrew
e6d1df56cd
Started documenting Matrix3 and Matrix4.
2018-05-24 16:41:59 +01:00
Chris Andrew
3a56fc32f7
Described all easing functions.
2018-05-24 15:44:49 +01:00
Chris Andrew
1aeb8327e7
Started documenting Math.Easing functions.
2018-05-24 13:33:47 +01:00
Chris Andrew
313ae38bb1
Improved Math.Angle function documentation.
2018-05-24 13:14:04 +01:00
Chris Andrew
1c94c3d4d6
Documented a few more Phaser.Math functions.
2018-05-24 12:59:27 +01:00
Chris Andrew
c9d82c9ebd
Documented Math.Snap functions.
...
Adapted from Phaser CE documentation.
2018-05-24 12:15:37 +01:00
Chris Andrew
5e374b29dc
Elaborated fuzzy math function descriptions.
...
Finished up pow2 and RandomDataGenerator descriptions.
2018-05-24 12:06:44 +01:00
Chris Andrew
0f9bfc62f8
Documented Math.Distance, Math.Fuzzy and Math.Interpolation.
2018-05-24 11:40:53 +01:00
Chris Andrew
4726b8f2eb
Merge pull request #3696 from hexus/documentation
...
Phaser.Math Documentation
2018-05-23 18:49:29 +01:00
Chris Andrew
03fee98511
Reverted Vector3.setTo() implementation. Fixed an ESLint issue in RenderTexture.
2018-05-23 18:37:32 +01:00
Chris Andrew
8c3a9ea42b
Documented Math.Angle functions and Math.Wrap.
2018-05-23 17:42:54 +01:00
Richard Davey
182015bdbc
Merge pull request #3695 from wtravO/master
...
Fixed JSDoc error in RND.shuffle param
2018-05-23 15:30:42 +01:00
Travis O'Neal
87d1621bfc
Fixed JSDoc error in shuffle param
2018-05-23 10:17:07 -04:00
Chris Andrew
01d45f5d83
Documented most of Vector4. Improved documentation consistency between Vector classes.
2018-05-23 15:00:03 +01:00
Chris Andrew
c9d17fb9c7
Implemented Vector3.setTo() (alias for set()).
...
Fixed some documentation mistakes. Removed appropriate TODO.
2018-05-23 12:19:31 +01:00
Chris Andrew
d8163439a1
Documented most of Vector3. Improved Vector2 documentation.
2018-05-23 12:15:16 +01:00
Chris Andrew
dca9f11f0f
Started documenting top-level Phaser.Math functions and classes.
2018-05-23 10:46:16 +01:00
Richard Davey
103e0c8727
Updated RandomDataGenerator.shuffle to remove several internal calls as min is always zero
2018-04-26 13:02:13 +01:00
Richard Davey
44314845f5
Merge pull request #3564 from wtravO/master
...
Added array shuffle method to RDG
2018-04-26 12:38:19 +01:00
Daniel
78d1c566ef
Fix comment alignment
2018-04-25 20:25:29 +10:00
Daniel
9f8d87c23f
Fill some description tags in Vector2.js. Fixed some descriptions.
...
Filled for:
setFromObject
constructor
2018-04-25 20:10:49 +10:00
Daniel
1f50bbd221
Filled many description tags for methods in Vector2.
...
These include:
reset,dot, normalize, lengthSq, length, distance, distanceSq, negate,
divide, multiply, add, subtract, scale, angle, equals, setTo, set, copy,
clone
2018-04-24 17:40:51 +10:00
Daniel
f347af853f
Fix grammar in return statement description DegToRad.js
2018-04-24 16:29:51 +10:00
Daniel
529c35adda
Update return statement description in RadToDeg
2018-04-24 16:27:19 +10:00
Daniel
516c8cb29d
Update return statement description in DegToRad
2018-04-24 16:26:47 +10:00
Daniel
bad01055e1
Fill description tags in IsEven.js
2018-04-24 16:23:42 +10:00
Daniel
ce4702cbc2
Fill all description tags in RoundAwayFromZero.js
2018-04-24 16:23:26 +10:00
Daniel
bea966f646
Fill in remaining description tags for Within.js
2018-04-24 16:22:52 +10:00
Daniel
2fbb29f79a
Fill all description tags in Rotate.js
2018-04-24 16:22:05 +10:00
Daniel
31ed7f7673
Fill all description tags in TadToDeg.js
2018-04-24 13:48:11 +10:00
Daniel
c119d570ee
Fill all description tags in DegToRad.js
2018-04-24 13:47:55 +10:00
Daniel
96d1b691fa
Add full stop to docs
2018-04-22 17:07:55 +10:00
Daniel
0e3c1064c9
Actually fill in the doc tags, instead of commiting the wrong thing
2018-04-22 17:04:11 +10:00
Daniel
0a422fce0c
Add full stops at the end of doc sentences
2018-04-22 17:03:47 +10:00
Daniel
d67559debc
Fill all description tags for Phaser.Math.Difference
2018-04-22 17:00:03 +10:00
Daniel
ea1d01b325
Fill all description tags for Phaser.Math.Factorial
2018-04-22 16:59:44 +10:00
Daniel
9701d68af2
Fill all description tags for Phaser.Math.FloatBetween
2018-04-22 16:59:25 +10:00
Daniel
d7c5d8951a
Fill all description tags for Phaser.Math.Factorial
2018-04-22 16:53:35 +10:00
Richard Davey
c37c6365d3
The RandomDataGenerator class is now exposed under Phaser.Math should you wish to instantiate it yourself. Fix #3576
2018-04-16 16:07:52 +01:00
Richard Davey
18585de81d
Lots of jsdoc fixes
2018-04-16 14:43:24 +01:00
Travis O'Neal
620585a57c
Added array shuffle method
2018-04-13 14:23:48 -04:00
Richard Davey
34b236df41
Vector2.setTo is a method alias for Vector2.set allowing it to be used inter-changeably with Geom.Point.
2018-04-05 11:24:56 +01:00
Evan Cobb
6d7b28db04
Fleshing out docs
2018-04-02 11:03:23 -05:00
Evan Cobb
7153548c36
Update LinearInterpolation.js
2018-04-02 10:54:46 -05:00
orblazer
ed1f2a7011
Fix wrong types
2018-03-22 13:51:30 +01:00
orblazer
11845f9d6d
Fix "object" types on Physics and Math
2018-03-21 14:15:25 +01:00
orblazer
c5d4c0a9d2
Fix Vector2 types
2018-03-20 23:51:54 +01:00
orblazer
7fba122321
Fix "any" types
2018-03-20 17:15:49 +01:00
orblazer
7e05b333a0
Fix multiple types on Math
2018-03-20 16:06:30 +01:00
orblazer
679253f591
Update JSDoc on Math
2018-03-19 13:06:46 +01:00
Richard Davey
4fe6a25117
Added jsdoc data types
2018-03-19 11:25:46 +00:00
samme
9234fd1d4f
Fix property name conflict in Phaser.Math.RandomDataGenerator#sign
...
Fixes #3323
2018-03-04 22:09:29 -08:00
Richard Davey
ae1c91cf6a
eslint fixes
2018-03-05 01:40:11 +00:00
Richard Davey
375db253f2
Quadratic Curve updates
...
* Quadratic Bezier Interpolation has been added to the Math.Interpolation functions
* A new Quadratic Bezier Curve class has been added, expanding the available Curve types
* Path.quadraticBezierTo allows you to add a Quadratic Bezier Curve into your Path.
2018-03-05 01:15:18 +00:00
Richard Davey
af8f8739ba
Merge pull request #3307 from RiCoTeRoX/curves-quadratic
...
Add quadraticBezier to API
2018-03-05 00:20:43 +00:00
danny
af3e47ce4b
Fix on P0 vector
2018-03-02 20:16:11 -03:00
danny
db6039bf4f
Add quadraticBezier to API
2018-03-02 17:42:12 -03:00
migiyubi
2f239de66a
Correct JSDoc
2018-03-02 19:35:01 +09:00
migiyubi
fc1181970b
Fix RandomDataGenerator's randomness
2018-03-01 19:57:16 +09:00
Richard Davey
26f0578261
jsdoc fixes
2018-02-22 01:07:30 +00:00
Richard Davey
3c65121cb3
eslint fixes
2018-02-16 19:17:49 +00:00
Richard Davey
d23688c3e4
Added eslint fixes and overrides
2018-02-16 18:44:07 +00:00
Richard Davey
4a3f4293d4
Fuzzy.Floor had an incorrect method signature.
2018-02-16 18:43:52 +00:00
Richard Davey
86f00eeb52
eslint fixes
2018-02-16 18:17:51 +00:00
Richard Davey
4e6df03512
Updated semver
2018-02-15 14:31:15 +00:00
Richard Davey
11aff17e0d
Added Vector2.ZERO const for a handy zero vec2 reference.
2018-02-15 01:49:11 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
b0529c79f8
Moved un-used class
2018-02-10 02:20:36 +00:00
Richard Davey
ea52b2e12c
Updated jsdocs
2018-02-07 21:58:23 +00:00
Richard Davey
40689d1e35
Updated jsdocs.
2018-02-07 15:27:21 +00:00
Richard Davey
203a0ee98c
Added jsdocs
2018-01-31 17:48:30 +00:00
Richard Davey
2a86400a28
Added in jsdocs
2018-01-31 13:54:44 +00:00
Richard Davey
a6dbacbc20
Added jsdocs.
2018-01-26 12:43:51 +00:00
Richard Davey
3ba739756c
Added jsdocs.
2018-01-26 06:19:27 +00:00
Richard Davey
8d97b1a46a
Removed the MinMax classes.
2018-01-26 06:19:19 +00:00
yp
242471beb9
Renamed no longer existing Vector2/3 .sub and .len to .subtract and .length where still used
2018-01-12 02:18:36 +02:00
Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00
Richard Davey
0d90f75b5f
Splitting the dev branch up into versions.
2016-11-22 01:36:56 +00:00
Richard Davey
346fbc2cbd
Blitter + Bob now rendering and updating fully.
2016-11-15 01:57:42 +00:00
photonstorm
c836d4bfbd
PIXI.PI_2, PIXI.RAD_TO_DEG and PIXI.DEG_TO_RAD have all been removed, as they are no longer used internally, and are all available under Phaser.Math.
...
PIXI.VERSION has been removed, as it's no longer relevant and misleading.
2016-09-28 16:57:08 +01:00
photonstorm
eda4961c06
Math.getNextPowerOfTwo will get the next power of two for the given value.
...
Math.isPowerOfTwo will return a boolean if the given width and height are a power of two.
2016-09-28 13:48:08 +01:00
Richard Davey
a16e6e92ff
Tidying up the formatting #2760
2016-09-26 21:02:36 +01:00
James Lowrey
ff75721507
minor docs fixes from last commit
2016-09-14 18:31:21 -07:00
James Lowrey
a6302cdd9a
fixed between() docs and updated it to accept negative numbers, default values, and auto-orders min/max parameters if they're input wrong. Added a random() function that does the same but returns floats instead of integers
2016-09-14 18:25:58 -07:00
Richard Davey
a532f7b2c4
Optimised Math.getShortestAngle.
2016-07-29 03:58:25 +01:00
Richard Davey
688752c5de
Math.getShortestAngle will return the shortest angle between the two given angles. Angles are in the range -180 to 180, which is what Sprite.angle
uses. So you can happily feed this method two sprite angles, and get the shortest angle back between them ( #2494 )
2016-07-29 03:39:51 +01:00
Richard Davey
19e609185a
Math.rotateToAngle takes two angles (in radians), and an interpolation value, and returns a new angle, based on the shortest rotational distance between the two.
2016-07-25 00:39:38 +01:00
photonstorm
c34c7bae4e
Docs updates.
2016-07-08 12:04:28 +01:00
photonstorm
93b1f3eba1
Math.between will return a value between the given min
and max
values.
2016-06-03 16:18:35 +01:00
Richard Davey
358cc6b8d0
Merge pull request #2428 from EJanuszewski/radToDeg-typo
...
Fix typo in Math radToDeg description
2016-04-13 14:18:18 +01:00
photonstorm
b9fab96471
Improved docs.
2016-04-09 00:25:56 +01:00
photonstorm
b162ca4d51
Improved Math.clamp and docs.
2016-04-07 16:14:44 +01:00
photonstorm
f40cfbe2ae
2015 - 2016.
2016-04-04 22:16:16 +01:00
Edward Januszewski
a9e4d956b3
Fix typo in Math radToDeg description
2016-03-29 21:14:55 +01:00
Taylan Kasap
1310daa9af
Added RandomDataGenerator.sign (returns -1 or +1)
2016-02-07 14:25:19 +02:00
Richard Davey
4143b3f3ae
rnd check fix.
2015-09-19 11:58:25 +01:00
Richard Davey
96de58cc5f
Added lots more info to the jsdocs and tidied up the code for #2056
2015-09-19 11:50:26 +01:00
luckylooke
63f5df9c65
Feature: Allow random generator to get/set state
2015-09-07 21:47:36 +02:00
photonstorm
f0d7da1c56
Removed RND.float as it's a reserved word :(
...
Fixed jshint errors.
2015-08-27 19:28:01 +01:00
photonstorm
ddcc46124c
RandomDataGenerator.float is a new alias for the method 'realInRange' and takes the same arguments.
2015-08-27 14:57:23 +01:00
Richard Davey
a1bd35fc35
Tidied up formatting and improved jsdocs.
2015-08-26 19:13:46 +01:00
Rusty Rountree
f017db806a
Phaser.Math.fuzzyCeil and Phaser.Math.fuzzyFloor should not return boolean values as stated in @return section of the comments
2015-08-25 04:06:06 -05:00
Rusty Rountree
92bac852c8
Optimize the average function in math.js
2015-08-25 02:16:31 -05:00
photonstorm
f15fe6706c
All undefined argument checks were changed from if (typeof x === 'undefined')
to if (x === undefined)
removing the typeof check and saving some bytes across the codebase in the process.
2015-07-22 10:37:15 +01:00
photonstorm
1b5da312d0
RandomDataGenerator.weightedPick has been tweaked slightly to allow for a more even distribution of weights. It still favors the earlier array elements, but will accurately include 'distance' elements as well (thanks @gingerbeardman #1751 )
2015-07-08 17:20:36 +01:00
Richard Davey
ae08b9ac02
Text tab support working. Now to add varying tab sizing.
2015-07-07 23:31:44 +01:00
photonstorm
102c74e121
Deprecated the following:
...
* Camera.screenView
* ScaleManager.maxIterations
* ScaleManager.enterPortrait (see onOrientationChange)
* ScaleManager.enterLandscape (see onOrientationChange)
* ScaleManager.enterFullScreen (see onFullScreenChange)
* ScaleManager.leaveFullScreen (see onFullScreenChange)
* ScaleManager.fullScreenFailed (see onFullScreenError)
* ScaleManager.checkResize
* ScaleManager.checkOrientation
* ScaleManager.setScreenSize (see updateLayout)
* ScaleManager.setSize (see reflowCanvas)
* ScaleManager.checkOrientationState (see reflowCanvas)
* ScaleManager.orientation (see screenOrientation)
* Gamepad.disabled (see enabled)
* Input.currentPointers (see totalActivePointers)
* Input.disabled (see enabled)
* Keyboard.disabled (see enabled)
* Mouse.disabled (see enabled)
* Mouse.mouseMoveCallback (see Input.addMoveCallback)
* MSPointer.disabled (see enabled)
* Touch.disabled (see enabled)
* Cache.getUrl (see getURL)
* Math.truncate (see Math.trunc)
* Math.snapToInArray (see Phaser.ArrayUtils.findClosest)
* Math.interpolateFloat (see Math.linear)
* Math.normalizeLatitude (use Phaser.Math.clamp(lat, -90, 90))
* Math.normalizeLongitude (use Phaser.Math.wrap(lng, -180, 180))
* Math.chanceRoll (use Phaser.Utils.chanceRoll)
* Math.numberArray (use Phaser.ArrayUtils.numberArray)
* Math.numberArrayStep (use Phaser.ArrayUtils.numberArrayStep)
* Math.limitValue (use Phaser.Math.clamp)
* Math.randomSign (use Phaser.Utils.randomChoice(-1, 1))
* Math.angleLimit (use Phaser.Math.clamp)
* Math.getRandom (use Phaser.ArrayUtils.getRandomItem)
* Math.removeRandom (use Phaser.ArrayUtils.removeRandomItem)
* Math.floor (use Math.trunc)
* Math.ceil (use Phaser.Math.roundAwayFromZero)
* Math.shift (use Phaser.ArrayUtils.rotate)
* Math.shuffleArray (use Phaser.ArrayUtils.shuffle)
* Math.distanceRounded (do the rounding locally)
* Canvas.getOffset (see Phaser.DOM.getOffset)
* Canvas.getAspectRatio (see Phaser.DOM.getAspectRatio)
* TilemapLayer.tileColor (use TilemapLayer.debugSettings.missingImageFill)
* Phaser.ArrayList alias removed, now use Phaser.ArraySet
* Utils.transposeArray (see Phaser.ArrayUtils.transposeMatrix)
* Utils.rotateArray (see Phaser.ArrayUtils.rotateMatrix)
* Utils.shuffle (see Phaser.ArrayUtils.shuffle)
2015-06-17 03:14:31 +01:00
photonstorm
04a25c5d9b
Small fix + jsdoc update.
2015-06-17 01:04:55 +01:00
photonstorm
5a91f85b1f
Typo.
2015-05-19 16:57:36 +01:00
Richard Davey
4431e72711
Merge pull request #1770 from jeremyosborne/distsq
...
Fix for #1761 : [Feature Request] Add Math.distanceSq().
2015-05-19 16:14:57 +01:00
Rodrigo Silveira
ce7bcb2243
Return actual boolean value instead of 1
...
This is particularly helpful when doing === comparisons. Now isOdd is
consistent with isEven, which returns actual boolean values as well.
2015-05-13 05:59:34 -03:00
Jeremy Osborne
61f24f1719
Fix for #1761 : [Feature Request] Add Math.distanceSq(). Also, first attempt at a pull request for Phaser.
2015-04-28 10:03:35 -07:00
photonstorm
3f30a3d0d2
jsdocs updates.
2015-03-23 10:11:39 +00:00
photonstorm
a69e53f901
Copyright date change.
2015-02-25 03:36:23 +00:00
photonstorm
01a23b7d91
Tween.to now correctly accepts arrays are destination values, which makes the Tween interpolate through each value specified in the array using the defined Tween.interpolation method (see new example, thanks @FridayMarch26th #1619 )
...
Tween.interpolationFunction was using the incorrect context to invoke the function. This is now defined in `TweenData.interpolationFunctionContext` and defaults to `Phaser.Math`. If you provide your own interpolation function then please adjust the context accordingly (thanks @FridayMarch26th #1618 )
2015-02-16 12:23:54 +00:00
photonstorm
689501c15c
Phaser.Point.angleSq removed. It didn't work so any code relying on it would be broken, and it's unclear what it was meant for (thanks @nextht #1396 )
2015-01-05 13:00:07 +00:00
Paul
b3808890b2
RandomDataGenerator seeding fix
...
Per https://github.com/photonstorm/phaser/issues/1457 the `sow` function
terminates too early on certain false-y values including 0 (and possibly
"").
This changes that, so that 1) only `undefined` and `null` will terminate
the seed sequence processing (this is to maximize backwards compatibility)
and 2) the `length` of the array is honored.
The documentation also reflects the old (and new/altered) behavior.
This is very minor breaking change; hopefully such is mitigated with
leaving in the null/undefined termination.
2014-12-15 00:18:23 -08:00
Paul
fb9eab76e7
Utils - cleanup
...
- Updated linked documentation
- Also updated `removeRandomItem` per the contract and for consistency with
`getRandomItem`.
2014-12-01 23:19:32 -08:00
Paul
dab8772de0
Documentation - consistency updates
...
- Updated `readOnly` doclet to `readonly`
- `array` refined to `type[]`, where such information was immediately
determinable.
- Updated {Any}/{*} to {any}; {...*} is standard exception
- Udated {Object} to {object}
2014-11-30 04:03:35 -08:00
Paul
ae6cba5928
Math/Utils - various cleanup and deprecations/moves
...
- FIX/CHANGE - Math.wrapAngle over radians; it would convert radians to degrees
- No internal code relies on unexpected the radians-to-degrees behavior
- Moved additional methods over to ArrayUtils, only marked deprecated in Math
- Removed some private annotations; e.g. linear / factorial public, but bernstein / catmullRom still protected
- Marked additional duplicates deprecated; e.g linearValue, angleLimit
- Documentation updates
- Fixed some accidental "Utils.Arrays" usage (oops!)
- Bumped deprecations from 2.1.4 to 2.2.0
2014-11-11 21:28:25 -08:00
Paul
d941e285a3
Math/Utils - various cleanup and deprecations/moves
...
- And one last before..
2014-11-09 17:40:54 -08:00
Paul
a35d032238
Math/Utils - various cleanup and deprecations/moves
...
- Put in the missing changes..
2014-11-09 17:26:07 -08:00
Paul
a6d2da2a8a
Math/Utils - various cleanup and deprecations/moves
...
There are no known breaking changes.
- Timer
- Uses standard Math.min/Math.max (it's better 2, 3 items).
- Math
- Updated documentation
- Marked various Math functions as deprecated, proxying as appropriate
- Array-based functions -> ArrayUtils
- RNG-based functions -> Utils
- Updated core-usage
- floor/ceil should not be used (alternatives provided)
- Altered for some equivalencies
- Also fixes some assorted issues
- Marked a few internal functions as private
- Utils
- Moved polyfills to their own file for better visibility
- Moved array functions to ArrayUtils and marked proxies as deprecated
- Created Phaser.ArrayUtils for array-related functions
- polyfills moved to their own file
- Functions given function names
- Added Math.trunc
2014-11-09 16:17:18 -08:00
photonstorm
96fd0ade74
JSDoc fixes.
2014-10-21 22:43:42 +01:00
photonstorm
f2aa263d0a
jsdoc fix
2014-10-06 07:00:00 +01:00
photonstorm
20551f9129
Lots of jsdocs fixes ready for the new doc generator.
2014-09-16 17:35:08 +01:00
photonstorm
3fc527ba53
Added Math.numberArray back in and renamed the replacement to Math.numberArrayStep to avoid breaking the API.
2014-09-09 12:49:17 +01:00
photonstorm
79d873f47b
If you are using CocoonJS, please set your game render type to CANVAS and not WEBGL or AUTO. You should also disable any of the ScaleManager screen resizing or margin setting code. By default in this mode CocoonJS will now set 'screencanvas=true' which helps with performance significantly.
2014-09-08 22:34:53 +01:00
Jeremy Dowell
06c6b23454
moved: Utils.range to Math.numberArray
2014-09-05 09:36:36 -05:00
devinb83
2be45e93ae
QuadTree leveling Bug
...
Rather than level++ which changes the current node's level, the subnodes should get the current node's level + 1
2014-07-14 12:55:26 -07:00
Alvin
6f0a9115c4
Made the code jshint-friendly
2014-06-24 11:26:05 +02:00