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
animation
Animation.js
on
dev
User selector
All users
All time
Commit history
Commits on Dec 1, 2014
Merge pull request #1386 from pnstickne/wip-docs-1130
Show description for 81f356c
photonstorm
committed
81f356c
View commit details
Copy full SHA for 81f356c
View code at this point
Browse repository at this point
Event-Signal object count optimization
Show description for d15037e
pnstickne
committed
d15037e
View commit details
Copy full SHA for d15037e
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 8, 2014
Time.now can no longer be relied upon to contain a timestamp value. If the browser supports requestAnimationFrame then `Time.now` will contain the high resolution timer value that rAf generates. Ot…
Show description for 0a86a7e
photonstorm
committed
0a86a7e
View commit details
Copy full SHA for 0a86a7e
View code at this point
Browse repository at this point
Commits on Nov 2, 2014
Animation.setFrame used the wrong frames array if `useLocalFrameIndex` was `false` and a numeric frame ID was given (thanks @Skeptron #1284)
photonstorm
committed
59b25ab
View commit details
Copy full SHA for 59b25ab
View code at this point
Browse repository at this point
Commits on Oct 11, 2014
Merge commit '0482684dc864869397031994f7ba7d9f81721763' of https://github.com/bobbywilson0/phaser into dev
bobbywilson0
committed
42f53d6
View commit details
Copy full SHA for 42f53d6
View code at this point
Browse repository at this point
changed all typeof comparisons from == to ===
bobbywilson0
committed
0482684
View commit details
Copy full SHA for 0482684
View code at this point
Browse repository at this point
Commits on Oct 10, 2014
jsdoc fixes and frameRate change.
photonstorm
committed
022d709
View commit details
Copy full SHA for 022d709
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 15, 2014
jsdoc fix
photonstorm
committed
15a0ae6
View commit details
Copy full SHA for 15a0ae6
View code at this point
Browse repository at this point
Commits on Aug 29, 2014
Animation.onUpdate is a new event that is dispatched each time the animation frame changes. Due to its intensive nature it is disabled by default. Enable it with `Animation.enableUpdate = true` (#902)
Show description for 32119e9
photonstorm
committed
32119e9
View commit details
Copy full SHA for 32119e9
View code at this point
Browse repository at this point
Commits on Jul 16, 2014
Fram data guards
Show description for ccd4b50
lucbloom
committed
ccd4b50
View commit details
Copy full SHA for ccd4b50
View code at this point
Browse repository at this point
Commits on Jul 15, 2014
Animation.updateFrameData allows you to load a new FrameData object into an existing animation, even if currently running (based on #1029)
Show description for 90eec97
photonstorm
committed
90eec97
View commit details
Copy full SHA for 90eec97
View code at this point
Browse repository at this point
Commits on Jul 3, 2014
Animation.next will advance to the next frame in the animation, even if it's not currently playing. You can optionally define the number of frames to advance, but the default is 1. This is also ali…
Show description for 14109ae
photonstorm
committed
14109ae
View commit details
Copy full SHA for 14109ae
View code at this point
Browse repository at this point
Commits on Jun 10, 2014
Sprite.crop (and Image.crop) has been completely overhauled. You can now crop animated sprites (sprite sheet and texture atlas), you can define the x/y crop offset and the crop rectangle is exposed…
Show description for 7c7d915
photonstorm
committed
7c7d915
View commit details
Copy full SHA for 7c7d915
View code at this point
Browse repository at this point
Commits on Jun 6, 2014
Finally managed to get crop x/y/width/height working across all texture types. Needs optimising for the trim rect, but works.
photonstorm
committed
622978f
View commit details
Copy full SHA for 622978f
View code at this point
Browse repository at this point
Commits on Jun 5, 2014
Testing frame crop support.
photonstorm
committed
b63900f
View commit details
Copy full SHA for b63900f
View code at this point
Browse repository at this point
Commits on Apr 28, 2014
Animation.setFrame allows you to set the animation to a specific frame (thanks @adamholdenyall, #706)
photonstorm
committed
b32312d
View commit details
Copy full SHA for b32312d
View code at this point
Browse repository at this point
Commits on Apr 20, 2014
Small jsdoc fix.
photonstorm
committed
f246221
View commit details
Copy full SHA for f246221
View code at this point
Browse repository at this point
Commits on Apr 17, 2014
change order in destroy method, first clear references then null all values
georgiee
committed
41095c2
View commit details
Copy full SHA for 41095c2
View code at this point
Browse repository at this point
Commits on Apr 14, 2014
Tidied up jsdoc blocks.
photonstorm
committed
563e581
View commit details
Copy full SHA for 563e581
View code at this point
Browse repository at this point
AnimationManager.destroy now iterates through child animations calling destroy on all of them, avoiding a memory leak (thanks stauzs)
Show description for 5d0ea64
photonstorm
committed
5d0ea64
View commit details
Copy full SHA for 5d0ea64
View code at this point
Browse repository at this point
Commits on Mar 25, 2014
Fix jshint issues in src/animation
Christian Wesselhoeft
committed
9faa27c
View commit details
Copy full SHA for 9faa27c
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 5, 2014
Added Phasers new Physics Manager and restored the pre-1.1.4 ArcadePhysics system. The new manager can handle multiple physics systems running in parallel, which could be extremely useful for lots …
Show description for 22b1ce9
photonstorm
committed
22b1ce9
View commit details
Copy full SHA for 22b1ce9
View code at this point
Browse repository at this point
Commits on Mar 3, 2014
Animation.looped has been renamed to Animation.loop. It's a boolean you can toggle at run-time to turn on/off animation looping.
Show description for 833960b
photonstorm
committed
833960b
View commit details
Copy full SHA for 833960b
View code at this point
Browse repository at this point
Commits on Feb 28, 2014
Animation.speed added. You can now change the animation speed on the fly, without re-starting the animation (feature request #458)
photonstorm
committed
8dc28f4
View commit details
Copy full SHA for 8dc28f4
View code at this point
Browse repository at this point
Commits on Feb 24, 2014
Active animations now monitor if the game pauses, and resume normally when the game un-pauses (fixes #179)
photonstorm
committed
beaac18
View commit details
Copy full SHA for beaac18
View code at this point
Browse repository at this point
Commits on Feb 21, 2014
Phaser.Animation.frame now returns the frame of the current animation, rather than the global frame from the sprite sheet / atlas (fix #466)
photonstorm
committed
cf3796d
View commit details
Copy full SHA for cf3796d
View code at this point
Browse repository at this point
Commits on Feb 13, 2014
TileSprites are now much more tidy and can run from a frame in a texture. They can also be animated. New TileSprite.autoScroll function added.
photonstorm
committed
35e4c03
View commit details
Copy full SHA for 35e4c03
View code at this point
Browse repository at this point
Commits on Feb 5, 2014
Updating copyright year and README.
photonstorm
committed
0896c2f
View commit details
Copy full SHA for 0896c2f
View code at this point
Browse repository at this point
Commits on Dec 30, 2013
Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.
photonstorm
committed
ce4cf53
View commit details
Copy full SHA for ce4cf53
View code at this point
Browse repository at this point
Commits on Dec 27, 2013
Updated some docs, added the new renderHidden parameter for Canvas and updated the RenderTexture examples as a result.
photonstorm
committed
fdbdd81
View commit details
Copy full SHA for fdbdd81
View code at this point
Browse repository at this point
Commits on Nov 24, 2013
Updated JSHint configuration, README and started working through source files against JSHint.
photonstorm
committed
d30e297
View commit details
Copy full SHA for d30e297
View code at this point
Browse repository at this point
Commits on Nov 9, 2013
filter test updates
photonstorm
committed
46cf024
View commit details
Copy full SHA for 46cf024
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.