Dusk
2ed65aa6ae
Implement text rendering
2023-09-22 12:16:16 +02:00
Dusk
f6007b90c8
Add color rendering
2023-09-22 12:04:16 +02:00
Dusk
d88ef81a02
Implement rectangle rendering & more improvements
2023-09-21 18:17:20 +02:00
Dusk
914e1127db
Add basic raylib functionality: open window
2023-09-21 16:40:53 +02:00
Dusk
821162015a
Remove SDL & OpenGL dependency
...
Make the code compile without the need for SDL and OpenGL with
the intention of migrating towards Raylib. What is going to be needed in
the future has been commented, and the other stuff removed. It runs but
apparently does nothing.
2023-09-21 13:53:52 +02:00
Dendy
ed031c9b8c
Update to make it work with zig 0.11.0-dev-2680
2023-04-21 00:00:14 +02:00
Dendy
eccc24811f
Remove multiple shaders, fuse in one
2023-01-03 09:31:12 +01:00
Dendy
7dec3d9386
Finally implement texture and text rendering
2023-01-02 23:11:59 +01:00
Dendy
9d23bbc39e
WIP2: Text/texture rendering
2023-01-02 02:28:57 +01:00
Dendy
ebe6aa8d9a
WIP: Implement text rendering
2022-12-31 04:38:49 +01:00
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
Dendy
9271fa1cae
WIP update SDL, still crashes
2022-09-24 02:26:31 +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