thankyou thankyou thankyou
How to write a plugin
Moderators: Scenario Moderators, Plugin Moderators
- Chinasapling
- Townsman
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
- Chinasapling
- Townsman
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
I don't know why the Chinese entering game in JSON will show the question mark.
- JustAnyone
- Developer
- Posts: 3579
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
That's due to encoding.
- Chinasapling
- Townsman
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
Then what should I do?
- Chinasapling
- Townsman
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
Can you send me the software for drawing pixel images on your mobile phone?very thankyouCommanderABab wrote: ↑16 Jun 2018, 18:49A 1x1 tile would be 32x16 pixels.
Screenshot_20180616-121759.jpg
Screenshot_20180616-121826.jpg
Screenshot_20180616-121930.jpg
Screenshot_20180616-122035.jpg
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: How to write a plugin
I would recommend pixlyChinasapling wrote: ↑26 Nov 2018, 15:13Can you send me the software for drawing pixel images on your mobile phone?very thankyouCommanderABab wrote: ↑16 Jun 2018, 18:49A 1x1 tile would be 32x16 pixels.
Screenshot_20180616-121759.jpg
Screenshot_20180616-121826.jpg
Screenshot_20180616-121930.jpg
Screenshot_20180616-122035.jpg
- Chinasapling
- Townsman
- Posts: 48
- Joined: 11 Nov 2018, 05:33
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
Thank you very muchBearbear65 wrote: ↑06 Dec 2018, 23:56I would recommend pixlyChinasapling wrote: ↑26 Nov 2018, 15:13Can you send me the software for drawing pixel images on your mobile phone?very thankyouCommanderABab wrote: ↑16 Jun 2018, 18:49A 1x1 tile would be 32x16 pixels.
Screenshot_20180616-121759.jpg
Screenshot_20180616-121826.jpg
Screenshot_20180616-121930.jpg
Screenshot_20180616-122035.jpg
- NagorniKarabikh
- Settler
- Posts: 6
- Joined: 29 Dec 2018, 20:30
- Plugins: Showcase Store
Re: How to write a plugin
Gives error
Unterminated object at character 182 of [
{
"id":"$sample.plugin.unique.id.res00",
"type":"residential",
"author":"NagorniKarabikh",
"width":1,
"height":1,
"frames":[{"png":"Romanian.png}],
"smoke":[{"id":"$smoke07","x":15,"y":-17}],
"level":1
}
]
- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
You have:NagorniKarabikh wrote: ↑17 Jan 2019, 17:05Gives errorUnterminated object at character 182 of [
{
"id":"$sample.plugin.unique.id.res00",
"type":"residential",
"author":"NagorniKarabikh",
"width":1,
"height":1,
"frames":[{"png":"Romanian.png}],
"smoke":[{"id":"$smoke07","x":15,"y":-17}],
"level":1
}
]
Code: Select all
[
{
"id":"$sample.plugin.unique.id.res00",
"type":"residential",
"author":"NagorniKarabikh",
"width":1,
"height":1,
"frames":[{"png":"Romanian.png}],
"smoke":[{"id":"$smoke07","x":15,"y":-17}],
"level":1
}
]
Code: Select all
[
{
"id":"$sample.plugin.unique.id.res00",// use a different id
"type":"residential",
"author":"NagorniKarabikh",
"width":1,
"height":1,
"frames":[{"bmp":"Romanian.png"}],
"smoke":[{"id":"$smoke07","x":15,"y":-17}],
"level":1
}
]
- JohnSallow
- Townsman
- Posts: 64
- Joined: 29 Jan 2020, 18:45
- Location: Buenos Aires, Argentina
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
This question might be dumb, but how can I do to have two or more buildings in the same plugin?
I tried doing this...
... but the second building doesn't appear in the plugin.
Yes, I'm very confused with it
I tried doing this...
Code: Select all
[
{
"id":"$nijocali.residentials.plugin_01_residential",
"type":"residential",
"author":"johnsallow",
"width":2,
"height":2,
"frames":[{"bmp":"nijocali_01.png"}],
"level":2
},
{
"id":"$nijocali.residentials.plugin_02_residential",
"type":"residential",
"author":"johnsallow",
"width":2,
"height":2,
"frames":[{"bmp":"nijocali_02.png"}],
"level":2
}
]
Yes, I'm very confused with it

- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
That should work.
It might be that the images are the same or similar, so you don't notice the second one.
It might be that the images are the same or similar, so you don't notice the second one.
- JohnSallow
- Townsman
- Posts: 64
- Joined: 29 Jan 2020, 18:45
- Location: Buenos Aires, Argentina
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Ok, I'll verify that. ThanksCommanderABab wrote: ↑06 Feb 2020, 22:42That should work.
It might be that the images are the same or similar, so you don't notice the second one.
- Triceymicy
- Settler
- Posts: 1
- Joined: 29 Apr 2020, 17:41
- Plugins: Showcase Store
Re: How to write a plugin
Explain How To Start, Like A Button.
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
What "like a button" do you mean? You can see different topics about how to make different kind of plugins.
Re: How to write a plugin
is it possible to create a moving object?
if it is how can you do it?
if it is how can you do it?
Re: How to write a plugin
is it possible to create a moving object?
if it is how can you do it?
if it is how can you do it?
- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Yes, what kind of moving object?
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Animations do the trick
- CommanderABab
- AB
- Posts: 11240
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Yes, but there can also be helicopters, planes, vehicles, (pedestrians), and somehow pumpkins. 

- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Wait how do I spawn pumpkins in the version 941? The other halloween stuff were removed I think...