Ok now that the Game is developed it has to be posted to the market.
Great !!! Wait .. now wouldnt it be interseting if I could capture the Video of the game
during play.....it would be great for marketing right!!! but how...
Now I know it is quite possible as everytime a new Bitmap is created in onDrawFrame
or to be more specific frame...
So what I want is to somehow save each frame in image format
and then later on compile all these images into a single video file
Something like :
onDrawFrame(fb)
{
fb.clear(RGBCOLOR);
world.renderscene(fb);
world.draw(fb);
fb.display();
world.savecurrentframeimageBMP(OUTPUTSTREAM);
}
Can anybody tell how it can be made possible...
Something like taking ScreenShots....
Now that I think of it this technique can also be applied for making animated movies.
Eg : In the game music ride 2 posted in Projects (JPCT) there is video of game being played in realtime .