Game Development Community

GuiAnimatedBitmapCtrl. How to make it work?

by Yves Albuquerque · in Torque Game Builder · 12/01/2009 (5:45 pm) · 3 replies

Can anyone help me make this work?

I puted it in the VC++ project, compiled it correctly, no errors(after some modifications). But I can't use it from the script, says something like GuiAnimatedBitmapCtrl doesn't exists. There is something I need to do besides compile TGB with it to make it work? Any function I need to call somewhere to register it or something?

Thanks

#1
12/01/2009 (5:49 pm)
Post the relevant parts from console.log.
#2
12/01/2009 (5:56 pm)
I think you are talking about this.

game/gui/gamePlayGui.gui (0): Unable to instantiate non-conobject class GuiAnimatedBitmap.
#3
12/01/2009 (6:07 pm)
I think there's something wrong with the CONOBJECT macros. You could compare these macros with a stock control like GuiBitmapCtrl and probably find the problem.