Herschel / flash-doom

a port of Linux Doom 1.10 to Flash using Adobe Alchemy

This URL has Read+Write access

Herschel (author)
Thu Dec 04 04:39:12 -0800 2008
commit  7fa25473c3285d3258d27818ec06d1ebc2fb87ed
tree    d697afa193269482a49ead150cb8a3a691bf4eea
parent  40c362f0062464e155854050e2e4124472506b87
flash-doom / readme.txt
100644 38 lines (30 sloc) 2.018 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-----------------------------------------------------------------------------
  FlashDoom
 
  based on Linux DOOM 1.10
  Copyright (C) 1999 by
  id Software
 
  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.
 
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.
 
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  02111-1307, USA.
-----------------------------------------------------------------------------
 
  
Requires the Adobe Alchemy Toolkit preview.
Specifically, the ALCHEMY_HOME variable should point to your Alchemy directory.
 
A simple port of LinuxDoom to ActionScript bytecode via Alchemy,
with hooks in place to pass the frame and sound buffers to Flash.
 
TODO:
- Instead of reading the _ram ByteArray in the AS and setting the BitmapData there, would it be better to instead pass the BitmapData into C and use the AS3_ByteArray functions to draw the frame buffer? Should avoid the allocation of the gameScreen array.
- Similarly for sound
- Configurable controls, some sort of mouse control
- Try turning singletics back off? Properly implement I_GetTime using getTimer (or does Alchemy's time.h already do this?)
- Seems to be some slight input lag -- is it related to my stupid implementation of I_GetTime, or is it just the Flash lagging in general, or is everything fine? I've looked through the game code and haven't found anything yet.
- Implementing music, using Timidity or some other software synthesizer
- Switch to prBoom or some other more advanced source port