Hi, Am Dienstag, 2. März 2004 10:48 schrieb Leopold Toetsch: > Jens Rieks <[EMAIL PROTECTED]> wrote: > > Hi leo, > > > > Here is the tetris example, include it if you want... > > I've now tested it a bit. Looks really good and works - mostly :) > - it tries to load SDL_Image, albeit this seems to be unused I will add support for textured blocks when the object orientated SDL interface is working.
> - some blocks are dropping down invisibly Which blocks? > - it doesn't recognize a "game over" situation Yep, to be done. A two player mode is also available, F1 starts a single, F2 a two player game. They are just two distinct boards with no interaction yet. > - some <q>uit key handling would be nice. escape or alt-f4. A former version also supported Q, but now W/S/A/D/LSHIFT is used as the second player's controls. I will change this too, as the right controls are for the left board at the moment, and wise versa. > Despite that its a great application and a very good example: > > # create the tetris app > app = _Tetris::App::new() > > # init the tetris app > ret = _Tetris::App::init( app ) > > This code looks darned good. Thanks a lot :-) Parrot's object support is not yet good enough to be able to convert the game to use ParrotObjects. The documentation is also not finished yet, the i386 JIT set_i_n bug took a lot of time (no block with the highest id occured when running JIT)... I acted on the assumption that the release will be one day later. > > jens > > leo jens