Commit graph

10 commits

Author SHA1 Message Date
b113f2ae23 Organize imports on screen.cc
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-23 17:35:24 +09:00
d7d1d4d7a0 Impl. "hacking" a "Walker"
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
The "hack" is to press a button in a time limit after clicking on a
Walker's head. If successful, the player can control the Walker. On
failure, nothing happens.
2023-08-23 16:37:26 +09:00
17aa7f6860 Fix StackScreen's draw
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-23 15:16:41 +09:00
f091bbf0fd Reverse order of draw in ScreenStack
Some checks failed
Build and Publish WASM version of demo / Build-And-Deploy (push) Failing after 6s
Draws should be in order from bottom to top.
2023-08-23 15:06:14 +09:00
ff03f30809 Minor refactoring
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
Prevent creating a screen-less PendingAction with invalid type.
2023-08-17 16:07:09 +09:00
89e19cf084 Impl. "construct screen" fn for Screen/ScreenStack
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 19s
Minor fix to push_screen() fn in ScreenStack.
2023-08-17 13:00:42 +09:00
1feefc5d9b Add ScreenStack::clear_screens() 2023-08-01 17:55:30 +09:00
a0dbf2b172 Emit warning: ScreenStack tries to pop when empty 2023-07-31 20:45:16 +09:00
7a4c8ea0f5 Defer ScreenStack actions to start of update 2023-07-31 20:39:46 +09:00
a617ef3fb6 Create "Screen" abstraction, "test" in TestScreen 2023-07-31 16:27:01 +09:00