#1 2019-11-07 04:46:00

gaya
Member

Animated particle textures?

Does Tesseract support particles with animated sheets? I wanted to create some explosions using sheets like these:

ani5.jpg

Offline

#2 2019-11-21 20:48:35

RaZgRiZ
Moderator

Re: Animated particle textures?

Flame particles do. Could fiddle with the code there.

Offline

#3 2019-12-09 21:57:32

gaya
Member

Re: Animated particle textures?

I found this: https://websvn.tuxfamily.org/filedetail … ticles.cpp

but I couldn't find a line of code that configures frame count, frame size, etc.

Offline

#4 2019-12-28 15:05:12

RaZgRiZ
Moderator

Re: Animated particle textures?

You probably want to chase down `quadrender` from the following line:

new quadrenderer("<grey>media/particle/flames.png", PT_PART|PT_HFLIP|PT_RND4|PT_BRIGHT),   // flame

Offline

Board footer