It is when I found this game I began to believe how useful adobe alchemy will be.
Finally, the classical doom was ported into flash player as an playable game!
Thanks to adobe alchemy and Mike(http://mike.newgrounds.com/), who made it and shared the source!
I am not an expert on doom , alchemy or even flash but I feel glad to share what I know about this project with those who like doom and flash.
This simple tutorial is the first step to build your doom in flash using Mike’s source, hope it can help.
PART 1 - COMPILE THE SOURCE
1. get the souce code
(1) simplely download this packge:
(include Mike’s source(mybe outdated, try (2) to get the latest source) and my flashdevelop project file,
just open "my doom project.as3proj"(alchemy_linuxdoom-1.10\my doom project\.) and build it you will get the "doom.swf"(\bin\.).
no pre-loader in this package, if you want that, go to the project home or make your own.)
1.download this sofeware Git-1.6.4-preview20090730.exe from
install and run "Git bash":
git clone git://github.com/Herschel/flash-doom.git
when done go to
"C:\Documents and Settings\user\flash-doom" and find your source.
you can also download raw file directly one by one
-click raw on the right of the title)
2. install alchemy
follow the instructions:
P.S. you should install "make(Devel ) packages" when installing Cygwin.
3. compile the source code
Download the source files and copy them to D:\alchemy\(supposed you install alchemy into this folder)
Run Cygwin go to the alchemy_linuxdoom-1.10 folder and compile the source:
cd D:
cd alchemy/alchemy_linuxdoom-1.10)
source /cygdrive/d/alchemy/alchemy-setup
alc-on
make
It will take some time to finish compiling all c source files into a swc.
When you see this:
You can find lots of .o file in your swc folder, compilation is almost done,
it will now pause for a while, and then build all .o file into a swc:
When it is done, go to "swc" folder and copy the generated "doom.swc" to your project folder.
4.create your flashdevelop project
Create an flashdevelop project:
Copy "DoomGame.as" into "D:\alchemy\alchemy_linuxdoom-1.10\my build\src"
and "doom1.wad" into "D:\alchemy\alchemy_linuxdoom-1.10\my build\lib"
add the swc asset:
DoomGame.as - (right click) always compile
Properties - Output - platform target - flash player 10
Build your project now!
Finally find your "doom.swf" in bin folder
and Run it, Press space key - new game...
PART 2 - CREATE YOUR FLASH FPS GAME POWERED BY ALCHEMY DOOM ENGINE
1.create/add new levels – doom builder
Doom Builder.exe-file-open map/new map-"doom1.wad"
Game Configuration-Doom
Add resourc-From WAD File-doom1.wad–ok
Now you need to learn how to use this software to make new levels by yourself.
When done:File-save map into-choose your wad.
2.make total conversations - XWE
Xwe.exe-file open-"doom1.wad"
Play with this powerful editor, you can create a totally different game!
Don't forget to replace the original "doom1.wad" with the new edited one when rebuilt your game!
Links:
1.some doom ports:
http://www.doomworld.com/classicdoom/ports/2.the doom game:
http://www.idsoftware.com/games/doom/doom-final/
3.doomonline-A port of Doom for Flash by Max Herkender:
http://code.google.com/p/doomedonline/
http://blog.brokenfunction.com/2007/07/20/flash-plays-doom/
4.Ryan A. Chilton’s Flash doom & quake:
http://esl.eng.ohio-state.edu/~rac/hobby.html5.doom 2d flash:
http://www.codinsoft.de/doom2d.html6.game-Doom Triple Pack (Doom, Heretic, and Hexen):
http://www.newgrounds.com/portal/view/4704607.doom in java applet:
Any question or problem please feel free to drop your comment!
You really need to point out how to add a preloader. It seems simple, but typical methods don't work. Mike said the hardest part of porting DOOM to Flash was adding the preloader, and after hours of fruitless frustration I believe him.
ReplyDelete