I know you didn't ask me, but... I love emacs very very much. It is a worthy investment in time. Learning emacs lisp to make customizations has also been a very liberating experience.
You can do syntax highlighting. Auto completion is possible, but there aren't any ready-to-go methods for doing it with Actionscript right now, which is a bummer. I'm pretty sure it can handle utf-8, but I've never tried. I'm using emacs, not xemacs. I've posted my customizations here: http://blog.pettomato.com/?p=12 Some things I've added: - Pressing ctrl-t while the cursor is over a variable name will add a trace statement for that variable. (e.g. trace("somevar: " + somevar);) - Pressing F5 will add a trace statement for the current function signature. - Pressing F4 runs the cpp preprocessor, mtasc, posts the swf to a server, and then launches firefox at that address. - The command 'as-quick-compile' will generate enough code to launch the current file as a self-contained swf and run a static function named 'test.' Great for testing a single class while you write it! -austin Austin Haas Pet Tomato, Inc. http://www.pettomato.com Ralf Bokelberg wrote: > I'd really like emacs to give a try, since it is much more geeky than > eclipse, but i don't know how to start. Does it give you syntax > highlighting and auto completion? Is it able to edit utf8 files? Are you > using emacs or xemacs? Though i might be able to google the answers to > these questions, i'd like to here, what an experienced emacs user say. > > TIA, > r > > Lauri Hyvärinen wrote: > > >>Hi! >> >>I don't know if there's been some previous discussion on this list about >>making >>large Flash projects without Macromedia's tools. Well I'm glad to announce a >>Flash game I programmed with open source tools: >> >>http://hybrid.fi/xmas >> >>Game's AS2 classes are built with HAMTASC - a modified MTASC. ASSERT macro was >>the most important reason for me to use HAMTASC. Thus checking various >>important >>program states including the class invariants became feasible. >> >>The project has two separate SWF files. Most of the graphic assets are listed >>in >>an SWFML XML file that is compiled with swfmill into an SWF. The other SWF is >>compiled with HAMTASC from the AS2 classes. During compilation, swfmill >>dynamically links the SWF created from the SWFML file with the SWF >>created with HAMTASC. >> >>The whole build process is handled with Makefiles. I didn't use Eclipse and >>the >>related FAME tools, because I favor Emacs over Eclipse. >> >>I also had to write some Perl scripts to ease the development. One important >>Perl script was the png2cmask script that stripped the alpha channel off a PNG >>and traced it into an SWF file. The two main reason to do this were: >> >>1. PNGs have alpha channels, so visually they are great for creating game >>sprites and terrains. But in Flash image's alpha channel doesn't qualify as an >>empty area when doing hitTests. >> >>2. In most cases PNG isn't as efficient compressor as the lossy JPG is. But >>JPG >>doesn't have an alpha channel. >> >>So the SWF created with png2cmask was used as a clip mask and thus to define a >>collision map for the corresponding JPG. The JPG was the same picture as the >>original PNG without the alpha channel. All the terrain and the player >>sprite graphics are created using this technique. >> >>I've been thinking of writing a more detailed article about the whole >>development process, when I get some free time and if someone is interested to >>read it. The game has also several nice AS2 classes I might also be interested >>to discuss about. Including an XML parser that makes parsing XMLs a lot easier >>than by using the Flash's DOM API. >> >>Only non-standard AS2 class I didn't write by my self was the MD5 class >>(http://www.meychi.com/archive/000031.php) used to do some security stuff. >> >>Special thanks go to the MTASC author Nicolas Cannasse and swfmill author >>Daniel >>Fischer for providing such great FLOSS tools. The project had a zero policy >>for >>Flash IDE. >> >>Cheers, >>Lauri >> > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
