Game Development Community

Animated sprites (.png's etc)

by Ron Yacketta · in Torque Game Engine · 07/02/2002 (8:15 am) · 14 replies

JT (Jeff Tunnel) brought up an interesting topic in email today, let me quote him so we all are on the same page here.

Quote:
I think it looks very cool. Logan sent the Torque logo to me a while ago.
I asked him if he would be interested in putting it into a form that could
be used in a game, i.e. a 3D spinning TGE logo for boot up pages.

Jeff

My question to the masses is how in TGE is it possible to-do
Quote:
a 3D spinning TGE logo for boot up pages.

I have read the Splash Screen resource, which is an nice read. I have searched the code and really do not see a way to animate sprites (.png's etc).

any thoughts?

Regards,
Ron

#1
07/02/2002 (9:40 am)
is GIF supported? An animated GIF would be the easiest way... but I don't think there's gif support.
#2
07/02/2002 (10:14 am)
use it as a texture, map it to a poly, and away you go.
#3
07/02/2002 (10:22 am)
Jeremy,

Sorry but I need a bigger bone than that to chase ;)

Are speaking purely from a OpenGL perspective? that is
map a texture to a GL_QUAD and rotate that puppy around?

if so, hrmm..

-Ron
#4
07/02/2002 (10:51 am)
I believe Frank Bignone made a post about how to do something similar.

Why stop at a spinning logo? This is a perfect place to put bells AND whistles. Show off a little bit. Have it in a small screen in the center so that it will always run quickly and show them what can be done (quickly).

Most games do the same thing, only with pre-rendered movies.
#5
07/02/2002 (11:12 am)
Why use an image? Use the PlayerGuiCtrl to show the torque model and rotate it in the screen.. make it a .dts model... That will be much easier and look much nicer in your boot logo screen.
#6
07/02/2002 (11:14 am)
X,

I am clueless in respect to modeling and anything else artisticaly related ;)

is their an easy way to convert a .png (IE the GG logo) into a .dts to accomplish what you suggested?

-Ron
#7
07/02/2002 (11:18 am)
Yes, exactly.

If you just texture a quad it would have no depth because it would be flat on the sides when spinning.. which would look dull IMO. Unless you mapped it on a cube ...

But if you modeled a wheel of sorts and used the GG logo as a texture then you could just edit the player view gui control to show it and set a slow spinning animation.
#8
07/02/2002 (11:21 am)
On a side note, I really wish GG would fix the avi/mpg gui control so that it actually worked :/

It would make something like this a bit more artistically pleasing to the designer :/
#9
07/02/2002 (11:29 am)
And on yet another side note I'm thinking of making two new gui base classes. These classes would be derived from guiCanvas and guiControl respectively and there names would be guiCanvas3D and guiControl3D. Essentially having the exact same functionality of guiCanvas and guiControl except instead of 2d images with which to draw the controls I would use 3d images instead with animation capabilities.

The reason I'm thinking of doing it this way, instead of just making a new gui control to show any 3d object, is so that I can accomplish 3d spinning buttons, and heck even build 3D fonts for it.

Maybe even treat the entire interface as one huge cube where the transition from one screen to another is just the cube spinning to the left or something.. I dunno. I'm still thinking about this ;p
#10
07/02/2002 (11:32 am)
I was thinking of something similar
instead of a cube the interface (main menu and sub menues) would be on a two ring dial.
when you click on a item the inner ring would rotate to the selection, do a funky annimation and pop-up the menu.

*shrug* just some funky stuff floating in my head that would be great as a resource etc ;)
just need to get them from my head to paper to reality

-Ron
#11
07/02/2002 (11:32 am)
Robert: That sounds like a cool idea, maybe you could make a crazy GUI like on the x-box :)
#12
07/03/2002 (4:54 pm)
I've never seen the x-box gui. Got a pic? :)
#13
07/03/2002 (6:12 pm)
After a while of searching on google, found some screenshots :)
http://images.google.com/images?q=xbox+main+menu&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off
#14
07/03/2002 (7:00 pm)
why not just make the 3d object of the logo and make it spin?, torque is a **3D** engine after all :)