w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • References
  • Game Development
  • Phaser
  • Math
Math:
  • Math
  • QuadTree
  • RandomDataGenerator


×
Math#snapToFloor()
  • References/Game Development/Phaser/Math/Math

snapToFloor(input, gap, start) → {number} Snap a value to nearest

2025-01-10 15:47:30
Math#roundAwayFromZero()
  • References/Game Development/Phaser/Math/Math

roundAwayFromZero(value) → {integer} Round to the next whole number away from zero.

2025-01-10 15:47:30
Math#wrapValue()
  • References/Game Development/Phaser/Math/Math

wrapValue(value, amount, max) → {number} Adds value to amount and ensures that the result always

2025-01-10 15:47:30
RandomDataGenerator#real()
  • References/Game Development/Phaser/Math/RandomDataGenerator

real() → {number} Returns a random real number between 0 and 2^32. Returns

2025-01-10 15:47:30
Math#factorial()
  • References/Game Development/Phaser/Math/Math

factorial(value) → {number} Parameters Name Type

2025-01-10 15:47:30
Math#maxAdd()
  • References/Game Development/Phaser/Math/Math

maxAdd(value, amount, max) → {number} Adds the given amount to the value, but never lets the value

2025-01-10 15:47:30
RandomDataGenerator#realInRange()
  • References/Game Development/Phaser/Math/RandomDataGenerator

realInRange(min, max) → {number} Returns a random real number between min and max. Parameters

2025-01-10 15:47:30

Page 9 of 9

|< < Prev 6 7 8 9 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions