Texture problem (my plugin)
Moderator: Plugin Moderators
- SonicandAndriu
- Villager
- Reactions:
- Posts: 13
- Joined: 23 Dec 2021, 23:15
-
Plugin Creator
Platform
Texture problem (my plugin)
I have that problem with the texture of my plugin, the texture is transparent
- TheFennekin
- Neighborhood fox
- Reactions:
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Texture problem (my plugin)
Can you send here the code of the plugin?
- SonicandAndriu
- Villager
- Reactions:
- Posts: 13
- Joined: 23 Dec 2021, 23:15
-
Plugin Creator
Platform
Re: Texture problem (my plugin)
Yes
Code: Select all Reset
[ { "id":"$suburbanroad00", "type":"road", "author":"SonicandAndriu", "level":1, "price":145, "frames":[{"bmp":"Sroad.png","w":32,"h":16,"count":16}], "traffic lights":[{"bmp":"tf.png","count":4,"h":32,"w":32}], "green phase":3000, "yellow phase":500, "bridge frames":[{"bmp":"Sroadbridge.png","w":32,"h":48,"count":16}], "bridge height":12, "frames per bridge":16, "max level":3, "slope frames":[{"x":120,"y":311,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}], "tunnel frames":[{"x":896,"y":192,"w":16,"h":19,"handle y":7}, {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7}, {"x":928,"y":192,"w":16,"h":19,"handle y":7}, {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7}], "title":"Suburban Road", "text":"It's like the normal road, but this is for the suburbs.", "speed":2.0, "bridge price":1995, "monthly price":2, "ordinal":5, "requirement":{"requirements":[{"type":"RANK", "data":{"lvl":1}}]} } ]
JSON checker
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Texture problem (my plugin)
It's hard to see at night what you mean.
- SonicandAndriu
- Villager
- Reactions:
- Posts: 13
- Joined: 23 Dec 2021, 23:15
-
Plugin Creator
Platform
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Texture problem (my plugin)
The textures you are referencing in your plugin have those corners transparent to present a rounded appearance to the roads.
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Texture problem (my plugin)
If that's not sand that you have built under the corners of the road, then put the line into the plugin.
Code: Select all
"draw ground": true, ...
- SonicandAndriu
- Villager
- Reactions:
- Posts: 13
- Joined: 23 Dec 2021, 23:15
-
Plugin Creator
Platform
- SonicandAndriu
- Villager
- Reactions:
- Posts: 13
- Joined: 23 Dec 2021, 23:15
-
Plugin Creator
Platform