Commit Graph
60 Commits
Author SHA1 Message Date
jasonhilder ce142a2d02 Setup constants and conditions for effects. 2026-09-29 07:48:52 +02:00
jasonhilder 4a1df958e4 Updated collision event for screenshake. 2026-09-29 07:48:20 +02:00
jasonhilder 2fc3bd07a2 Big additions.
Updated speeds etc for smaller resolution.
Added a squish animation on collision of paddles.
Updated the paddles from here to indicate a hit.
Make use of simple particle system for on hit effects.
2026-09-28 08:05:54 +02:00
jasonhilder d4d67cbd6c Trying out defaults. 2026-09-28 08:04:39 +02:00
jasonhilder a185a1e777 Better structure and size constants for pixel art resolution. 2026-09-28 08:04:30 +02:00
jasonhilder 23301801e7 Very simple particle system. 2026-09-28 08:04:09 +02:00
jasonhilder 3691f33654 Updates for smaller internal resoultion and style change. 2026-09-28 08:03:57 +02:00
jasonhilder 7e78a0e219 Changing to a pixel art style with crt bg. 2026-09-28 08:03:31 +02:00
jasonhilder cdaddeee44 Small tweaks for testing and better design. 2026-09-28 08:02:46 +02:00
jasonhilder 5ec8c918b3 New fields for fat struct. 2026-09-28 08:02:27 +02:00
jasonhilder c50f9cb2b7 Added controller support.
Added SDL3 controller mappings and loaded with raylib.
Updated input manager to get active controller, check for disconnect etc
and then use that within the poll input proc.
2026-09-23 07:52:42 +02:00
jasonhilder d40395fae4 Sublime updates. 2026-09-23 07:51:05 +02:00
jasonhilder 72c564b24a Updated scene manager.
Scene manager now uses multiple event types.
UI updates, todo must move to its own file at some point.
2026-09-21 07:32:28 +02:00
jasonhilder 4260b11fdb Setup multiple resolutions. 2026-09-21 07:31:31 +02:00
jasonhilder 1ce0992cf3 Refactor for easier management.
Refactored to have events be a union so we can pack data in cases.
And in others just emit a simple notifying event.
2026-09-21 07:31:06 +02:00
jasonhilder df18e0c8b7 Updated game to use new scene stack. 2026-09-21 07:30:07 +02:00
jasonhilder 5791f14db8 Updated scene manager into a stack 2026-09-21 07:29:24 +02:00
jasonhilder 179a3fa91b Added a new field to ent struct. 2026-09-21 07:27:53 +02:00
jasonhilder 4a45ba3328 Updated ball to have deflection and max speed.
Updated the ball to increment its speed on hit.
Also to calc a better angle on hit to serve back.
Also set a max speed.
2026-09-21 07:27:45 +02:00
jasonhilder 34a52f2076 sublime workspace update. 2026-09-18 07:25:33 +02:00
jasonhilder b66442f55f Cleanup build script. 2026-09-18 07:25:26 +02:00
jasonhilder 777e9c511f Major refactor.
Moved dispatchers to the top, to separate ui and scene code.
Added a settigns menu.
Updated UI code to have multi element types.
2026-09-18 07:25:15 +02:00
jasonhilder d78117441c Ball entity now emits event.s 2026-09-18 07:23:59 +02:00
jasonhilder 3fb194c57d New events and consolidated event manager procs. 2026-09-18 07:23:46 +02:00
jasonhilder 6b76ad6874 Basic audio manager setup. 2026-09-18 07:22:53 +02:00
jasonhilder f6f8e99e6b Additional input events added. 2026-09-18 07:22:42 +02:00
jasonhilder fa21fd60b8 Small cleanup. 2026-09-18 07:21:44 +02:00
jasonhilder 37dc2ab2fc Setup all menus to use canvas. 2026-09-16 07:54:25 +02:00
jasonhilder 43b46eec1e Added additional events. 2026-09-16 07:54:08 +02:00
jasonhilder 54f0e4dcc6 Small cleanup, spacing, comments. 2026-09-16 07:53:55 +02:00
jasonhilder 133c328c32 Big rework for menus. 2026-09-15 07:59:52 +02:00
jasonhilder 86c792e39c Passed game for should close flag. 2026-09-15 07:59:31 +02:00
jasonhilder efcb9325fc New events for event manager. 2026-09-15 07:59:00 +02:00
jasonhilder e0ff1a51fd Integrated events and should close flag. 2026-09-15 07:58:51 +02:00
jasonhilder 676a24e883 Small clean up and win score set. 2026-09-15 07:58:28 +02:00
jasonhilder c82c51aabf Cleaned/improved input manager.
Added single frame actions for menus etc
Cleaned up continuous actions and set both to be captured.
2026-09-15 07:58:19 +02:00
jasonhilder cb523a3d6f Initial simple event manager. 2026-09-15 05:42:12 +02:00
jasonhilder 106f8195e2 Added a winning score to levels. 2026-09-15 05:41:41 +02:00
jasonhilder 0000ca4f12 Consolidated scenes for neatness. 2026-09-15 05:41:25 +02:00
jasonhilder fb1702190d Multiple scene rendering setup. 2026-09-11 07:51:38 +02:00
jasonhilder 115b42f00d Better naming. opponent > enemy 2026-09-11 07:51:18 +02:00
jasonhilder 75ce3e04a4 Opponent basic ai implemented. 2026-09-11 07:50:45 +02:00
jasonhilder 9b1c07fc53 Small refactor as well as an overlay scene 2026-09-11 07:50:30 +02:00
jasonhilder 07ac240e1c Updated to track score, serve and reset. 2026-09-10 07:43:57 +02:00
jasonhilder 174dc73f6c Level logic now lives in a manager. 2026-09-10 07:43:46 +02:00
jasonhilder f4a0efe560 Cleaned up comments + split level logic. 2026-09-10 07:43:39 +02:00
jasonhilder 30c3886afb Improved naming and cleaned up game struct. 2026-09-10 07:43:01 +02:00
jasonhilder 324c4240d7 Added offscreen rendering. 2026-09-09 07:18:31 +02:00
jasonhilder a98bbd9c93 Initial input manager 2026-09-09 07:18:16 +02:00
jasonhilder 8f91f0ea5d renamed scene manager. 2026-09-09 07:18:08 +02:00