The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tilepic Offset
Author Message
Seron
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2013
Reputation: 0

Motoi

Post: #1
Tilepic Offset
I'm currently trying to make a house tool that allows players to place down decoration. Since some decoration items are split into multiple parts I would like to display them as "whole" in the gump.

Ingame, when I move an item (4198 East part of loom for example) it moves by 22x22 pixels.

However, when I use a tilepic of 4198 and move it 22x22 pixels it does not line up with the western part.

Curiously, floor tiles work fine. A picture (4065) almost lines up but is about 1 px off?

How is the position in a gump calculated for tilepics?
01-13-2019 05:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Tilepic Offset - Seron - 01-13-2019 05:40 AM
RE: Tilepic Offset - Coruja - 01-13-2019, 07:03 AM
RE: Tilepic Offset - Seron - 01-13-2019, 06:59 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)