Shadebobs by Power Crisis International
3 of 6 files
power crisis international
-
This download is an executable MS-DOS program that will not run on a modern computer.
It needs a DOS emulator such as DOSBox-X, Staging;
or a virtualized MS-DOS or FreeDOS system.
Browsers may flag this download as unwanted or malicious. If unsure, scan it with VirusTotal. -
Last modified Oct 11, 2019 7:30:57 PM
MD5 checksum 9c7986bd4f577fee80fbf3587e1eba54
Mime type
Download shadebobs.zip
Size 4 kB
1993 July
3 items in the archive
- BOBS.ASM
- BOBS.COM
- BOBS.TXT
;-------------
; Shadebobs
;-------------
In "Unreal", "Amnesia", "Delusion" and others there is a sort of shadebob
technique that is used. This technique is pretty simple, any demo maker
knows much slicker routines than this one, but this will give everyone else
some ideas on how it's done.
What you do is move a set of X and Y coordinates around as you please. These
represent the upper left corner of the bob. Then, you call a subroutine to
draw the bob. The easiest way to explain this is a BASIC code chunk.
DEF SEG = &HA000
FOR BX = X TO X+SHADEBOBSIZE
FOR BY = Y TO Y+SHADEBOBSIZE
POKE (Y*320+X),PEEK(Y*320+X)+4
NEXT BY
NEXT BX
This is obviously going to be VERY slow... but with a little work, you can
crank it out in ASM and even this algorithm (which is the one I used) can move
at a decent speed.