psp port
BlitzMax Forums/BlitzMax Programming/psp port
| ||
Im kind of curius to know if it's possible to make games with blitz3d to play on the psp, I don't really care about distribution, only for personal use. Ive seen alot of cool thing's bieng done on the web, using the psp memory stick to run program's off of. |
| ||
No Windows executables don't run on it, nor does it have any knowledge of what DX7 is. *and next time, first read then post and you will see that you are in the wrong board* |
| ||
Porting from Blitz to PSP LuaPlayer is actually fairly trivial, I've done a couple of ports that way. The graphics APIs are very similar. I even wrote an include file in Lua that just mapped most of the Blitz command set over. |
| ||
Care to share, Raph? :) |
| ||
Hmm, I can't seem to find it. But it was fairly straightforward -- most of the LuaPlayer API for 2d graphics is very similar, so you just need to map stuff like and so on. There's still wrinkles here and there, but it minimizes the worst, which is literally just swapping all the damn parameter orders around. :) The other wrinkle is the fact that the draw commands in Lua take a color parameter which is defined in advance, as in the DrawText() example above. You can code around that in your include file, or just port around it. Of course, LuaPlayer doesn't support alphablend (just masking) last I saw, and there's other functionality it won't support, so I wouldn't try porting Indiepath's modules or anything. |