Archive for the 'Tutorial' Category
Pseudo 3D using 2D Sprites
3D graphics are a major challenge, especially when you’re working on something by yourself. I’ve put together some working code of a pseudo 3D scene using only 2D sprites. The secret is using a transformation function which can translate the sprites 3D coordinates into a 2D location.
The basic principle behind this idea is [...]
Posted on April 9, 2008 Filed Under Tutorial | 1 Comment
Converting Video to Flash (.flv)
Creating a video that can be played in a Flash applet can easily be done using the software ffmpeg
To convert a video, just type
ffmpeg -i input.avi output.avi
This is the simplest way to do it, but the defaults are not always ideal.
To change the bitrate at which the audio is encoded, pass the -ab number to [...]
Posted on November 9, 2007 Filed Under Tutorial | Leave a Comment
