Commit Graph

62 Commits

Author SHA1 Message Date
Dendy 81d24ea62d Update @call to latest API 2022-12-31 01:57:45 +01:00
Dendy 7265089f7c Change fade rects color. Implement float setColor 2022-12-14 04:09:27 +01:00
Dusk 51404cd706 Remove useless function 2022-12-01 12:04:10 +01:00
Dusk 6c77226652 Use new struct for actions 2022-12-01 12:01:55 +01:00
Dusk 52f35807d3 Fix GL 2022-12-01 10:28:59 +01:00
Dusk a248749538 ActionList is now a struct (in Game.zig)
It will be changed in Menu as well
2022-10-06 15:15:24 +02:00
Dendy a3b1e5171e Fix for stage-2. fn -> *const fn & fix castings 2022-09-26 09:08:59 +02:00
Dusk 331d73d7ab Fix rendering bug by clearing the index buffer 2022-09-04 12:55:23 +02:00
Dusk 5adc005f6f Detect top out and return to menu WIP 2022-09-03 20:41:26 +02:00
Dusk 8d47cb26f5 Skewed menu WIP 2022-08-27 13:40:54 +02:00
Dusk fc44bb3456 Menu navigation 2022-08-27 12:45:07 +02:00
Dusk 6163a5bbcb WIP | Make it prettier and also implement Skewing 2022-08-13 15:43:02 +02:00
Dusk a46d4ede0d WIP | Implement basic menu rendering 2022-08-13 14:35:35 +02:00
Dusk 735ff622a0 Batch rendering with colors 2022-08-03 19:38:44 +02:00
Dusk d2fbc27fe5 Attempt color with batch rendering 2022-08-03 14:19:46 +02:00
Dusk 5c7ea5ea37 Graphics buffering changes, WIP 2022-08-02 22:19:31 +02:00
Dendy c9fe252019 Merge remote-tracking branch 'origin/main' 2022-07-29 14:41:30 +02:00
Dusk acc3cd890d Fix framerate issue 2022-07-29 12:37:29 +02:00
Dendy bdc73aad4b Renderer general cleanup 2022-07-29 10:31:24 +02:00
Dendy a4cf3c6581 Deactivate VSync with err handling, fix framerate 2022-07-29 09:03:16 +02:00
Dusk e4f7fca02d Fix Delay compensation 2022-07-28 16:47:45 +02:00
Dendy 4da430a02b Line drawing optimizations, vertex indexing 2022-07-28 16:29:24 +02:00
Dendy c1cd614040 Fix borders being thinner than they should 2022-07-25 17:49:04 +02:00
Dendy 9a1ab8de6f Update SDL.zig, adapt Renderer.zig 2022-07-25 16:34:39 +02:00
Dendy 7921471b96 Port MainMenu to OpenGL 2022-07-25 16:12:57 +02:00
Dendy fb09ef0b6e Implement transparency and borders 2022-07-25 15:57:25 +02:00
Dendy 95c340b915 Implement main game rendering WIP 2022-07-25 15:32:25 +02:00
Dendy 022afa07b0 Merge remote-tracking branch 'origin/main' into feature/opengl-port 2022-07-25 09:59:20 +02:00
Dusk d740e72544 Complete renderer file structure 2022-07-23 19:33:43 +02:00
Dendy 1d24389a0a Create separate rendering functions 2022-07-22 17:57:51 +02:00
Dendy d0f444fa13 Move rendering out of main 2022-07-22 17:23:12 +02:00
Dendy 4883fc68e2 Being able to set the color 2022-07-22 16:46:13 +02:00
Dendy 07b47f3e82 Basic shaders for triangle coloring 2022-07-22 16:10:58 +02:00
Dendy 2385167e87 Draw triangle 2022-07-22 11:48:44 +02:00
Dendy ccfeb1fe1b WIP: open an image and clear with OpenGL 2022-07-21 17:55:22 +02:00
Dusk 65c1f5eb34 Implement gravity 2022-07-21 14:02:22 +02:00
Dusk 27270e1832 Change src structure, separate game renderer 2022-07-21 13:14:16 +02:00
Dusk 9ba1ca0216 Main Menu Action struct implementation 2022-07-20 20:17:31 +02:00
Dusk d8e86e24d4 Make Action struct agnostic 2022-07-20 19:31:18 +02:00
Dusk cb171b7cf8 Test SDL Image 2022-07-16 15:33:52 +02:00
Dusk 7da3ce5592 Fix silly t-twist mistake 2022-07-16 14:59:59 +02:00
Dusk 825bf1a499 Make use of zig switch syntax 2022-07-14 15:23:13 +02:00
Dusk 2c22dabeae Horizontal repetition WIP 2022-07-14 15:22:40 +02:00
Dusk 276016cdf7 Main Menu Very WIP 2022-07-13 22:59:54 +02:00
Dusk 0d7bd044dc Main Menu Structure WIP 2022-07-12 20:27:40 +02:00
Dusk df495eb608 Change some names to coincide with zig style 2022-07-12 16:20:15 +02:00
Dusk af1c24853f Fix Instant Drop 2022-07-10 23:12:09 +02:00
Dusk 89afe54e37 Drop Timer 2022-07-10 19:44:48 +02:00
Dusk 516efd17e2 Code "refactoring" 2022-07-10 18:25:52 +02:00
Dusk 46cab832ed Add Timers 2022-07-10 18:25:38 +02:00