[1.12.26] Support for non-square buildings

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3767
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store

[1.12.26] Support for non-square buildings

#1

Post by Lobby »

Recently support for buildings with non-square base plate was added.
image.png

For example buildings that use the following templates work now without the need to use composition buildings:
image.png
image.png (3.01 KiB) Viewed 4522 times
(sizes from left to right: 1x2, 2x1, 2x3, 2x4)
Usable templates can be found on the templates page.

Requirements and Caveats
Non-square buildings must provide at least two frames as they are rotation aware.

Since version 1.12.49, TheoTown supports non-square buildings of arbitrary sizes. Please note that using non-square buildings may have a performance impact.
The game has to render non-square buildings multiple times. For now, this is limited to drawing it two times at max. As a result, the ratio between width and height must be 2 at max.

While non-square buildings do support RCI auto spawning, they may not actually spawn in some constraint space conditions.

Example
Here's an example non-square building with a size of 2x1 (the size refers to the size of the first frame).

Code: Select all    Reset

[ { "id": "$res_nonsquare00", "type": "residential", "level": 1, "width": 2, "height": 1, "frames": [ { "bmp": "res.png", "w":48, "count": 2 } ] } ]
JSON checker
Check
res.png
res.png (6.9 KiB) Viewed 4504 times

User avatar
Doctorbuilder
Inhabitant of a Megacity
Reactions:
Posts: 230
Joined: 02 Nov 2024, 10:52
Plugins: Showcase Store
Version: Beta

Platform

Re: [1.12.26] Support for non square buildings

#2

Post by Doctorbuilder »

Crazy upd

User avatar
TheLeaf2805
Townsman
Reactions:
Posts: 71
Joined: 12 Jul 2021, 08:09
Location: Vietnam
Plugins: Showcase Store

Plugin Creator

Platform

Re: [1.12.26] Support for non square buildings

#3

Post by TheLeaf2805 »

this changes everything

User avatar
yekaterinborough
Villager
Reactions:
Posts: 24
Joined: 22 Apr 2024, 23:29

Plugin Creator

Platform

Re: [1.12.26] Support for non square buildings

#4

Post by yekaterinborough »

awesome

User avatar
Playerc445GDReal
Inhabitant of a Megalopolis
Reactions:
Posts: 666
Joined: 09 Feb 2025, 13:41
Location: 🌌the edge of the milky way galaxy🌠
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [1.12.26] Support for non square buildings

#5

Post by Playerc445GDReal »

the world coming alltogether

User avatar
robyns1
Settler
Reactions:
Posts: 4
Joined: 16 Feb 2024, 20:03

Plugin Creator

Platform

Re: [1.12.26] Support for non square buildings

#6

Post by robyns1 »

coming next: support for bridges going over buildings (official) and easier night animation creation :000

User avatar
greypblox
Settler
Reactions:
Posts: 1
Joined: 03 Aug 2021, 02:34

Re: [1.12.26] Support for non square buildings

#7

Post by greypblox »

if they add support for bigger sizes this update will be so peak

User avatar
Hearnius
Villager
Reactions:
Posts: 9
Joined: 01 Nov 2024, 18:10
Location: Somewhere in Eurasia
Plugins: Showcase Store

Platform

Re: [1.12.26] Support for non square buildings

#8

Post by Hearnius »

Some plugins will be good finally

User avatar
Ross The Mayor
Small-town resident
Reactions:
Posts: 33
Joined: 20 Dec 2023, 23:30
Location: Clarendon, Jamaica
Plugins: Showcase Store
Version: Beta

Plugin Creator

Re: [1.12.26] Support for non square buildings

#9

Post by Ross The Mayor »

How would we do the night animation without it being at different heights when rotating the buildings? I am having this problem.

User avatar
Kulche
Pluche
Reactions:
Posts: 1236
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [1.12.26] Support for non square buildings

#10

Post by Kulche »

use handles "handle x" "handle y"

User avatar
Thidagtahu
Small-town resident
Reactions:
Posts: 39
Joined: 25 Mar 2025, 01:34

Platform

Re: [1.12.26] Support for non-square buildings

#11

Post by Thidagtahu »

I wonder does this also support 3x1 building

User avatar
Thidagtahu
Small-town resident
Reactions:
Posts: 39
Joined: 25 Mar 2025, 01:34

Platform

Re: [1.12.26] Support for non-square buildings

#12

Post by Thidagtahu »

Ok, one of the post I posted in tutorial and documentation is get deleted without I even know it, I don't mind it. It's was just low effort and useless information and I was thinking to delete it, thanks to whoever delete it I guess
"No correlation with this post"

User avatar
HpilQwwwwwwww16
Metropolitan
Reactions:
Posts: 133
Joined: 02 Apr 2026, 02:35
Location: Laguna, Philippines
Plugins: Showcase Store
Contact:

Platform

Re: [1.12.26] Support for non-square buildings

#13

Post by HpilQwwwwwwww16 »

Thidagtahu wrote:
16 Apr 2026, 11:57
I wonder does this also support 3x1 building
No you gotta split it instead or make it modulable

User avatar
Thidagtahu
Small-town resident
Reactions:
Posts: 39
Joined: 25 Mar 2025, 01:34

Platform

Re: [1.12.26] Support for non-square buildings

#14

Post by Thidagtahu »

HpilQwwwwwwww16 wrote:
26 May 2026, 16:48
Thidagtahu wrote:
16 Apr 2026, 11:57
I wonder does this also support 3x1 building
No you gotta split it instead or make it modulable
I was confirmed it that it can in my newest plugin

User avatar
HpilQwwwwwwww16
Metropolitan
Reactions:
Posts: 133
Joined: 02 Apr 2026, 02:35
Location: Laguna, Philippines
Plugins: Showcase Store
Contact:

Platform

Re: [1.12.26] Support for non-square buildings

#15

Post by HpilQwwwwwwww16 »

Thidagtahu wrote:
26 May 2026, 16:56
HpilQwwwwwwww16 wrote:
26 May 2026, 16:48
Thidagtahu wrote:
16 Apr 2026, 11:57
I wonder does this also support 3x1 building
No you gotta split it instead or make it modulable
I was confirmed it that it can in my newest plugin
But the templates only have 1x2 / 2x1, not 3x1, and I'm pretty sure there's no 3x1 building plugins in the store.
They might have mentioned using modulable sprites to make it

User avatar
Thidagtahu
Small-town resident
Reactions:
Posts: 39
Joined: 25 Mar 2025, 01:34

Platform

Re: [1.12.26] Support for non-square buildings

#16

Post by Thidagtahu »

HpilQwwwwwwww16 wrote:
26 May 2026, 17:05
Thidagtahu wrote:
26 May 2026, 16:56
HpilQwwwwwwww16 wrote:
26 May 2026, 16:48


No you gotta split it instead or make it modulable
I was confirmed it that it can in my newest plugin
But the templates only have 1x2 / 2x1, not 3x1, and I'm pretty sure there's no 3x1 building plugins in the store.
They might have mentioned using modulable sprites to make it
I just changed it by combining other template, seems like I can do 1x10 too, also composition feature still have purpose for making modular things, old plugin using that to be able to do something like this now it's lot easier

User avatar
Thidagtahu
Small-town resident
Reactions:
Posts: 39
Joined: 25 Mar 2025, 01:34

Platform

Re: [1.12.26] Support for non-square buildings

#17

Post by Thidagtahu »

I just found out max limit is 5x16, it's annoying that i couldn't go into 5x20

User avatar
skizsaidhello
Townsman
Reactions:
Posts: 53
Joined: 10 Jun 2026, 04:44
Location: North Korea
Plugins: Showcase Store

Plugin Creator

Platform

Re: [1.12.26] Support for non-square buildings

#18

Post by skizsaidhello »

HpilQwwwwwwww16 wrote:
26 May 2026, 16:48
Thidagtahu wrote:
16 Apr 2026, 11:57
I wonder does this also support 3x1 building
No you gotta split it instead or make it modulable
isnt there plugins bigger than 3x2?

User avatar
HpilQwwwwwwww16
Metropolitan
Reactions:
Posts: 133
Joined: 02 Apr 2026, 02:35
Location: Laguna, Philippines
Plugins: Showcase Store
Contact:

Platform

Re: [1.12.26] Support for non-square buildings

#19

Post by HpilQwwwwwwww16 »

skizsaidhello wrote:
10 Jun 2026, 14:26
HpilQwwwwwwww16 wrote:
26 May 2026, 16:48
Thidagtahu wrote:
16 Apr 2026, 11:57
I wonder does this also support 3x1 building
No you gotta split it instead or make it modulable
isnt there plugins bigger than 3x2?
My mistake, yes there is lmao

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”