mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Should by y_tri
This commit is contained in:
parent
9c99f25a56
commit
e24ef69e0f
|
@ -39,7 +39,7 @@ loop {
|
|||
// x_tri and y_tri describe with -1, 0 and 1 which way the d-pad
|
||||
// buttons are being pressed
|
||||
x_velocity = input.x_tri() as i32;
|
||||
y_velocity = input.y_try() as i32;
|
||||
y_velocity = input.y_tri() as i32;
|
||||
|
||||
ball.set_x(ball_x as u16).set_y(ball_y as u16);
|
||||
|
||||
|
|
Loading…
Reference in a new issue