w10schools
Login
Register
In current category
Only my posts
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
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
Game Development
Phaser
Physics
Physics
Language
Default
Markdown
Physics.P2JS
[static]
P2JS
: number
Source code:
physics/Physics.js
(
Line 79
)
Links:
http://phaser.io/docs/2.6.2/Phaser.Physics.html#.P2JS
doc_phaser
2017-02-14 11:04:58
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
Physics#Physics
new Physics(game, physicsConfig) The Physics Manager is responsible for looking after all of the running physics systems.Phaser supports 4 physics
Physics#destroy()
destroy() Destroys all active physics systems. Usually only called on a Game Shutdown, not on a State swap. Source code: physics/Physics.js (Line
Physics#matter
matter :Phaser.Physics.Matter The MatterJS Physics system (coming soon). Source code: physics/Physics.js (Line 63)
Physics.CHIPMUNK
[static] CHIPMUNK : number Source code: physics/Physics.js (Line 97)
Loader#physics()
physics(key, url, data, format) → {Phaser.Loader} Adds a physics data file to the current load queue. The data must be in Lime + Corona JSON format
Return to View
Please login to continue.