Problem with handle x and y

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6013
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.
508508Currently using 508. 508 What's new? :)
Casino dice.!
:)

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

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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}
    ]
  }
] 
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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!
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6013
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.
508508Currently using 508. 508 What's new? :)
Casino dice.!
:)

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

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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".
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6013
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. :)
508508Currently using 508. 508 What's new? :)
Casino dice.!
:)

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

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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 377 times
file.png
file.png (6.57 KiB) Viewed 377 times
file_2.png
file_2.png (6.63 KiB) Viewed 375 times
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
Lobby
Developer
Reactions:
Posts: 3088
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 Megacity
Reactions:
Posts: 211
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!
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6013
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 360 times

with no spaces between ships.
508508Currently using 508. 508 What's new? :)
Casino dice.!
:)

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

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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!
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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.
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 211
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.
My plugins
BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

Post Reply Previous topicNext topic

Return to โ€œProblemsโ€

Who is online

Users browsing this forum: No registered users and 1 guest

๏ปฟ