First Design Of Plugin

Display your city's beauty to the world. Capture and share captivating screenshots of your urban creations in this community forum. Inspire others with your remarkable designs and receive recognition for your visionary city-building skills!
User avatar
William Camilo
Villager
Reactions:
Posts: 23
Joined: 12 Oct 2018, 19:21
Plugins: Showcase Store

Platform

First Design Of Plugin

#1

Post by William Camilo »

¿Que les parece?
¿What do you think?

-Residence TT "1x1"
Attachments
CIMA 2 - copia (2).jpg
CIMA 2 - copia (2).jpg (2.48 KiB) Viewed 2129 times

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

Plugin Creator

Platform

Re: First Design Of Plugin

#2

Post by CommanderABab »

Is that a residential?

User avatar
William Camilo
Villager
Reactions:
Posts: 23
Joined: 12 Oct 2018, 19:21
Plugins: Showcase Store

Platform

Re: First Design Of Plugin

#3

Post by William Camilo »

CommanderABab wrote:
17 Oct 2018, 03:35
Is that a residential?
Yes, it´s a model of my old house, now I live in an apartment. I am form Colombia.

Now my proble it´s how do I make my project fit in a 1x1 or 2x2; the game or json. does it automatically accommodate it? or should I cut the image, in which I have a small image? What do I do CommanderABab? what image should it be? jpg or png, or bmp? I heard something about bmp, that a plugin should be that, bmp ... I need help, ... :c :cry: :?

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

Plugin Creator

Platform

Re: First Design Of Plugin

#4

Post by CommanderABab »

Yes, bmp stands for bitmapped image. So the image should be saved as a .png file, which Pixly and Novix do.

I know Novix can import a jpg file to work on, but it will save it as .png. Pixly probably can do so also.

Code: Select all

"frames":[{"bmp":Cima2.png"}],
is how your image would look in the .json file.

So

Code: Select all

[
   {
      "id": "$your_unique_id",  //choose a unique id for the plugin
      "type": "residential",
      "author": "CommanderABab", //put your name between the quotes
      "width": 2,
      "height": 2,
      
      "frames": [
         {
            "bmp":"Cima2.png"
         }
      ],

      "power": -200,
      "water": -50,
      "level": 2 
   }
]
Screenshot_20181016-220225.jpg
Is how you can keep that image as is (as it isn't isometric) by putting it on a larger ground.

User avatar
William Camilo
Villager
Reactions:
Posts: 23
Joined: 12 Oct 2018, 19:21
Plugins: Showcase Store

Platform

Re: First Design Of Plugin

#5

Post by William Camilo »

WOOOOOOOOW Commmandeeer Thank You so muchhh!!!!!!! Now everything makes sense!

but I have a question and a problem

why the "power" (energy) is "-200
and why the "water" (Water) Is "-50" ???

and I must cut the image that only the house looks. I mean, a cut to each edge of the house? I make myself understand?
I mean the game adapts the png image with just having the height and width?

How do I fix the floor or how can I maintain that image with a larger piece of land? :cry: :?

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

Plugin Creator

Platform

Re: First Design Of Plugin

#6

Post by CommanderABab »

The power and water are just arbitrary. You can use smaller values if you wish.

Actually, you would probably have to add to the bottom of the image to change the ground like as shown. Be sure all white background portions are actually transparent. The bottom corner of the building or ground area should be at the bottom edge of the image. The width of the image in pixels should be 32 for a 1x1 game tile, 64 for a 2x2 game tile, 96 for a 3x3 game tile, etc.

Post Reply Previous topicNext topic

Return to “Screenshots”