Tutorials/Adding movies to NeoAxis

From NeoAxis Engine Wiki

Jump to: navigation, search

This is a tutorial for NeoAxis Engine to play videos in a game. First you will need your movie and a couple of programs listed below. First off I, Dootuz, take NO responsibility if you mess up your PC, your game, or your guitar (you never know) while doing this tutorial! YOU WILL NEED YOUR MOVIE IN AN .AVI FILE FOR THIS TO WORK. (If you it in .MPG already don't download avi2vcd and skip step 1.)

Prerequistes


<--- Pictures would be nice. --->

  • Now that you have all of these open avi2vcd. Open your video under 'Source AVI file' and under "Target MPEG File" is where it will save, and just hit Encode. Wait for it to finish and then you’re done with this part.
  • Okay, now you have your movie in .MPG now open the neo axis folder. It should be something like 'C:\Program Files\NeoAxis Engine Non-Commercial SDK 0.541'.
  • Then go to SDK>Tools>ffmpeg2theora.
  • Now just drag your .mpg into ffmpeg2theora-0.17.exe and it should convert it to an ".ogg" file.
  • Now it’s an ".ogg" file, yay! Now move the ".ogg" file to 'C:\Program Files\NeoAxis Engine Non-Commercial SDK 0.541\Game\Bin\Data\Video' (You don't have to but I do to be organized.).
  • Now open the Resource Editor.
  • Now find a GUI to add it to or make your own.
  • Add a new control and as a template use the video one.
  • Add your video.
  • YOU'RE DONE! You may now test! If you want to set it to loop. This can be used for a lot of things.
  • Now, Have fun!

Thanks, Dootuz