I am currently using the standard Kernel with the standard pfrowheight setting. My player sprite is 11 pixels high and 8 pixels wide.
I use the BB playfield collision example, modified for my game.
temp6 = (player0y-12)/8 temp5 = (player0x-10)/4 if temp5 < 34 then if pfread(temp5,temp6) then goto __skipJoy0Up temp4 = (player0x-16)/4 if temp4 < 34 then if pfread(temp4,temp6) then goto __skipJoy0Up temp3 = temp5 - 1 if temp3 < 34 then if pfread(temp3,temp6) then goto __skipJoy0Up if f = ((f / 2) * 2) then player0y = player0y - 1
This works perfectly.
However, when I change pfrowheight to be 7, this obviously then does not work the same, and i cant get it to. Any light on the replacement calculations i need to use... eg player0y + x / y etc for left, right up and down?