Commit graph

19 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
0c23c593c0 Impl. walker thing
All checks were successful
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
3619d5863a Minor fixes/tweaks
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 16s
2023-08-09 14:23:55 +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
2dc30ce252 Change camera behavior to follow click/touch
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s
2023-08-09 12:38:09 +09:00
6580049978 Impl. click/touch collision with environment
All checks were successful
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
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 15s
2023-08-08 11:33:07 +09:00
4fd9ce3b33 Implement click/touch ray-tracing onto surface
All checks were successful
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
All checks were successful
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
f0ce6520f4 Fixes
Rotation Matrices should now match the "right-handled rule".

Fixes related to weirdness using the column-major ordered Matrix struct.
2023-08-04 11:42:11 +09:00
c99407a474 Impl 3d_helpers, unit tests, basic 3D demo
3d_helpers facilitate usage of transformation matrices.

Unit tests ensure the 3d_helpers are correct.

Currently, the program rotates a Cube mesh in x, y, and z axes.
2023-08-02 19:59:06 +09:00