Problem with handle x and y

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Problem with handle x and y

Post by sairam » Sat Jul 21, 2018 13:26

I have some problem on handle x and y. Please help.
Ateiy_18-07-21_16.35.18.png
Ateiy_18-07-21_16.35.11.png
Ateiy_18-07-21_16.35.04.png
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6410
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Problem with handle x and y

Post by CommanderABab » Sat Jul 21, 2018 15:27

Need to see the code too.
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sun Jul 22, 2018 10:25

Code: Select all

[
  {
    "id":"$shipcontainer01",
    "type":"ship",
    "length":2,
    "frames":[
      {"bmp":"ship1.png","count":"4","w":45,"h":29},
	  {"bmp":"ship2.png","count":"4","w":45,"h":29},
	  {"bmp":"ship3.png","count":"4","w":45,"h":29}
    ]
  }
] 
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sun Jul 29, 2018 7:26

Please help!
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6410
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Problem with handle x and y

Post by CommanderABab » Sun Jul 29, 2018 9:44

Well obviously, you have "w" wrong somewhere.
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sun Jul 29, 2018 10:15

If there is problem. Please! change the "w" and "h", and also the "handle y" and "handle x".
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6410
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Problem with handle x and y

Post by CommanderABab » Sun Jul 29, 2018 10:24

How wide is ship1.png and what does it look like?

"handle y" should probably be 4 or 8.

I can't tell you about w and h without seeing the .png files. :)
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sun Jul 29, 2018 10:46

Here it is!
file_1.png
file_1.png (6.62 KiB) Viewed 603 times
file.png
file.png (6.57 KiB) Viewed 603 times
file_2.png
file_2.png (6.63 KiB) Viewed 601 times
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Problem with handle x and y

Post by Lobby » Sun Jul 29, 2018 11:14

You can use the rectangular selection tool of a graphics program to read position and size of a selected rectangle.

In this specific case you might just omit the values from content_ship.json as your graphics seem to be similar.
...Have a nice stay

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sun Jul 29, 2018 11:31

I don't know! Please help!
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6410
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Problem with handle x and y

Post by CommanderABab » Sun Jul 29, 2018 14:57

Show
should be 42 pixels wide
shipex.png
shipex.png (6.66 KiB) Viewed 586 times

with no spaces between ships.
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sun Jul 29, 2018 15:38

I can't understand!
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Mon Aug 06, 2018 16:12

Please help.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 405
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Problem with handle x and y

Post by sairam » Sat Aug 11, 2018 4:20

The pngs are of theo and lobby only not mine.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

Post Reply Previous topicNext topic

Return to โ€œProblemsโ€

Who is online

Users browsing this forum: No registered users and 2 guests

๏ปฟ