[beta] BattleTanks - 3d shooter
hi there folks,
long time no post ... but i did promise a new demo for the 3d engine i posted last year ... here it is:
anyway,
i rewrote the whole thing (so i think it is about 2-5 times faster than the previous version).
i've added sprite support (for sprites with one direction and those with multiple directions)
cam and object moving using offsets ("obj1.move(dx,dy,dz, rx,ry,rz)") calculating the direction of the movement vectors (dx, dy, dz) first.
dynamic lighting (f***** slow) and backface culling.
polygons (settings per poly) can be excluded from culling, can be drawn filled, not filled (wireframe), with or without outline.
so you want to see it ?
BattleTanks
this is a demo for the main 3d engine. things working:
VERY basic hittest (don't expect too much), basic cam tracking :
the enemy tank moves towards the cam.
move your tank using the cursor keys, you can fire using the control key (but you can't hit something)
i personally like the way it looks using quallity="high", so i included 2 buttons (hi/lo) ... but hi is way too slow to be usefull.
damn, i forgot one thing: i've added the the "mario kart" floor, to create the sense of movement.
while working on the engine, i discovered the source of another 3d engine i wrote some time ago, so i decided to update this one, too (i don't know if i have posted this before).
it uses most of the objects written for the engine above (except the polygon object, which is replaced with an object that supports textures (vector/bmp)).
(and there is no perspective distortion :) )
one thing, thought, there is no realtime here (don't expect flash to scale, rotate and move some 30+ movieclips (for the wall tiles) and do all the math fast enough) ...
(although if you use just 10 faces or so, it should be fast enough)
ok, the link ist here:
Fake 3D, textured and tilebased
(use numpad's + and - to rotate, and numpad's 1 to p to jump to prediefined directions. the green buttons to the left move the cam (pretty useless))
sincerely <olli/>
ps: post your machine and fps, please ....