PDA

View Full Version : A new generation of flash Mode7(prerelease demo with as3.0 source)



Bruce Jawn
September 1st, 2008, 02:56 AM
Z-Ground is the ‘level editor’ of F.L.A.S.W.F (http://www.kirupa.com/forum/http//www.geocities.com/zhoubu1988/index.htm). It is used to set up and display objects in a fake 3D space.
The main technology is 3D slice engine.
Actually, it will become a further development of old flash mode-7 and z-mapping engine.
But it still has lots of limitations; you can't look freely at any angle but at some static angles.
I decided to lock X-axis, you can't look up or down, otherwise, it's will be more complicated to deal with objects on the ground-
they must have more transformations. (But it's easy if you want to look up or down, some small change of original code will do)
This time I release this demo just to show you the core code to map the ground texture, create the sky, and calculate and update the position of objects.
Not much optimization there, so it's very slow.
Don’t worry; the further demo I will release will be much better and the code structure may be very different.
There will be real time shadows, physics, water, walls, ceilings terrain and more!
DEMO:http://flaswf.googlecode.com/files/zground_prerelease_demo.swf
SOURCE:http://flaswf.googlecode.com/files/zground_prerelease_demo_package_oldslowversion.rar
(http://code.google.com/p/flaswf/downloads/list)
Original core code by André Michelle:
http://www.gotoandplay.it/_articles/2003/07/3dmapping.php
http://bp1.blogger.com/_VM_xh6rvt_I/SIic6kAJNWI/AAAAAAAAADA/U-u7Ecl7buw/s200/stalker_flash_3.JPG
http://bp0.blogger.com/_VM_xh6rvt_I/SIicdyWLrQI/AAAAAAAAACw/k5v1zZ9clxg/s200/stalker_flash_1.JPG

saxx
September 1st, 2008, 03:03 AM
i get an error in the .swf itself 'url not found'

Dom_
September 1st, 2008, 03:31 AM
I get the same error

Bruce Jawn
September 1st, 2008, 11:34 AM
i get an error in the .swf itself 'url not found'
Thanks for reporting!
I just fixed that error. Now you can re-download the demo file.
The file flashplayer can't find is in the source package(zground...oldslowversion.rar (http://flaswf.googlecode.com/files/zground_prerelease_demo_package_oldslowversion.rar ))
Or you can rebuilt the demo using *.fla in the package.