9e40d9214d
Remove unnecessary include
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"
...
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
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
...
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
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
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
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
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)
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
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
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 20s
2023-08-21 11:41:04 +09:00
596912617f
Minor fixes
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 19s
2023-08-18 15:50:37 +09:00
96bf4c30e5
Inhibit some clang-tidy warnings
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
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
...
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
...
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
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
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
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
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
...
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
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
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
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
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
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)
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
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
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
532654dee0
Impl. rotation for Walker
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-10 15:54:45 +09:00
e64f69695c
Minor fixes/tweaks
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-10 13:43:22 +09:00
0c23c593c0
Impl. walker thing
...
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
Probably requires some more tweaking to get it working properly. Also
need to create a model/texture for the walker.
2023-08-10 13:28:45 +09:00
f9c83ec4e9
Minor fix
2023-08-10 11:00:03 +09:00
3619d5863a
Minor fixes/tweaks
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-09 14:23:55 +09:00
7484e710e7
Fix missing "break" in collision success
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-09 14:08:59 +09:00
ba241417a2
Use Raylib's Ray/Triangle collision fn
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-09 14:00:54 +09:00
7f73388943
Refactorings
...
Use bounding boxes for collision checks, and only check collision
against triangles when bounding box collides.
Use const where applicable.
2023-08-09 13:54:56 +09:00
cab92d140b
Clamp dt: mitigate weird regain focus behavior
2023-08-09 13:39:43 +09:00
cbcf0da5ce
Refactor duplicate code into lambda fn
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-09 13:26:15 +09:00
2dc30ce252
Change camera behavior to follow click/touch
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-09 12:38:09 +09:00
0467c945b5
Refactor duplicate code into function
2023-08-09 12:22:33 +09:00
6580049978
Impl. click/touch collision with environment
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s
2023-08-08 12:20:26 +09:00
4a5b3073c3
Impl. randomized environment
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s
2023-08-08 11:33:07 +09:00
0d36747031
Add helper fn to calc. ray/plane intersection
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 14s
2023-08-07 21:39:59 +09:00
4fd9ce3b33
Implement click/touch ray-tracing onto surface
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s
2023-08-07 14:11:58 +09:00
fe59f09af5
Begin work on environment
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-07 12:54:23 +09:00
8bc8bdf0c5
Test using a textured cube
2023-08-04 14:32:05 +09:00