]>
git.seodisparate.com - RockPaperScissorsDuel/log
Stephen Seo [Mon, 16 Dec 2024 06:12:18 +0000 (15:12 +0900)]
Add README.md
Stephen Seo [Tue, 19 Sep 2023 05:30:28 +0000 (14:30 +0900)]
More robust initialization
Don't wait in a loop for required js stuff to appear, do the init. when
the WASM starts running.
Stephen Seo [Sun, 17 Sep 2023 11:03:02 +0000 (20:03 +0900)]
Attempt to fix undefined wasmExports
Stephen Seo [Sun, 17 Sep 2023 10:51:02 +0000 (19:51 +0900)]
Use latest ems/Raylib, fixes for version bump
Stephen Seo [Sat, 22 Jul 2023 03:53:15 +0000 (12:53 +0900)]
Fix CMakeLists.txt
Stephen Seo [Wed, 5 Jul 2023 12:25:25 +0000 (21:25 +0900)]
Fixes for new version of raylib 4.5.0
Stephen Seo [Thu, 16 Mar 2023 02:28:52 +0000 (11:28 +0900)]
Fix js action being called too many times
Stephen Seo [Thu, 16 Mar 2023 02:11:56 +0000 (11:11 +0900)]
Add usage of avatar-placeholder.png
Stephen Seo [Thu, 16 Mar 2023 02:04:44 +0000 (11:04 +0900)]
More verbose error messages on avatar load fail
Stephen Seo [Thu, 16 Mar 2023 02:05:24 +0000 (11:05 +0900)]
Add avatar-placeholder.png
Stephen Seo [Wed, 15 Mar 2023 08:00:40 +0000 (17:00 +0900)]
Tweak/fix drawing of avatars
Kind of tested with local textures, and should work with loaded avatars.
Stephen Seo [Wed, 15 Mar 2023 07:29:24 +0000 (16:29 +0900)]
Minor warning fix
Stephen Seo [Wed, 15 Mar 2023 07:14:27 +0000 (16:14 +0900)]
Unload added resources on game deconstruction
Stephen Seo [Wed, 15 Mar 2023 07:11:31 +0000 (16:11 +0900)]
Fix memory leak related to loading avatars
Stephen Seo [Wed, 15 Mar 2023 06:59:10 +0000 (15:59 +0900)]
Attempt fix drawing of avatars
Since avatar loading is blocked for now, am unable to actually test this
fix.
Stephen Seo [Wed, 15 Mar 2023 06:50:30 +0000 (15:50 +0900)]
Attempt to use player avatars
Blocked for now because CORS issues prevents emscripten from fetching
the avatars.
Stephen Seo [Tue, 14 Mar 2023 10:19:47 +0000 (19:19 +0900)]
Use latest version of Rune stuff
Also impl. use of Game Over with explicit winner/loser.
Stephen Seo [Mon, 27 Feb 2023 06:12:39 +0000 (15:12 +0900)]
Fix missing header file in CMakeLists.txt
Stephen Seo [Sun, 26 Feb 2023 09:58:07 +0000 (18:58 +0900)]
Tweak rotation of screen shake
Stephen Seo [Sun, 26 Feb 2023 09:53:18 +0000 (18:53 +0900)]
Fix screenshake, add rotation to screenshake
Stephen Seo [Fri, 3 Feb 2023 06:36:49 +0000 (15:36 +0900)]
Cleanup, refactorings
Stephen Seo [Thu, 2 Feb 2023 07:34:10 +0000 (16:34 +0900)]
Fix color of falling anims
Previous implementation had red color drawn for blue side by mistake.
Stephen Seo [Thu, 2 Feb 2023 07:30:19 +0000 (16:30 +0900)]
Slightly increase screen-shake-time
Stephen Seo [Thu, 2 Feb 2023 07:27:39 +0000 (16:27 +0900)]
Change to ready behavior, replace text, tune shake
Picking third r/p/s automatically sets the player to be "ready".
Text has been replaced. There is no READY? button, and the "Waiting..."
has been replaced with a spinner.
Screen shake has been tuned to wind down as time progresses.
Stephen Seo [Thu, 2 Feb 2023 06:57:04 +0000 (15:57 +0900)]
Removed unused "basic_renderer"
Stephen Seo [Wed, 1 Feb 2023 05:57:28 +0000 (14:57 +0900)]
Increase amount of 2D objects spawned on hit
Also randomize their movement.
Stephen Seo [Wed, 1 Feb 2023 05:37:53 +0000 (14:37 +0900)]
Tweak screen-shake-factor
Stephen Seo [Wed, 1 Feb 2023 05:35:28 +0000 (14:35 +0900)]
Impl screen-shake on hit
Stephen Seo [Mon, 23 Jan 2023 05:44:40 +0000 (14:44 +0900)]
Use std::function instead of pointer to avoid ub
Stephen Seo [Fri, 20 Jan 2023 06:20:33 +0000 (15:20 +0900)]
Minor fix to draw qms when not animating
Stephen Seo [Thu, 19 Jan 2023 08:22:21 +0000 (17:22 +0900)]
Refactor first-load bugfix
Stephen Seo [Thu, 19 Jan 2023 07:23:34 +0000 (16:23 +0900)]
Use sfx_draw
Stephen Seo [Thu, 19 Jan 2023 07:16:52 +0000 (16:16 +0900)]
Add 3 sfx_draw sfx
Stephen Seo [Thu, 19 Jan 2023 07:07:49 +0000 (16:07 +0900)]
Redo scissors sfx
Stephen Seo [Thu, 19 Jan 2023 06:56:36 +0000 (15:56 +0900)]
Impl usage of sfx when Rock/Paper/Scissors attack
Stephen Seo [Thu, 19 Jan 2023 06:40:29 +0000 (15:40 +0900)]
Add sfx
Stephen Seo [Thu, 19 Jan 2023 06:11:41 +0000 (15:11 +0900)]
Minor tweaks to anims
Stephen Seo [Thu, 19 Jan 2023 06:04:44 +0000 (15:04 +0900)]
Rename a3f to arrays, work on attack anims
Stephen Seo [Wed, 18 Jan 2023 07:51:57 +0000 (16:51 +0900)]
Minor refactorings to client.js
Stephen Seo [Wed, 18 Jan 2023 07:41:41 +0000 (16:41 +0900)]
Update platform texture
Stephen Seo [Wed, 18 Jan 2023 07:27:25 +0000 (16:27 +0900)]
Minor addition to "first-load-bug-fix"
Stephen Seo [Wed, 18 Jan 2023 07:24:36 +0000 (16:24 +0900)]
Re-fix first load bug (hopefully)
Stephen Seo [Wed, 18 Jan 2023 07:00:22 +0000 (16:00 +0900)]
Fix typo in comment
Stephen Seo [Wed, 18 Jan 2023 06:57:53 +0000 (15:57 +0900)]
Attempt to fix first-load bug (again)
Stephen Seo [Wed, 18 Jan 2023 06:49:44 +0000 (15:49 +0900)]
Revert "Attempt to fix first load bugs with wasm build"
This reverts commit
041e50b68cef8be8b1d8495a5bd1106a032507fb.
Stephen Seo [Wed, 18 Jan 2023 06:49:36 +0000 (15:49 +0900)]
Revert "Attempt (again) to fix first-load bug"
This reverts commit
32ec60d5b2c0b3e32b2bb705d7def79f58741940.
Stephen Seo [Wed, 18 Jan 2023 06:47:30 +0000 (15:47 +0900)]
Attempt (again) to fix first-load bug
Stephen Seo [Wed, 18 Jan 2023 06:43:43 +0000 (15:43 +0900)]
Attempt to fix first load bugs with wasm build
Stephen Seo [Wed, 18 Jan 2023 06:33:50 +0000 (15:33 +0900)]
Fix spectator mode (hopefully)
Stephen Seo [Wed, 18 Jan 2023 05:59:18 +0000 (14:59 +0900)]
Comment out debug prints
Stephen Seo [Wed, 18 Jan 2023 05:49:24 +0000 (14:49 +0900)]
Refactorings, fix ? color, fix spectator mode
Stephen Seo [Wed, 18 Jan 2023 05:15:04 +0000 (14:15 +0900)]
Fix spectator view
Stephen Seo [Wed, 18 Jan 2023 05:01:19 +0000 (14:01 +0900)]
Remove unnecessary comments
Stephen Seo [Wed, 18 Jan 2023 05:00:42 +0000 (14:00 +0900)]
Refactor logic to be simpler
Stephen Seo [Tue, 17 Jan 2023 08:45:41 +0000 (17:45 +0900)]
Work on game, currently is usable, WIP anims
Stephen Seo [Tue, 17 Jan 2023 06:24:23 +0000 (15:24 +0900)]
Add anim_model_attack
Stephen Seo [Tue, 17 Jan 2023 05:23:55 +0000 (14:23 +0900)]
Add anim_model_grow
Stephen Seo [Tue, 17 Jan 2023 05:18:22 +0000 (14:18 +0900)]
Add anim_model_shrink
Stephen Seo [Tue, 17 Jan 2023 05:06:25 +0000 (14:06 +0900)]
Change anims to have Model* as member variable
Stephen Seo [Tue, 17 Jan 2023 05:02:17 +0000 (14:02 +0900)]
Add "anim_sequence"
Stephen Seo [Tue, 17 Jan 2023 04:39:25 +0000 (13:39 +0900)]
Prep for anims, tweaks to anim handling
Stephen Seo [Mon, 16 Jan 2023 08:32:54 +0000 (17:32 +0900)]
Impl working game (missing animations)
Stephen Seo [Mon, 16 Jan 2023 05:46:27 +0000 (14:46 +0900)]
Reduce vertical space used by buttons
Stephen Seo [Mon, 16 Jan 2023 05:20:34 +0000 (14:20 +0900)]
Only draw the "READY?" button if choices are made
Stephen Seo [Mon, 16 Jan 2023 05:16:42 +0000 (14:16 +0900)]
More impl of choices GUI
Stephen Seo [Mon, 16 Jan 2023 04:39:25 +0000 (13:39 +0900)]
Display buttons (not yet functional) for selection
Stephen Seo [Fri, 13 Jan 2023 08:37:32 +0000 (17:37 +0900)]
Fix bug due to uninitialized variable
Stephen Seo [Fri, 13 Jan 2023 07:34:40 +0000 (16:34 +0900)]
Rename V3, etc. to A3F, etc.
Stephen Seo [Fri, 13 Jan 2023 07:26:00 +0000 (16:26 +0900)]
Minor fixes/refactorings
Stephen Seo [Fri, 13 Jan 2023 06:58:03 +0000 (15:58 +0900)]
Impl QuestionMark classes with their "animations"
Also added some 3D helper objects.
Stephen Seo [Fri, 13 Jan 2023 02:18:01 +0000 (11:18 +0900)]
Add "orbit" overview, tweaks to overview handling
Stephen Seo [Thu, 12 Jan 2023 10:23:14 +0000 (19:23 +0900)]
Update html to use defer loading client/logic.js
Stephen Seo [Thu, 12 Jan 2023 10:14:08 +0000 (19:14 +0900)]
Renderer3D: Add "testing" text to show it's WIP
Stephen Seo [Thu, 12 Jan 2023 08:35:09 +0000 (17:35 +0900)]
Fix native build
Stephen Seo [Thu, 12 Jan 2023 08:08:59 +0000 (17:08 +0900)]
Renderer3D: Add more "overview" views
Stephen Seo [Thu, 12 Jan 2023 04:58:33 +0000 (13:58 +0900)]
Renderer3D: Update models to "sit" on y=0.0
Currently draws rock, paper, and scissors.
Stephen Seo [Thu, 12 Jan 2023 04:39:52 +0000 (13:39 +0900)]
Renderer3D: Impl "overview" camera mode
Stephen Seo [Thu, 12 Jan 2023 03:34:43 +0000 (12:34 +0900)]
Begin work on Renderer3D
Stephen Seo [Thu, 12 Jan 2023 03:17:41 +0000 (12:17 +0900)]
Begin work on 3D renderer, minor gameover fix
Stephen Seo [Wed, 11 Jan 2023 08:14:14 +0000 (17:14 +0900)]
Add platform model/texture (not yet used)
Stephen Seo [Wed, 11 Jan 2023 05:09:57 +0000 (14:09 +0900)]
Add skybox (not yet used)
Stephen Seo [Tue, 10 Jan 2023 12:03:51 +0000 (21:03 +0900)]
Update some 3D models, add question mark model
Stephen Seo [Tue, 10 Jan 2023 08:39:47 +0000 (17:39 +0900)]
Add 3D models of Rock/Paper/Scissors
Stephen Seo [Mon, 9 Jan 2023 04:18:34 +0000 (13:18 +0900)]
Use google-style formatting, fix CMakeLists.txt
Stephen Seo [Mon, 9 Jan 2023 02:00:01 +0000 (11:00 +0900)]
Add missing overrided fn in basic_renderer
Stephen Seo [Thu, 5 Jan 2023 04:36:19 +0000 (13:36 +0900)]
Don't share choices unless both sides are set
Stephen Seo [Wed, 4 Jan 2023 10:44:44 +0000 (19:44 +0900)]
Rename "Game" to "BasicRenderer"
Stephen Seo [Wed, 4 Jan 2023 10:39:53 +0000 (19:39 +0900)]
Create abstract class GameRenderer
Stephen Seo [Wed, 4 Jan 2023 05:04:43 +0000 (14:04 +0900)]
Negate score when displaying for player 2
Stephen Seo [Wed, 4 Jan 2023 04:55:25 +0000 (13:55 +0900)]
Impl spectator view, refactorings/fixes
Stephen Seo [Tue, 3 Jan 2023 11:00:04 +0000 (20:00 +0900)]
Comment out debug prints
Stephen Seo [Tue, 3 Jan 2023 10:57:45 +0000 (19:57 +0900)]
Impl basic working game
Stephen Seo [Tue, 3 Jan 2023 09:40:16 +0000 (18:40 +0900)]
WIP work on game
Bug to fix is that players are stuck in "is ready" state.
Stephen Seo [Mon, 2 Jan 2023 08:54:17 +0000 (17:54 +0900)]
WIP game logic handling drawing state
Stephen Seo [Mon, 2 Jan 2023 07:51:10 +0000 (16:51 +0900)]
Add spritesheet, impl "set-up" before round
Stephen Seo [Mon, 2 Jan 2023 05:30:02 +0000 (14:30 +0900)]
Cache "pos" value in Game class
Stephen Seo [Mon, 2 Jan 2023 05:08:28 +0000 (14:08 +0900)]
Fix native build
Stephen Seo [Mon, 2 Jan 2023 05:03:07 +0000 (14:03 +0900)]
Glue code for multiplayer rune sdk
Stephen Seo [Mon, 2 Jan 2023 03:24:04 +0000 (12:24 +0900)]
Create Game class and set up glue code with it
Stephen Seo [Mon, 2 Jan 2023 03:11:46 +0000 (12:11 +0900)]
WIP more work (glue code)