Jump to content

Texture Cycling On Sprites


Recommended Posts

Hello. I'm trying to figure out a way to make an image sequence cycle on my sprites. I have the sequence, it cycles fine on the shader level using this expression:

frame.`padzero(3,($F-1)%50+1)`.tga

however, when I point my sprites to the texture they all get stuck on the first frame image. Do you guys know what it is caused by?

Thank you very much,

Luka

Link to comment
Share on other sites

Hey Lukich,

I'm having trouble understanding the problem...

So when you put that expression in a shader parameter things render as expected, correct?

But when you "point your sprites to the texture" they don't?

What do you mean by "point my sprites to the texture" exactly?

Cheers!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...