Plug-in related stuff can be discussed here.
Moderator: Plugin Moderators
Pounkiller
Inhabitant of a Megalopolis Reactions:
Posts: 600 Joined: 15 Jan 2018, 15:53
Location: Turkey
Plugins: Showcase Store
Platform
#1
Post
by Pounkiller » 18 Mar 2018, 16:45
IMG_20180318_174242.png (22.41 KiB) Viewed 1992 times
I am making a crane plugin but I can't center the texture...
Blue crane inverted.png (1.84 KiB) Viewed 1991 times
¡Probably not actively sustaining following the forum nor its alternative side-platforms!
≈Out of Place, Out of Time≈
Lobby
Developer Reactions:
Posts: 3705 Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta
Platform
#2
Post
by Lobby » 18 Mar 2018, 16:52
You can use "handle x" and "handle y" to specify a pivot point yourself. Here I would use something like
Code: Select all
"frames":[{"bmp":"your image.png","handle x":11,"handle y":49}]
Pounkiller
Inhabitant of a Megalopolis Reactions:
Posts: 600 Joined: 15 Jan 2018, 15:53
Location: Turkey
Plugins: Showcase Store
Platform
#3
Post
by Pounkiller » 18 Mar 2018, 16:55
Lobby wrote: ↑ 18 Mar 2018, 16:52
You can use "handle x" and "handle y" to specify a pivot point yourself. Here I would use something like
Code: Select all
"frames":[{"bmp":"your image.png","handle x":11,"handle y":49}]
Thanks,I can make this handle thing in json genie right?
¡Probably not actively sustaining following the forum nor its alternative side-platforms!
≈Out of Place, Out of Time≈
Lobby
Developer Reactions:
Posts: 3705 Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta
Platform
#4
Post
by Lobby » 18 Mar 2018, 16:56
Yes, json genie is just another representation of json.
Pounkiller
Inhabitant of a Megalopolis Reactions:
Posts: 600 Joined: 15 Jan 2018, 15:53
Location: Turkey
Plugins: Showcase Store
Platform
#5
Post
by Pounkiller » 18 Mar 2018, 18:10
Thank you so much Lobby, I tried to do it with the texture for an hour and failed at the code while doing the handles
but now I understand it thanks again...
¡Probably not actively sustaining following the forum nor its alternative side-platforms!
≈Out of Place, Out of Time≈
dustin908
Settler Reactions:
Posts: 2 Joined: 25 Aug 2017, 19:31
Plugin Creator
Platform
#7
Post
by dustin908 » 05 Apr 2018, 22:50
Does it work with cars too
Pounkiller
Inhabitant of a Megalopolis Reactions:
Posts: 600 Joined: 15 Jan 2018, 15:53
Location: Turkey
Plugins: Showcase Store
Platform
#8
Post
by Pounkiller » 06 Apr 2018, 10:04
It works with all of the non square textures.
¡Probably not actively sustaining following the forum nor its alternative side-platforms!
≈Out of Place, Out of Time≈
dustin908
Settler Reactions:
Posts: 2 Joined: 25 Aug 2017, 19:31
Plugin Creator
Platform
#9
Post
by dustin908 » 07 Apr 2018, 02:48
Ok Kool