Reply to Re: YeOldeDink 0.91 Saving Private Dink
If you don't have an account, just leave the password field blank.
> For something that works in all engines, how does getting the absolute value of mx and my end up? It seems to be a stable non-fluctuating value that only changes when walking diagonally.
Works perfectly, nice find, I should have thought of that. Just gotta account for the diagonals.
The below works in every engine, I just made it into an external function for simplicity.
Works perfectly, nice find, I should have thought of that. Just gotta account for the diagonals.
The below works in every engine, I just made it into an external function for simplicity.
void get_dink_speed(void) { //get dink sp_speed equivelant int &get_dink_speed; &get_dink_speed = sp_mx(1, -1); if (&get_dink_speed == 0) { &get_dink_speed = sp_my(1, -1); } &get_dink_speed = math_abs(&get_dink_speed); if (&get_dink_speed == 2) { &get_dink_speed = 3; } if (&get_dink_speed == 4) { &get_dink_speed = 6; } if (&get_dink_speed == 8) { &get_dink_speed = 12; } return(&get_dink_speed); }