Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Modding:Maps
(view source)
Revision as of 09:42, 6 March 2019
1 byte removed
,
09:42, 6 March 2019
Fix custom tile sheet sheetSize parameter
Line 141:
Line 141:
map: location.map,
map: location.map,
imageSource: tilesheetPath,
imageSource: tilesheetPath,
−
sheetSize: new xTile.Dimensions.Size(32, 64), // the
pixel
size of your tilesheet image.
+
sheetSize: new xTile.Dimensions.Size(32, 64), // the
tile
size of your tilesheet image.
tileSize: new xTile.Dimensions.Size(16, 16) // should always be 16x16 for maps
tileSize: new xTile.Dimensions.Size(16, 16) // should always be 16x16 for maps
);
);
CatCattyCat
56
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Modding
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version