How to write a plugin

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4590
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: Xperia™ XZ1 SO-01K

Platform

Re: How to write a plugin

Post by Bearbear65 » Thu Dec 06, 2018 23:56

Chinasapling wrote:
Mon Nov 26, 2018 15:13
CommanderABab wrote:
Sat Jun 16, 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
ImageJust my opinion
Theotown forum authoritarian! pszo48ly

Chinasapling
Townsman
Reactions:
Posts: 48
Joined: Sun Nov 11, 2018 5:33
Plugins: Show

Platform

Re: How to write a plugin

Post by Chinasapling » Fri Dec 07, 2018 11:03

Bearbear65 wrote:
Thu Dec 06, 2018 23:56
Chinasapling wrote:
Mon Nov 26, 2018 15:13
CommanderABab wrote:
Sat Jun 16, 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

NagorniKarabikh
Settler
Reactions:
Posts: 6
Joined: Sat Dec 29, 2018 20:30
Plugins: Show

Re: How to write a plugin

Post by NagorniKarabikh » Thu Jan 17, 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
}
]
:bc correcting the same as same whom is me?
:bc джорреджтинг тье саме ас саме вхом ис ме?

User avatar
CommanderABab
AB
Reactions:
Posts: 7279
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: How to write a plugin

Post by CommanderABab » Thu Jan 17, 2019 18:13

NagorniKarabikh wrote:
Thu Jan 17, 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.
622u622Currently using alpha 626u. 622 What's new? :)
Can't tell!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 2 guests