improve inputs
This commit is contained in:
parent
cdfb1188ee
commit
e6133baedf
@ -64,6 +64,7 @@ impl Machine {
|
|||||||
|
|
||||||
fn demo_pos(&self) -> (i32, i32) {
|
fn demo_pos(&self) -> (i32, i32) {
|
||||||
let t = (self.frame_index % 280) as i32;
|
let t = (self.frame_index % 280) as i32;
|
||||||
(20 + t, 80)
|
let z = (self.pad.a.hold_frames % 140) as i32;
|
||||||
|
(20 + t, 80 + z)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user