help me with the size!

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
TheShyHello456
Settler
Reactions:
Posts: 7
Joined: 25 Apr 2018, 08:37
Plugins: Showcase Store

help me with the size!

#1

Post by TheShyHello456 »

I am a new plugin creator. I maked a plugin called "Park caretaker house" but I am reciving problems. My Json is working perfectly.but I am having size problems. My png size is 32×16(that's the size of one tile right?) But My building is not fitting in the tile...leaving some water around the unfitted part of the tile.....Can you help me with it?
General:
Width:1
Height:1
Type (category):park
Influnece:park (radius 10)
Needs road: true
Needs(water,electricity):true
Smoke: true
Frames:1

Can any one help me? :bt
Attachments
A screenshot of the problem
A screenshot of the problem
Screenshot_2018-07-05-11-27-55.jpg (37.98 KiB) Viewed 1498 times

User avatar
Mr. French
Inhabitant of a Megalopolis
Reactions:
Posts: 561
Joined: 23 Jul 2017, 01:56
Location: Orgelet,France
Plugins: Showcase Store
Version: Beta
Contact:

Platform

Re: help me with the size!

#2

Post by Mr. French »

TheShyHello456 wrote:
05 Jul 2018, 07:29
I am a new plugin creator. I maked a plugin called "Park caretaker house" but I am reciving problems. My Json is working perfectly.but I am having size problems. My png size is 32×16(that's the size of one tile right?) But My building is not fitting in the tile...leaving some water around the unfitted part of the tile.....Can you help me with it?
General:
Width:1
Height:1
Type (category):park
Influnece:park (radius 10)
Needs road: true
Needs(water,electricity):true
Smoke: true
Frames:1

Can any one help me? :bt
1. Did you draw your plug-in with the template?

2. Try drawing it bigger or add moree grass [using the template]

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: help me with the size!

#3

Post by CommanderABab »

There are several things that you can do.
Show
annotated screenshot
Screenshot_20180705-094342.jpg
In your image editor, you can make sure that the bottom of the wanted image is at the bottom of the canvas area. If it isn't, move it down, so that it is.

You may, in addition, use

Code: Select all

"draw ground":true
in the .json file.

You may also use handle y to have the game move it down five pixels.
This would look something like:

Code: Select all

"frames":[{"bmp":"yourimagename.png","handle y":5}],

User avatar
TheShyHello456
Settler
Reactions:
Posts: 7
Joined: 25 Apr 2018, 08:37
Plugins: Showcase Store

Re: help me with the size!

#4

Post by TheShyHello456 »

Thanks for your help.....I will just try your suggestions

User avatar
TheShyHello456
Settler
Reactions:
Posts: 7
Joined: 25 Apr 2018, 08:37
Plugins: Showcase Store

Re: help me with the size!

#5

Post by TheShyHello456 »

Theotheotown wrote:
05 Jul 2018, 15:46
TheShyHello456 wrote:
05 Jul 2018, 07:29
I am a new plugin creator. I maked a plugin called "Park caretaker house" but I am reciving problems. My Json is working perfectly.but I am having size problems. My png size is 32×16(that's the size of one tile right?) But My building is not fitting in the tile...leaving some water around the unfitted part of the tile.....Can you help me with it?
General:
Width:1
Height:1
Type (category):park
Influnece:park (radius 10)
Needs road: true
Needs(water,electricity):true
Smoke: true
Frames:1

Can any one help me? :bt
1. Did you draw your plug-in with the template?

2. Try drawing it bigger or add moree grass [using the template]

Yes I maked it with (sample.png) template of Theotown>plugins>sample

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”