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?
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.
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!
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.
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.