Game Development Community

Animated Bitmap or movie

by Joseph Jonathan · in Game Design and Creative Issues · 10/10/2006 (8:49 am) · 6 replies

Hey all I have moved this post to hee because no one answerd me in game design.

I am wanting to have an animated logo and movie for splashscreens.

This is what I have:

Quote:

--------------------------------------------------------------------------------
new GuiChunkedBitmapCtrl(SplashScreen) {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";
bitmap = "./interfaces/emaga_splash";
useVariable = "0";
tile = "0";
noCursor=0;
new GuiInputCtrl(SplashScreenInputCtrl) {
profile = "GuiInputCtrlProfile";
position = "0 0";
extent = "10 10";
};
};

--------------------------------------------------------------------------------


Inteast of, "bitmap = "./interfaces/emaga_splash";" what should i but to show an animated .gif or movie file?

Thanks,
Joseph

#1
10/10/2006 (9:55 am)
Cant use a GIF, and the Video would require a difrent GUI controal. Thedora somthing i beleave.
#3
10/10/2006 (10:14 am)
Then I would go

Quote:
new GuiChunkedBitmapCtrl(SplashScreen) {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";
theora = "./interfaces/theoramovie";
useVariable = "0";
tile = "0";
noCursor=0;
new GuiInputCtrl(SplashScreenInputCtrl) {
profile = "GuiInputCtrlProfile";
position = "0 0";
extent = "10 10";
};
};

??
#4
11/21/2006 (2:42 am)
Unlike the bitmap control the theora's control is here use!!!:)
Certainly, it is necessary convert media file (*.avi) in the format of Theora - with expansion *.ogg
There is an utility of ffmpeg2theora - look in a search engine (like Google) Or here

Here example really working code:
new GuiTheoraCtrl(StartupGui) {
     profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "0 0";
      extent = "640 480";
      minExtent = "8 8";
      Visible = "1";
      theoraFile = "./logo.ogg";
      done = "1";
      stopOnSleep = "1";
      backgroundColor = "0 0 0 255";     
      nocursor= "1";

Enjoy!
#5
11/30/2006 (9:35 am)
Thanks.


but do i need some extra coding to make it work?
#6
11/30/2006 (9:41 am)
Theora code is now built into the engine, which is definitely worth dancing about. It's that cool.