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
Tilemaps
Tileset
Language
Default
Markdown
Tileset#tileWidth
[readonly]
tileWidth
: integer
The width of each tile (in pixels).
Source code:
tilemap/Tileset.js
(
Line 47
)
Links:
http://phaser.io/docs/2.6.2/Phaser.Tileset.html#tileWidth
doc_phaser
2017-02-14 11:16:53
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
Tileset#Tileset
new Tileset(name, firstgid, width, height, margin, spacing, properties) A Tile set is a combination of an image containing the tiles and collision
Tileset#containsTileIndex()
containsTileIndex() → {boolean} Returns true if and only if this tileset contains the given tile index. Returns boolean - True if this tileset
Tileset#rows
[readonly] rows The number of tile rows in the the tileset. Properties: Type Description integer Source code: tilemap/Tileset.js (Line 9
Tileset#setSpacing()
setSpacing(margin, spacing) Sets tile spacing and margins. Parameters Name Type Argument Default Description margin integer <optional> 0
Tileset#tileMargin
[readonly] tileMargin The margin around the tiles in the sheet (in pixels).Use setSpacing to change. Properties: Name Type Description tileMa
Return to View
Please login to continue.