///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////
BMAP* city_bmp = "city.tga";
PANEL* my_panel =
{
pos_x = 100;
pos_y = 50;
bmap = city_bmp;
flags = SHOW;
}
function animate_screen()
{
ENTITY* amn_sprite= ent_createlayer("explo+13.tga",0,10);
var for_anm=0;
while(1)
{
amn_sprite.x=200;
amn_sprite.frame+=time_step;
amn_sprite.frame%=13; // from file name
wait(1);
}
}
function main()
{
video_mode =9;
animate_screen();
}
Play this this..
If needed I can include links to image city. explo+13 found in template folder.
amn_sprite.x = closer/farther bigger/smaller
amn_sprite.y = left/right screen
amn_sprite.z = up/down screen
http://www.conitec.net/beta/flags.htmflags can be set by amn_sprtite.flags2 |= SHOW; &=~SHOW;
Ignoring the anm_panel and instead creating amn view entities may be better. Also there are other ways I will have to play around with to know, such as, it is possible to create a whole 3d cut scene in a unviewed level area then render it to a on screen VIEW* or into a onscreen panel->bmap