Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
SourceCode
/
phaser
Public
forked from
phaserjs/phaser
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
phaser
src
math
on
master
User selector
All users
All time
Commit history
Commits on Jan 5, 2015
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)
photonstorm
committed
689501c
View commit details
Copy full SHA for 689501c
View code at this point
Browse repository at this point
Commits on Dec 15, 2014
RandomDataGenerator seeding fix
Show description for b380889
pnstickne
committed
b380889
View commit details
Copy full SHA for b380889
View code at this point
Browse repository at this point
Commits on Dec 2, 2014
Utils - cleanup
Show description for fb9eab7
pnstickne
committed
fb9eab7
View commit details
Copy full SHA for fb9eab7
View code at this point
Browse repository at this point
Commits on Nov 30, 2014
Documentation - consistency updates
Show description for dab8772
pnstickne
committed
dab8772
View commit details
Copy full SHA for dab8772
View code at this point
Browse repository at this point
Commits on Nov 12, 2014
Math/Utils - various cleanup and deprecations/moves
Show description for ae6cba5
pnstickne
committed
ae6cba5
View commit details
Copy full SHA for ae6cba5
View code at this point
Browse repository at this point
Commits on Nov 10, 2014
Math/Utils - various cleanup and deprecations/moves
Show description for d941e28
pnstickne
committed
d941e28
View commit details
Copy full SHA for d941e28
View code at this point
Browse repository at this point
Math/Utils - various cleanup and deprecations/moves
Show description for a35d032
pnstickne
committed
a35d032
View commit details
Copy full SHA for a35d032
View code at this point
Browse repository at this point
Math/Utils - various cleanup and deprecations/moves
Show description for a6d2da2
pnstickne
committed
a6d2da2
View commit details
Copy full SHA for a6d2da2
View code at this point
Browse repository at this point
Commits on Oct 21, 2014
JSDoc fixes.
photonstorm
committed
96fd0ad
View commit details
Copy full SHA for 96fd0ad
View code at this point
Browse repository at this point
Commits on Oct 6, 2014
jsdoc fix
photonstorm
committed
f2aa263
View commit details
Copy full SHA for f2aa263
View code at this point
Browse repository at this point
Commits on Sep 16, 2014
Lots of jsdocs fixes ready for the new doc generator.
photonstorm
committed
20551f9
View commit details
Copy full SHA for 20551f9
View code at this point
Browse repository at this point
Commits on Sep 9, 2014
Added Math.numberArray back in and renamed the replacement to Math.numberArrayStep to avoid breaking the API.
photonstorm
committed
3fc527b
View commit details
Copy full SHA for 3fc527b
View code at this point
Browse repository at this point
Commits on Sep 8, 2014
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 th…
Show description for 79d873f
photonstorm
committed
79d873f
View commit details
Copy full SHA for 79d873f
View code at this point
Browse repository at this point
Commits on Sep 5, 2014
moved: Utils.range to Math.numberArray
ada-lovecraft
committed
06c6b23
View commit details
Copy full SHA for 06c6b23
View code at this point
Browse repository at this point
Commits on Jul 14, 2014
QuadTree leveling Bug
Show description for 2be45e9
devinb83
committed
2be45e9
View commit details
Copy full SHA for 2be45e9
View code at this point
Browse repository at this point
Commits on Jun 24, 2014
Made the code jshint-friendly
alvinsight
committed
6f0a911
View commit details
Copy full SHA for 6f0a911
View code at this point
Browse repository at this point
Added factorial and changed interpolation docs
alvinsight
committed
9e2ca08
View commit details
Copy full SHA for 9e2ca08
View code at this point
Browse repository at this point
Commits on Jun 6, 2014
Added RandomDataGenerator.between (an alias for integerInRange)
photonstorm
committed
7836f3a
View commit details
Copy full SHA for 7836f3a
View code at this point
Browse repository at this point
Commits on May 9, 2014
RandomDataGenerator.integerInRange would return a non-integer value if you passed in a float.
photonstorm
committed
78ec29f
View commit details
Copy full SHA for 78ec29f
View code at this point
Browse repository at this point
Commented out 2 functions that don't currently work.
photonstorm
committed
e06f249
View commit details
Copy full SHA for e06f249
View code at this point
Browse repository at this point
Commits on May 7, 2014
Joystick updates.
photonstorm
committed
570e8ac
View commit details
Copy full SHA for 570e8ac
View code at this point
Browse repository at this point
Commits on May 6, 2014
Pointer.type and Pointer.exists properties added.
Show description for 2b40c8a
photonstorm
committed
2b40c8a
View commit details
Copy full SHA for 2b40c8a
View code at this point
Browse repository at this point
Commits on Apr 28, 2014
Fix #771: make smoothstep(x,a,b) work if a > b
Gaëtan Renaudeau
committed
1f948d8
View commit details
Copy full SHA for 1f948d8
View code at this point
Browse repository at this point
Commits on Apr 25, 2014
Finally - fully working setHSL and shiftHSL.
photonstorm
committed
11ca2de
View commit details
Copy full SHA for 11ca2de
View code at this point
Browse repository at this point
Commits on Apr 22, 2014
jshint fix
photonstorm
committed
e0f850b
View commit details
Copy full SHA for e0f850b
View code at this point
Browse repository at this point
RandomDataGenerator.integerInRange uses a new method of rounding the value to an integer to avoid distribution probability issues (thanks PhaserFan)
photonstorm
committed
0687840
View commit details
Copy full SHA for 0687840
View code at this point
Browse repository at this point
Commits on Apr 17, 2014
ArcadePhysics.collideSpriteVsGroup checks if Sprite has a body before carrying on, now safely skips sub-groups or other non-Sprite group children.
Show description for 713bd20
photonstorm
committed
713bd20
View commit details
Copy full SHA for 713bd20
View code at this point
Browse repository at this point
Commits on Apr 16, 2014
Fix for #732 (Timer.onComplete not firing).
Show description for 6979103
photonstorm
committed
6979103
View commit details
Copy full SHA for 6979103
View code at this point
Browse repository at this point
Commits on Apr 15, 2014
Fixed Math.atan2 arguments in wrong order
Show description for 27bdbba
jotson
committed
27bdbba
View commit details
Copy full SHA for 27bdbba
View code at this point
Browse repository at this point
Commits on Mar 25, 2014
Enable jshint `immed` flag.
Christian Wesselhoeft
committed
428505f
View commit details
Copy full SHA for 428505f
View code at this point
Browse repository at this point
Trim trailing whitespace.
Christian Wesselhoeft
committed
61f18b6
View commit details
Copy full SHA for 61f18b6
View code at this point
Browse repository at this point
Commits on Mar 18, 2014
Math.removeRandom allows you to remove (and return) a random object from an array.
Show description for eec9f70
photonstorm
committed
eec9f70
View commit details
Copy full SHA for eec9f70
View code at this point
Browse repository at this point
Added support for radians in wrapAngle
Show description for 97a838e
Cryszon
committed
97a838e
View commit details
Copy full SHA for 97a838e
View code at this point
Browse repository at this point
Commits on Mar 13, 2014
Lots of small tweaks to pass jshint.
photonstorm
committed
c8e6358
View commit details
Copy full SHA for c8e6358
View code at this point
Browse repository at this point
New examples for ninja physics, bitmap text, and documented the map function
alvinsight
committed
c9f89f5
View commit details
Copy full SHA for c9f89f5
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.