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: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

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
AB
Reactions:
Posts: 7276
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Problem with handle x and y

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

Need to see the code too.
622u622Currently using alpha 626u. 622 What's new? :)
Can't tell!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

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

Platform

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: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

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
AB
Reactions:
Posts: 7276
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Problem with handle x and y

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

Well obviously, you have "w" wrong somewhere.
622u622Currently using alpha 626u. 622 What's new? :)
Can't tell!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

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

Platform

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
AB
Reactions:
Posts: 7276
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

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. :)
622u622Currently using alpha 626u. 622 What's new? :)
Can't tell!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

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

Platform

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 705 times
file.png
file.png (6.57 KiB) Viewed 705 times
file_2.png
file_2.png (6.63 KiB) Viewed 703 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: 3261
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

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: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

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
AB
Reactions:
Posts: 7276
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

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 688 times

with no spaces between ships.
622u622Currently using alpha 626u. 622 What's new? :)
Can't tell!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

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

Platform

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: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

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: 537
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Platform

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 0 guests