Texture problem (my plugin)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
SonicandAndriu
Villager
Reactions:
Posts: 11
Joined: 23 Dec 2021, 23:15

Platform

Plugin Creator

Texture problem (my plugin)

#1

Post by SonicandAndriu »

Image
I have that problem with the texture of my plugin, the texture is transparent
:bt
Hi, I'm Andriu, I'm someone friendly, I love video games, if you want you can give me nicknames if you want and I'm fine, Oh yeah

I speak Spanish
:mrgreen:

User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2719
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Texture problem (my plugin)

#2

Post by TheFennekin »

Can you send here the code of the plugin?
Wait, I'm still thinking

User avatar
SonicandAndriu
Villager
Reactions:
Posts: 11
Joined: 23 Dec 2021, 23:15

Platform

Plugin Creator

Re: Texture problem (my plugin)

#3

Post by SonicandAndriu »

TheFennekin wrote:
13 May 2022, 10:40
Can you send here the code of the 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
Check
Hi, I'm Andriu, I'm someone friendly, I love video games, if you want you can give me nicknames if you want and I'm fine, Oh yeah

I speak Spanish
:mrgreen:

User avatar
CommanderABab
AB
Reactions:
Posts: 10210
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Texture problem (my plugin)

#4

Post by CommanderABab »

It's hard to see at night what you mean.

User avatar
SonicandAndriu
Villager
Reactions:
Posts: 11
Joined: 23 Dec 2021, 23:15

Platform

Plugin Creator

Re: Texture problem (my plugin)

#5

Post by SonicandAndriu »

CommanderABab wrote:
13 May 2022, 18:36
It's hard to see at night what you mean.
Image
there
:bc
Hi, I'm Andriu, I'm someone friendly, I love video games, if you want you can give me nicknames if you want and I'm fine, Oh yeah

I speak Spanish
:mrgreen:

User avatar
CommanderABab
AB
Reactions:
Posts: 10210
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Texture problem (my plugin)

#6

Post by CommanderABab »

The textures you are referencing in your plugin have those corners transparent to present a rounded appearance to the roads.

User avatar
CommanderABab
AB
Reactions:
Posts: 10210
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Texture problem (my plugin)

#7

Post by CommanderABab »

If that's not sand that you have built under the corners of the road, then put the line

Code: Select all

"draw ground": true, ...
into the plugin.

User avatar
SonicandAndriu
Villager
Reactions:
Posts: 11
Joined: 23 Dec 2021, 23:15

Platform

Plugin Creator

Re: Texture problem (my plugin)

#8

Post by SonicandAndriu »

Image
Yeahhh
Hi, I'm Andriu, I'm someone friendly, I love video games, if you want you can give me nicknames if you want and I'm fine, Oh yeah

I speak Spanish
:mrgreen:

User avatar
SonicandAndriu
Villager
Reactions:
Posts: 11
Joined: 23 Dec 2021, 23:15

Platform

Plugin Creator

Re: Texture problem (my plugin)

#9

Post by SonicandAndriu »

Hi, I'm Andriu, I'm someone friendly, I love video games, if you want you can give me nicknames if you want and I'm fine, Oh yeah

I speak Spanish
:mrgreen:

Post Reply Previous topicNext topic

Return to “Problems”