Page 3 of 6

Re: How to write a plugin

Posted: 17 Nov 2018, 15:32
by Chinasapling
CommanderABab wrote:
17 Nov 2018, 14:01
Show
show quotes
Chinasapling wrote:
17 Nov 2018, 13:04
CommanderABab wrote:
17 Nov 2018, 04:17
What's going on here?
Show
you do use a comma here :)
Image
Screenshot_20181117-063130.jpg
thankyou thankyou thankyou

Re: How to write a plugin

Posted: 20 Nov 2018, 15:03
by Chinasapling
I don't know why the Chinese entering game in JSON will show the question mark.

Re: How to write a plugin

Posted: 21 Nov 2018, 15:49
by JustAnyone
That's due to encoding.

Re: How to write a plugin

Posted: 21 Nov 2018, 16:02
by Chinasapling
JustAnyone wrote:
21 Nov 2018, 15:49
That's due to encoding.
Then what should I do?

Re: How to write a plugin

Posted: 26 Nov 2018, 15:13
by Chinasapling
CommanderABab wrote:
16 Jun 2018, 18:49
A 1x1 tile would be 32x16 pixels.

Screenshot_20180616-121759.jpg
Screenshot_20180616-121826.jpg
Screenshot_20180616-121930.jpg
Screenshot_20180616-122035.jpg
Can you send me the software for drawing pixel images on your mobile phone?very thankyou

Re: How to write a plugin

Posted: 06 Dec 2018, 23:56
by Bearbear76
Chinasapling wrote:
26 Nov 2018, 15:13
CommanderABab wrote:
16 Jun 2018, 18:49
A 1x1 tile would be 32x16 pixels.

Screenshot_20180616-121759.jpg
Screenshot_20180616-121826.jpg
Screenshot_20180616-121930.jpg
Screenshot_20180616-122035.jpg
Can you send me the software for drawing pixel images on your mobile phone?very thankyou
I would recommend pixly

Re: How to write a plugin

Posted: 07 Dec 2018, 11:03
by Chinasapling
Bearbear65 wrote:
06 Dec 2018, 23:56
Chinasapling wrote:
26 Nov 2018, 15:13
CommanderABab wrote:
16 Jun 2018, 18:49
A 1x1 tile would be 32x16 pixels.

Screenshot_20180616-121759.jpg
Screenshot_20180616-121826.jpg
Screenshot_20180616-121930.jpg
Screenshot_20180616-122035.jpg
Can you send me the software for drawing pixel images on your mobile phone?very thankyou
I would recommend pixly
Thank you very much

Re: How to write a plugin

Posted: 17 Jan 2019, 17:05
by NagorniKarabikh
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
}
]

Re: How to write a plugin

Posted: 17 Jan 2019, 18:13
by CommanderABab
NagorniKarabikh wrote:
17 Jan 2019, 17:05
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
}
]
You have:

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
  }
]
Try:

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
  }
]
Missing " after Romanian.png caused the error.

Re: How to write a plugin

Posted: 06 Feb 2020, 20:06
by JohnSallow
This question might be dumb, but how can I do to have two or more buildings in the same plugin?

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
}
]
... but the second building doesn't appear in the plugin.

Yes, I'm very confused with it :calc

Re: How to write a plugin

Posted: 06 Feb 2020, 22:42
by CommanderABab
That should work.
It might be that the images are the same or similar, so you don't notice the second one.

Re: How to write a plugin

Posted: 07 Feb 2020, 02:29
by JohnSallow
CommanderABab wrote:
06 Feb 2020, 22:42
That should work.
It might be that the images are the same or similar, so you don't notice the second one.
Ok, I'll verify that. Thanks

Re: How to write a plugin

Posted: 25 Jun 2020, 20:20
by Triceymicy
Explain How To Start, Like A Button.

Re: How to write a plugin

Posted: 26 Jun 2020, 15:50
by TheFennekin
Triceymicy wrote:
25 Jun 2020, 20:20
Explain How To Start, Like A Button.
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

Posted: 06 Nov 2020, 23:36
by Lorange7.
is it possible to create a moving object?
if it is how can you do it?

Re: How to write a plugin

Posted: 06 Nov 2020, 23:36
by Lorange7.
is it possible to create a moving object?
if it is how can you do it?

Re: How to write a plugin

Posted: 07 Nov 2020, 00:38
by CommanderABab
Yes, what kind of moving object?

Re: How to write a plugin

Posted: 10 Nov 2020, 03:21
by TheFennekin
Animations do the trick

Re: How to write a plugin

Posted: 10 Nov 2020, 04:16
by CommanderABab
Yes, but there can also be helicopters, planes, vehicles, (pedestrians), and somehow pumpkins. :)

Re: How to write a plugin

Posted: 10 Nov 2020, 04:24
by TheFennekin
Wait how do I spawn pumpkins in the version 941? The other halloween stuff were removed I think...