Commit graph

88 commits

Author SHA1 Message Date
dd678f12ba Split off code into 3d_helpers function
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 22s
2023-08-24 17:04:51 +09:00
310fa33b01 Rework electricity effect (again)
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 22s
2023-08-24 16:55:43 +09:00
8e8a8b0684 Tweaks to electricity "line" generation
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 22s
2023-08-24 16:10:22 +09:00
ff45edbece Cleanup ElectricityEffect class
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 23s
2023-08-24 16:01:43 +09:00
8b44a59317 Refactor WalkerHackScreen, close on success
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 22s
2023-08-24 15:55:27 +09:00
bfa1e31305 Rework electricity effect "line" generation
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 23s
2023-08-24 15:49:22 +09:00
d7351f9e3b Fix tweak for electricity effect
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 23s
2023-08-24 15:09:59 +09:00
fb7514139f Tweaks to WalkerHackScreen
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 22s
2023-08-24 15:02:46 +09:00
b18728c684 Minor tweak to electricity effect 2023-08-24 14:58:00 +09:00
6a0c4d6f37 Add "electricity" effect when "hacking" a walker
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 23s
2023-08-24 13:53:57 +09:00
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
9e40d9214d Remove unnecessary include
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-23 16:41:42 +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
9a99e8f264 Draw lines around buttons
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-22 11:57:09 +09:00
03a2ba7256 Refactor drawing 2023-08-22 11:53:06 +09:00
71ab2f7b35 Minor fix when generating surface_triangles
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-21 15:53:10 +09:00
24c3ade5ee Cleanup surface_triangles when done resetting
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-21 15:17:41 +09:00
ca5afe14c3 Fix warning
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-21 15:11:23 +09:00
1b4e30be11 Allocate SurfaceTriangles on the heap (fix wasm)
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-21 15:07:03 +09:00
d8b81f29cc Impl. resetting surface with neat visual effect
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 21s
2023-08-21 14:37:50 +09:00
530920c811 Allow resizable window in native build 2023-08-21 12:58:52 +09:00
e24b600723 Separate surface generation code into function
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 20s
2023-08-21 11:41:04 +09:00
b0e898fb17 Only activate gitea action on push to 'main'
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 20s
2023-08-20 17:29:48 +09:00
596912617f Minor fixes
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 19s
2023-08-18 15:50:37 +09:00
b885b869cb Refactor wasm_build/Makefile
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 19s
2023-08-18 15:23:50 +09:00
1e38e735b0 Reduce verbosity of wasm_build/Makefile build
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 19s
2023-08-18 15:19:38 +09:00
2367b57294 wasm_build/Makefile: build objects seperately
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 19s
2023-08-18 15:13:47 +09:00
d4188f29b1 Use -Og instead of -O0 in Debug builds
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-18 14:51:53 +09:00
96bf4c30e5 Inhibit some clang-tidy warnings
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-18 14:46:33 +09:00
d4850f99bb Minor fixes to 3d_helpers.cc
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-18 13:27:49 +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
11c7dec3ed Walkers' bounding box now visible unselected
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-15 19:21:43 +09:00
8a32f1e2e5 Fix stuck in walker control
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-15 15:48:51 +09:00
623308cd67 Minor refactorings
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-15 15:44:11 +09:00
761c5c462c Minor fixes
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-15 14:56:58 +09:00
e1c82e0354 Fix movement range, height of body over surface
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
Fixes related to controlling a walker.
2023-08-15 12:17:54 +09:00
5008dd2067 Impl. controlling a walker
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 18s
2023-08-15 11:53:26 +09:00
64c5bcd1bc Refactorings, cleanup
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-11 19:31:03 +09:00
d2d0f8373c Minor fix
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 18s
2023-08-11 15:48:16 +09:00
fcd6deb435 Minor refactoring
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-11 14:24:34 +09:00
b0d50c6589 Minor refactorings
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-11 14:20:35 +09:00
46e7bcd595 Refactor y-pos calc. on Walker move (again)
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 18s
2023-08-11 13:42:20 +09:00
25b7dacb08 Refactor y-pos caluclation when Walker moves
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-11 13:37:47 +09:00
12bbfe9484 Impl. roaming walkers
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 20s
2023-08-11 12:38:55 +09:00
270de09894 Impl. walker bobbing head on idle 2023-08-11 12:14:48 +09:00
0611be13f2 Update Makefile
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s
.SECONDEXPANSION is not necessary.
2023-08-10 16:34:27 +09:00
7afeb98288 Update README.md
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-10 16:29:30 +09:00