09-09-2002, 05:56 PM
Heh it is really weird. I had an editor which placed the cursor in the middle of the screen and opened a file for output. You could be in drawing mode or moving mode. You could move in 8 directions using the keys Q W E D C X Z A. When you pressed the numbers or shift+number you could choose a colour.
It worked this way: If you pressed "A" (LEFT), a "L1" was added to the file. If you pressed "E" (UP RIGHT), a "E1" was added to your file. If you pressed "SHIFT+6" (LIGHT YELLOW), a "C14" was added to your file. If you were in drawing mode, the strings were written without alter, but if you were in moving mode a "B" was put before the commands.
Then, in your game, you opened the file and loaded its contents to a variable, say o$. Everytime you wanted to draw a sprite, you PRESET to the position and called a DRAW o$.
It is the weirdest way to draw a sprite that I've seen... Still looking for the code.
Anyhow, now that we are on this topic: Let's write the weirdest PUT (bitmaps) replacement! I'll post mine (explained above) when I find it, or maybe when I recode it.
It worked this way: If you pressed "A" (LEFT), a "L1" was added to the file. If you pressed "E" (UP RIGHT), a "E1" was added to your file. If you pressed "SHIFT+6" (LIGHT YELLOW), a "C14" was added to your file. If you were in drawing mode, the strings were written without alter, but if you were in moving mode a "B" was put before the commands.
Then, in your game, you opened the file and loaded its contents to a variable, say o$. Everytime you wanted to draw a sprite, you PRESET to the position and called a DRAW o$.
It is the weirdest way to draw a sprite that I've seen... Still looking for the code.
Anyhow, now that we are on this topic: Let's write the weirdest PUT (bitmaps) replacement! I'll post mine (explained above) when I find it, or maybe when I recode it.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i