The Camera and Keen

Completed patches for Keen4.
Post Reply
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

The Camera and Keen

Post by XkyRauh »

Here's a patch that locks Keen's position relative to the camera:

Code: Select all

%patch $8715 $00 $00 #default $00 $09 = 0900 = 144(x16)
%patch $8732 $00 $00 #default $00 $0C = 0C00 = 192(x16)
Ordinarily, Keen is able to edge his way left and right in the center of the screen without causing it to scroll--only after getting a certain distance from the left/right edge does the camera actually move. These patches change that distance. Play with it a bit, maybe you can get it centered better.

Currently the patch "locks" Keen at about 65-35 left-to-right onscreen, which wasn't my intention, but I don't have the time to tweak it right now. I'll work on it another time, but I'm sure someone else can toy with it in the meantime. :)

Ironically enough, this patch was spurred by a request in the Vorticons forum, and silly Xky didn't check which subforum he was in. :(
Post Reply