[SDL] SDL and Adobe's Alchemy (compile C to Flash ActionScript)
Mason Wheeler
masonwheeler at yahoo.com
Fri Nov 21 16:20:27 PST 2008
I haven't looked at it, but the first thing that comes to mind is that it wouldn't be nearly that simple, especially if you wanted to port SDL itself. ActionScript is an interpreted language that has to run in a VM. It's completely unsuitable for the sort of low-level, direct-hardware-access tasks that SDL deals with. You can't do that sort of stuff in anything but native code.
An alternative would be to have the VM have the ability to access external C libraries, which is pretty common these days. That might work, if the VM doesn't automatically set up its own canvas. If it did, it would certainly be incompatible with the SDL_Surface that SDL uses as a screen buffer. Anyone here know enough about the VM to provide more information on this issue?
>----- Original Message ----
>From: Bill Kendrick <nbs at sonic.net>
>Subject: [SDL] SDL and Adobe's Alchemy (compile C to Flash ActionScript)
>
>I am not interested in creating and maintaing a Java or Flash port of
>Tux Paint, but it seems that Alchemy could be used to port SDL and SDL-based
>games to Flash. So there's my solution! ;)
More information about the SDL
mailing list