alzor
September 2, 2004, 7:05pm
1
check it out here… .www.ikickedmydogintheface.bravehost.com/fpsnewest2.swf
Im going to make a wolfenstein type game with it Im very interested in it’s potential.
things I still have to work on:
-enemies and their intelligence
-arsenal of weapons
-strafing left and right
-health
-level design
-door and portal codes
does anyone know where I can get a full ascii 2 code chart or something like that so I can use number and letter keys?
system
September 3, 2004, 6:03pm
4
That game’s lookin’ good so far. I want to make a 3d thing, but I don’t know how. Anyway, as for the key codes:
[swf=“http://www.geocities.com/djorkon/KeyCode.swf ”]width=200 height=90[/swf]
Also, if you do:
if(Key.isDown(1)){
}
It will be like:
onClipEvent(mouseDown){
}
And keycode “2” is rightclick
system
September 4, 2004, 9:12am
6
bhjodokast:
We definitely need a good free 3-D engine for Flash.
We need functions; there is a good cube rotate function at:
http://www.active-web.cc/html/research/bin/txmapper.zip
Your sample looks Phong-shaded.
For a full 3-D engine, in addition to the rotateCube function, we would need stuff like,
Translate along X, Y, Z with a Cube
Translate along X, Y, Z with a Sphere
Etc
Then we can use ASCII maps of the whole level. I have an ASCII map of the first Wolfenstein-3D level if anyone needs it.
Frank Baumgartner has been a big help; he sent me these links:
The first is a great 3-D road sample with source code! I’m not sure if it’s ‘free’ but it takes care of translating along the X axis:
http://www.gotoandplay.it/_articles/2003/07/racing_engine.php
Also if you want to do the 3-D EXACTLY like Wolfenstein, you can download the code at:
http://www.flashkit.com/movies/3D/Engines/Flash_5_-Strille-6852/index.php
This is ray-casting, but we could test it with 600 vertical lines and see how it works! Let me know how it goes.