Zargaloids-trick

new topic     » topic index » view thread      » older message » newer message

Robert Craig said Zargaloids use a special 'shrouding' trick...
        Well me too noticed that when it is in dos-box(win95) it actually
switches program.... normally the name of the program is there but
now it is there for a sec (if i start it with mo'slo a slowdown
program with no real use offcourse) then it changes to qrxv. So
zarg.exe loads qrxv in to memory, it could be that his 'compiled
sprites' (some1 said he uses his own special compiled sprites, no to
be confused with my compiled sprites) are machince code routines or
whatever.... the only thing i know is that it thus isn't 100%
euphoria anymore, it must be the trick he uses for the speed.

        In my nextr version of GFX, i also will have some general purpose
routines machine_code routines, they are already in development (not
by, i dunno ASM, but by some1 else)
        With them even SVGA should be possible at a resonable speed, i will
also use more than one see-through method, the one now used isn't
that great for all sprites (HINT: Don't have too many gaps in them
horizontally)
        I will then brake a sprite up and use the method that is fastest
for that particullary piece. (So i'll add masking and clearing
methods) With the option of compiling it in favor of stretching, that
is you could superbly fast scale them vertically and horizontally.
Wich method to choose is tested in real time, when you change the
video mode or/and compile a sprite, some tests will be done.
        I will also have an inbuilt palette manager... a manager that
searches for the closest color or adjusts the palette if there are
too many different colors needed!!(WIth the option to lock some
colors and a priority list)
        And for the colors problem i will also add a dithering option in
the compile sprite routine.

        But now, i am writing routines to replace the basic puts, open,
close, seek and add put_bit, put_bits, put_seq.
        WIth this binairy method i am using you could write a BIT (boolean)
and then a char. Actually you have written a char composed of a
boolean and the first seven bits of the other char and you still have
one bit in a buffer which is written out with the next write or
whenever you close the file/device.
        I actually don't even bother with the bit to char convert functions,
i use a look-up table for each bit position in a byte, for the speed.
        WIth this EDOM 2 will be created... so you can all save & load whole
sequences with structure QUICK and with GOOD COMPRESSION. I have
several docs on compression, (some of a few great Euphoria sites) and
i will DESIGN a new method that could be done the fastest in
EUPHORIA. (Fastest method in C is almost never the fastest method in
Euphoria, so time checking and brain stoming will be my task..)

        Yeah, i know it was long, but you can always filter this little brat
out if you use a descent mail program. Just don't complain.. that's
even worse than my long mails.

Ralf Nieuwenhuijsen
nieuwen at xs4all.nl

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu