remove pallete swaps
Signed-off-by: Jessie Williams <quorawings@gmail.com>
This commit is contained in:
parent
884f0125bc
commit
4a7f139914
18
src/lib.rs
18
src/lib.rs
|
@ -84,7 +84,7 @@ impl Game {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn show_title(&mut self) {
|
pub fn show_title(&mut self) {
|
||||||
wasm4::text("akesi", 48, 8);
|
wasm4::text("akesi", 56, 8);
|
||||||
wasm4::text("Press x", 48, 128);
|
wasm4::text("Press x", 48, 128);
|
||||||
wasm4::text("From Within", 32, 144);
|
wasm4::text("From Within", 32, 144);
|
||||||
|
|
||||||
|
@ -107,22 +107,6 @@ impl Game {
|
||||||
self.reset();
|
self.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
if just_pressed & wasm4::BUTTON_UP != 0 {
|
|
||||||
palette::en4();
|
|
||||||
}
|
|
||||||
|
|
||||||
if just_pressed & wasm4::BUTTON_DOWN != 0 {
|
|
||||||
palette::moonlight();
|
|
||||||
}
|
|
||||||
|
|
||||||
if just_pressed & wasm4::BUTTON_LEFT != 0 {
|
|
||||||
palette::cafe_nouveau();
|
|
||||||
}
|
|
||||||
|
|
||||||
if just_pressed & wasm4::BUTTON_RIGHT != 0 {
|
|
||||||
palette::amanita();
|
|
||||||
}
|
|
||||||
|
|
||||||
self.prev_gamepad = gamepad;
|
self.prev_gamepad = gamepad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue