pipelines

Here you can talk about everything you want.
User avatar
RopaSucia
Townsman
Reactions:
Posts: 86
Joined: Fri Dec 06, 2019 18:13
Plugins: Show
Version: Beta

Platform

Plugin Creator

pipelines

#1

Post by RopaSucia »

How can I create a pipelines plugin ? :bq :mine
No

User avatar
CommanderABab
AB
Reactions:
Posts: 8566
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: pipelines

#2

Post by CommanderABab »

888!888Currently using zeta 888. 888 What's that? :)
quantum road tool!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
RopaSucia
Townsman
Reactions:
Posts: 86
Joined: Fri Dec 06, 2019 18:13
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: pipelines

#3

Post by RopaSucia »

[
{
"id":"$pipeKd00",
"type":"pipe",
"frames":[{"bmp":"image4.png"}],
"price":50,
"preview frames":[{"x":448,"y":720,"w":64,"h":32}]
}
]
No

User avatar
RopaSucia
Townsman
Reactions:
Posts: 86
Joined: Fri Dec 06, 2019 18:13
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: pipelines

#4

Post by RopaSucia »

Screenshot_20200508-185508.png
No

User avatar
CommanderABab
AB
Reactions:
Posts: 8566
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: pipelines

#5

Post by CommanderABab »

You might try studying this file:
content_water.json
(2.34 KiB) Downloaded 2 times
from this topic: viewtopic.php?p=78067#p78067

by Lobby.

Code: Select all

... {
      "id":"$pipe00",
	  "type":"pipe",
	  "frames":[{"x":1536,"y":1968,"w":32,"h":16,"count":16}],
	  "price":50,
     "preview frames":[{"x":448,"y":720,"w":64,"h":32}]
   },... 
The x and the y in the frames statement are where the game finds the pipes in the world texture. So, there are count 16 images of pipes there of width w 32 and height h 16.
Show
2 ways of making the frames

Code: Select all

   "frames":[{"bmp":"image.png","w":32,"h":16,"count":16}], 
or

Code: Select all

   "frames":[ 
     {"bmp":"image1.png"},...
     {"bmp":"image16.png"}
   ], 
where image1 through image16 are each 32 pixels wide and 16 pixels high.



Would fit the first statement.
Would fit the first statement.
redpipe.png (5.9 KiB) Viewed 894 times
888!888Currently using zeta 888. 888 What's that? :)
quantum road tool!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
RopaSucia
Townsman
Reactions:
Posts: 86
Joined: Fri Dec 06, 2019 18:13
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: pipelines

#6

Post by RopaSucia »

I realized my mistake
I was missing I defined "H" "W" "count"
No

Post Reply Previous topicNext topic

Return to “Smalltalk”