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
PIXI
PIXI.Rope
Language
Default
Markdown
Rope#Rope
new Rope
(texture, points)
Parameters
Name
Type
Description
texture
PIXI.Texture
The texture to use on the rope.
points
Array
An array of {PIXI.Point}.
Source code:
pixi/extras/Rope.js
(
Line 6
)
Links:
http://phaser.io/docs/2.6.2/PIXI.Rope.html#Rope
doc_phaser
2017-02-14 11:08:47
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
Rope#Rope
new Rope(game, x, y, key, frame, points) A Rope is a Sprite that has a repeating texture. The texture will automatically wrap on the edges as it mo
Rope#setFrame()
setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by loadTexture, but is exposed
Rope#overlap()
overlap(displayObject) → {boolean} Checks to see if the bounds of this Game Object overlaps with the bounds of the given Display Object,which can b
Rope#removeChildren()
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Desc
Rope#contains()
contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itsel
Return to View
Please login to continue.