Question about the Speed of the game

Started by Kain_V, Wed 18/03/2009 12:57:59

Previous topic - Next topic

Kain_V

Hi, I have my game complete about 40% and when I'm testing it I have a speed problem.
The game is with actors, so when the player picks up an item, I have a video playing showing him taking the item.
The thing is when I click on the object the game freezes for some seconds and then play the video.

The question is: Is there any way to make it play faster?

RickJ

Have you considered importing the animation frames into AGS and just playing animation loop(s).  My guess is that the delay is due to loading the video into the player.

Kain_V

don't want to make an animation. I prefer the video but I was wondering if I could make it run faster.
If it's just the loading time and there's nothing I can do...(sigh)..ok
Thanks for replying!

Pumaman

What type of video file are you using? The first time a video plays, it has to load the codec which can take a while. You could mitigate against this by creating a very short 1-second blank video with the same codec, and play it when the game starts so that the codec is already loaded when you actually want to play a video later.

Also, if you're using 3.1.2, consider using Theora video which shouldn't have such a start up time.

Dualnames

Theora actually plays with no problems, and concerning the engine the last time videos were "hard" on me, was back while using AGS 2.72.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk