|
-
383,890,620 polygons
[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 ....
Last edited by nGFX; 01-13-2004 at 03:24 AM.
-
.: Weirded Out :.
for some reason its not loading properly. It stops at around 127 kb...
-
Hype over content...
That's just getting better and better babe!
Wow, this is a constructive post fps is a little bit more than your laptop @ 13 fps 
Squize.
-
383,890,620 polygons
@The_Xell:
try a reload, seems to work for me ... if it still hangs, i'll upload it to another domain
[edit] ... it seems that i know why it hangs at ~127k: it seems to be the place when flash loads the ground bmp (1024*1024) jpg and uncompresses it to memory.
@Squize:
thanx, i should make a 160*120 px version ... should run better then
Last edited by nGFX; 01-12-2004 at 03:29 PM.
-
hi ngfx:
i am getting 25-30 fps..
my cpu - amd 900
well done mate..
i will have a good look later..
steve
-
Yes we can
-
Phantom Flasher...
30fps on my amd 2.8ghz - nice Can you distroy the other tank at all?
-
Untitled-1.fla
Very nice indeed. ~22 fps on my 1.4 GHz AMD, 512Mb ram, latest flash plugin and Internet Explorer 6.
-
Senior Member
thats AMAZING mate!
i get about 29 fps constantly running it at high resolution, 2800+ AMD, 512 DDR, and too many applications running!
how did you make the second engine???
P.S.you've posted it before
-
Very nice engine, how many MC's does the fake 3d ground use?
-
383,890,620 polygons
...
mr_shotgun_2000:
~mhm, short explanation: just some skewed MCs ...
not so short : it uses the same method as the rotating textured cube mentioned in the other (great) 3d engine thread (started by Q-Rious) and i think i've seen the fla in the movie section ...
(more to come, if there is some interest, i can try to explain it in more detail)
Q-Rious:
i think you mean the one used in the BattleTanks demo?
35, distance scaled.
for the fake 3d : just one.
thx again, <olli/>
Last edited by nGFX; 01-13-2004 at 05:34 PM.
-
Senior Member
I'm all for the explanation mate!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|