Completed patches for Keen1.
lemm
Posts: 554 Joined: Sun Jul 05, 2009 12:32 pm
Post
by lemm » Thu Mar 11, 2010 10:29 am
This patch makes your levels automatically scroll rightwards in the x direction, until they can scroll no more. Keen is pushed along if he comes in contact with the left screen edge. He is killed if trapped in between the edge and a tile with a blocking left edge. The default scrolling speed is around 1/2 of keen's walk speed. If you wish to change that, modify the last three patches.
Code: Select all
%ext ck1
%version 1.31
#set right x boundary to tile 22
%patch $800 $B8 $16 $00
#add boundary checking to pogo grond
%patch $40E7 $E8 $7B $F2
#update keen movement boundaries
%patch $3368 $66 $A1 $2C $82 $66 $3B $06 $4A
$56 $7F $21 $C7 $06 $3C $82 $10 $02 $C7 $06 $40 $82 $40 $00 $E8
$15 $F9 $A9 $04 $00 $74 $3E $33 $C0 $A3 $40 $82 $A3 $42 $82 $E8
$1A $0F $EB $31 $66 $A1 $34 $82 $66 $3B $06 $AC $5D $7C $26 $C7
$06 $3C $82 $A0 $FF $66 $A1 $AC $5D $66 $A3 $34 $82 $EB $16
#auto screen scroll
%patch $3458 $66 $A1 $D0 $6E $66 $3B $06 $BE
$7F $7D $15 $66 $B8 $00 $02 $00 $00 $66 $01 $06 $D0 $6E $66 $01
$06 $4A $56 $66 $01 $06 $AC $5D $EB $78
#scroll speed
%patch $3465 $00 $02 $00 $00
#keen right screenedge pushback (256ths pixel)
%patch $33A3 $A0 $FF
#keen left screenedge pushback (256ths pixel)
%patch $3377 $10 $02
#keen left screenedge velocity reset
%patch $337D $40 $00
%end
Last edited by
lemm on Thu Mar 11, 2010 1:11 pm, edited 1 time in total.
Tulip
Posts: 394 Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:
Post
by Tulip » Thu Mar 11, 2010 10:53 am
Hahaa, awesome, makes way for new Mario style levels!
shikadi
Posts: 147 Joined: Fri Feb 08, 2008 9:11 pm
Location: belgium
Post
by shikadi » Thu Mar 11, 2010 5:56 pm
seems like an awesome thing to build around.
Kdash
Posts: 405 Joined: Sat Feb 26, 2005 5:45 pm
Post
by Kdash » Fri Mar 12, 2010 3:34 am
Is it possible to only use it in some levels?
lemm
Posts: 554 Joined: Sun Jul 05, 2009 12:32 pm
Post
by lemm » Fri Mar 12, 2010 5:14 am
genius314 wrote: Is it possible to only use it in some levels?
No. Also, a related version which adds a breeze to keen's movement.
Code: Select all
%ext ck1
%version 1.31
%patch $1259 $E8 $F896W
%end
#set right x boundary to tile 22
%patch $800 $B8 $16 $00
#add boundary checking to pogo ground
%patch $40E7 $E8 $7B $F2
#update keen movement boundaries
%patch $3367 $00 $66 $A1 $2C $82 $66 $3B $06 $4A
$56 $7F $21 $C7 $06 $3C $82 $10 $02 $C7 $06 $40 $82 $30 $00 $E8
$15 $F9 $A9 $04 $00 $74 $0D $33 $C0 $A3 $40 $82 $A3 $42 $82 $E8
$1A $0F $EB $31 $66 $A1 $34 $82 $66 $3B $06 $AC $5D $7C $26 $C7
$06 $3C $82 $A0 $FF $66 $A1 $AC $5D $66 $A3 $34 $82 $EB $16
#auto screen scroll
%patch $3458 $66 $A1 $D0 $6E $66 $3B $06 $BE
$7F $7D $15 $66 $B8 $00 $02 $00 $00 $66 $01 $06 $D0 $6E $66 $01
$06 $4A $56 $66 $01 $06 $AC $5D $1E $68 $20 $82 $1E $68 $DA $6E
$B9 $36 $00 $E8 $15 $AE $C7 $06 $3C $82 $00 $02 $E8 $08 $F8 $A9
$04 $00 $74 $06 $C7 $06 $3C $82 $00 $FE $A1 $3C $82 $66 $98 $66
$01 $06 $24 $82 $E8 $94 $F5 $66 $A1 $2C $82 $66 $05 $80 $00 $00
$00 $66 $3B $06 $D0 $6E $7D $0B $33 $C0 $A3 $40 $82 $A3 $42 $82
$E8 $E9 $0D $1E $68 $DA $6E $1E $68 $20 $82 $B9 $36 $00 $E8 $CA
$AD $EB $1F
%end
KeenRush
Patch Maker
Posts: 1988 Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:
Post
by KeenRush » Fri Apr 23, 2010 3:24 pm
You're a machine, lemm. Damn, this is too cool not to be used, I have to do something with this.
levellass
Posts: 3001 Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand
Post
by levellass » Sat Apr 24, 2010 11:18 am
You're a machine, lemm.
WHO TOLD YOU- Oh. You were kidding. Right. :p
Can we have no scrolling, but still the wrap-around level effect?
lemm
Posts: 554 Joined: Sun Jul 05, 2009 12:32 pm
Post
by lemm » Sat Apr 24, 2010 9:38 pm
probably...
Stealthy71088
Posts: 583 Joined: Thu Mar 17, 2005 11:54 pm
Location: NY
Post
by Stealthy71088 » Wed Jun 16, 2010 11:29 pm
I'm been trying to simulate a believable wraparound effect for a long time with teleporters.
This patch--- Levellord helped me turn some elevators into a group of enemies that would chase keen through a level similarly to this. It was a very messy business, and created a number of problems, but I loved the effect.
Paramultart
Posts: 86 Joined: Sun Jul 11, 2010 2:19 pm
Contact:
Post
by Paramultart » Wed Aug 18, 2010 3:31 am
Oh wow... I will be certainly utilizing this patch in my next mod project.
Has anyone made a mod with this patch yet?