Second... i have been working a few days on a Canabalt "port" for the Genesis using the S1 engine (it has all the elements for the basic gameplay), and i finally got the running animation working using the tutorial here...
the problem is that yes, it works and all, but when i get into a slope, the game crashes with an ilegal instruction error of some sorts
here's the build i made for testing: http://www.mediafire...vqgw43duo9bup9n
and yes, while the original game has no slopes, i want to know what's wrong with the code, so help would be really appreciated
oh, and here's the animation script in case i screwed something up
SonAni_Walk: dc.b $FF, $58, $59, $5A, $5B, $5C, $5D, $5E, $5F, $60, $61, $62, $63, $64, $65, $66, $FF
SonAni_Run: dc.b $FF, $58, $59, $5A, $5B, $5C, $5D, $5E, $5F, $60, $61, $62, $63, $64, $65, $66, $FF
SonAni_Roll: dc.b $FE, $2E, $2F, $30, $31, $32, $FF, $FF
SonAni_Roll2: dc.b $FE, $2E, $2F, $32, $30, $31, $32, $FF
SonAni_Push: dc.b $FD, $45, $46, $47, $48, $FF, $FF, $FF
SonAni_Wait: dc.b $17, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 2, 2, 3, 4, $FE, 2, 0
SonAni_Balance: dc.b $1F, $3A, $3B, $FF
SonAni_LookUp: dc.b $3F, 5, $FF, 0
SonAni_Duck: dc.b $3F, $39, $FF, 0
SonAni_Warp1: dc.b $3F, $33, $FF, 0
SonAni_Warp2: dc.b $3F, $34, $FF, 0
SonAni_Warp3: dc.b $3F, $35, $FF, 0
SonAni_Warp4: dc.b $3F, $36, $FF, 0
SonAni_Stop: dc.b 7, $37, $38, $FF
SonAni_Float1: dc.b 7, $3C, $3F, $FF
SonAni_Float2: dc.b 7, $3C, $3D, $53, $3E, $54, $FF, 0
SonAni_Spring: dc.b $2F, $40, $FD, 0
SonAni_LZHang: dc.b 4, $41, $42, $FF
SonAni_Leap1: dc.b $F, $43, $43, $43, $FE, 1
SonAni_Leap2: dc.b $F, $43, $44, $FE, 1, 0
SonAni_Surf: dc.b $3F, $49, $FF, 0
SonAni_Bubble: dc.b $B, $56, $56, $A, $B, $FD, 0, 0
SonAni_Death1: dc.b $20, $4B, $FF, 0
SonAni_Drown: dc.b $2F, $4C, $FF, 0
SonAni_Death2: dc.b 3, $4D, $FF, 0
SonAni_Shrink: dc.b 3, $4E, $4F, $50, $51, $52, 0, $FE, 1, 0
SonAni_Hurt: dc.b 3, $55, $FF, 0
SonAni_LZSlide: dc.b 7, $55, $57, $FF
SonAni_Blank: dc.b $77, 0, $FD, 0
SonAni_Float3: dc.b 3, $3C, $3D, $53, $3E, $54, $FF, 0
SonAni_Float4: dc.b 3, $3C, $FD, 0
running and walking are the same, but i do not need different animations for it... so, did i messed something up with that file? is it due the animation, or other unknown reason



This topic is locked








