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: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Problem with handle x and y

#1

Post by sairam »

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: 11109
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Problem with handle x and y

#2

Post by CommanderABab »

Need to see the code too.
my avatar:

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#3

Post by sairam »

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: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#4

Post by sairam »

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: 11109
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Problem with handle x and y

#5

Post by CommanderABab »

Well obviously, you have "w" wrong somewhere.
my avatar:

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#6

Post by sairam »

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: 11109
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Problem with handle x and y

#7

Post by CommanderABab »

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. :)
my avatar:

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#8

Post by sairam »

Here it is!
file_1.png
file_1.png (6.62 KiB) Viewed 2879 times
file.png
file.png (6.57 KiB) Viewed 2879 times
file_2.png
file_2.png (6.63 KiB) Viewed 2877 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: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#9

Post by Lobby »

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.
=^._.^= ∫

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#10

Post by sairam »

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: 11109
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Problem with handle x and y

#11

Post by CommanderABab »

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

with no spaces between ships.
my avatar:

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#12

Post by sairam »

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: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#13

Post by sairam »

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: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: Problem with handle x and y

#14

Post by sairam »

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”