Airplanes

Learn here how to create and use plugins.

Moderator: KoalaGuy

Post Reply
User avatar
Lobby
Developer
Reactions:
Posts: 2583
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: S7 edge

Airplanes

Post by Lobby » Sun Oct 08, 2017 13:11

Adding you own airplane to the game is straight forward. After you created your amazing graphics like this one :img
airplane.png
airplane.png (5.82 KiB) Viewed 515 times
You can define your plugin :json

Code: Select all

[
  {
    "id":"$lobby_airplane_mygreatairplane00",
    "title":"Big airplane",
    "text":"I'm the description.",
    "type":"airplane",
    "frames":[{"bmp":"airplane.png","w":96,"count":4,"handle x":48,"handle y":40}],
    "price":1000000,
    "fly height":200,
    "capacity":375,
    "speed":1
  }
]
An airplane plugin consists of four frames for each direction. Orientation for each frame works as for cars (v2).

About the handle, I recommend to move it to a point where you would say that's the center of the airplane on the ground:
airplane_handle.png
airplane_handle.png (3 KiB) Viewed 515 times
In case you're nice you might want to set a diamond price instead. That's possible with

Code: Select all

"diamond price":20
...Have a nice stay

User avatar
KoalaGuy
TheoTown Veteran
Reactions:
Posts: 5833
Joined: Mon Mar 06, 2017 21:45
Location: Pitcairn Islands
Plugins: Show
Version: Beta
Phone: SamsungGalaxyJ5 2017

Re: [Beta]Airplanes

Post by KoalaGuy » Sun Oct 08, 2017 13:13

Airplane plugin example:
viewtopic.php?f=59&t=4568
:)
My plugins will always be free, :bx to :bd
TheoTown Translator (Serbian)
Once Best Plugin Creator
(My plugins)
Contributor
Once top poster
Most reactions
Made some graphics for TheoTown
Made some smilies

User avatar
THEMAX
Inhabitant of a Continent
Reactions:
Posts: 1211
Joined: Thu Sep 14, 2017 17:30
Location: Paris, France
Plugins: Show
Version: Beta
Phone: STQAE imperial phone

Re: [Beta]Airplanes

Post by THEMAX » Sun Oct 08, 2017 13:56

THX YOU!!!
Emperor of STQAE.
Image
"vive l'empereur et vive l'empire"
have a Nice day
leader of the space, aeronautic, military research , education and Health care

User avatar
CloakedGamer
Small-town resident
Reactions:
Posts: 29
Joined: Sat Oct 07, 2017 1:01

Re: [Beta]Airplanes

Post by CloakedGamer » Sun Oct 08, 2017 18:41

What is the width and height of a single frame of the aircraft?
:mine We are Rogue.

User avatar
KoalaGuy
TheoTown Veteran
Reactions:
Posts: 5833
Joined: Mon Mar 06, 2017 21:45
Location: Pitcairn Islands
Plugins: Show
Version: Beta
Phone: SamsungGalaxyJ5 2017

Re: [Beta]Airplanes

Post by KoalaGuy » Sun Oct 08, 2017 18:47

CloakedGamer wrote:
Sun Oct 08, 2017 18:41
What is the width and height of a single frame of the aircraft?
Frames provided here are width: 96, height:64
My plugins will always be free, :bx to :bd
TheoTown Translator (Serbian)
Once Best Plugin Creator
(My plugins)
Contributor
Once top poster
Most reactions
Made some graphics for TheoTown
Made some smilies

User avatar
JustAnyone
Inhabitant of a Planet
Reactions:
Posts: 1435
Joined: Sun Jul 23, 2017 12:45
Location: Space Station 478B
Plugins: Show
Version: Beta
Phone: Xiaomi Redmi 3s

Re: Airplanes

Post by JustAnyone » Tue Dec 26, 2017 1:47

Could we have diamond price for award type plugins?
President of Domkisas
Founder and owner of DSA
Official TheoTown discord manager
I will reply if someone says ANYONE
Developer of Plugin Creator.

User avatar
rjroldan1
Inhabitant of a Conurbation
Reactions:
Posts: 376
Joined: Mon Jul 17, 2017 16:16
Location: philippines
Plugins: Show
Contact:

Re: Airplanes

Post by rjroldan1 » Tue Jan 02, 2018 10:48

how about json in huge airplanes
PROUD TO BE A FILIPINO😉
add me on facebook Rj christian roldan
president of royal region
want more plugins?
im not a speaker just remind

User avatar
Kulche
Inhabitant of a Conurbation
Reactions:
Posts: 547
Joined: Wed Jun 07, 2017 20:28
Location: In weird house
Plugins: Show
Version: Beta
Phone: Idk

Re: Airplanes

Post by Kulche » Tue Jan 02, 2018 15:54

Wut?
Im a Wiki Editor now?

lol

Check my plugins!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest