How to use texture matrix?

About advanced scenes, and the Thyme scripting language used in Algodoo.

How to use texture matrix?

Postby GuruMaster » Sat Jan 08, 2011 8:04 pm

Hi, I want to make a character appear to 'run' and 'jump' by using the texture matrix feature. But how do I do this? Basically when I press nothing (i.e. the character is standing still), I want the image of my still character to appear, when I jump I want the 'jump' image to appear ect.

How can I do this? With texture matrix? If so I don't know how to use it, and I searched in the tutorials sections but didn't find anything! I need help!

To give you an idea of what I'm looking for, have a look at this scene:

Rating: rated 6.5
Filesize: 510.81 kB
Comments: 7
Ratings: 10
download
Image
User avatar
GuruMaster
 
Posts: 6
Joined: Wed Jan 05, 2011 12:08 am

Re: How to use texture matrix?

Postby Kilinich » Sat Jan 08, 2011 8:40 pm

Please search thyme scripting topic for "textureMatrix".
You will find animated textures functions, script examples etc. :thumbup:
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 5 guests