Game Development Community

GuiAnimBitmapCtrl

by Stefan Lundmark · in Torque Game Engine · 02/09/2004 (2:14 pm) · 7 replies

Http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3952

The link above shows code that enable some nice (apparantly) bitmap code using multiple sprites. Can anyone do a brief example? As I don't understand how to integrate it with a script and the comment example doesn't show that very well either.

I have yet to see a answer on this.
Would appreciate any help given.

Sincerely
Stefan Lundmark

#1
02/09/2004 (5:45 pm)
Try this

-> http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3965
#2
02/10/2004 (12:20 am)
Thanks but I have already tried that one, gives me 18 compile errors on a clean build.
An example on the above URL I posted would be nice though :)

Someone?
#3
02/10/2004 (3:21 am)
Stefan,

I have just posted a resource called Basic AnimBitmap Demo that shows how to implement GuiAnimBitmapCtrl simply.

-James Yong
#4
02/10/2004 (8:24 am)
James Yong

In your demo, you're using another resource, not the one I posted above. The one above supports resuming/pausing and has not got a flawed time-code, the one you're using doesn't work in the ingame menu's because it doesn't read the frames at the correct speed.

All I want is an example on the above code, which I posted :)
As I can't figure out how to do it for the life of me.

There are three (I think) resources that are animated bitmap codes, but the one I mentioned is the only one I ever could use.
#5
02/10/2004 (8:45 am)
Stefan,

Just to let you know that GG hasn't approved my resource yet. So I don't think you have seen the Basic AnimBitmap Demo yet. :)

-James Yong
#6
02/10/2004 (9:23 am)
James Yong

I knew I shouldn't have been up this late. Shite. :P
I thought (Edit: Assumed is more like the right word for it) it used the same code as in your demo example for the sky :) my bad, and thanks, I'll await your resource.

Sincerely
Stefan Lundmark
#7
02/10/2004 (3:19 pm)
A quick note on the code, the %loop command doesn't seem to function at all. I changed it to FALSE but it just made it disappear.