6f5ea914af
Issue 1: save
2025-05-11 20:01:55 +02:00
9922cbe90d
Initialize issues branch
2025-05-11 20:01:38 +02:00
e73a7f5c1a
Remove old Makefiles
2024-10-09 02:08:49 +02:00
e08bc673d3
Remove VSCode configuration
2024-10-09 02:03:45 +02:00
fa68e128e2
Draw: Window always on top
2024-10-09 01:55:32 +02:00
89823eb99d
WIP GameLib_RemoveEntity
2024-10-09 01:55:32 +02:00
40130b9bb8
Remove CLion configuration
2024-10-09 01:52:59 +02:00
30be2c6f33
GameLib: Implement GameLib_SearchEntInArea
...
Queries the `BucketGrid` to return entities in an area.
2024-10-09 01:41:23 +02:00
83e50e79e3
Example.GameLib: Fix CMakeLists.txt
2024-10-09 01:23:14 +02:00
91deaf34b2
Implement naïve buckets of bboxes.
...
Allows faster spatial querying entities for collisions and overlapping.
Fixes #3
2024-10-07 02:47:03 +02:00
9dab1ad99e
Entity: Add VecA and VecB, for vector memory on entities.
2024-10-07 02:47:03 +02:00
fd354add56
Draw: Process DrawImage changes.
2024-10-07 02:47:03 +02:00
30439310f6
Draw: Add method Draw_DrawCircle.
...
* Add auxiliar methods `Draw_SetPixel` and `Draw_AddPixel`.
* Refactor `Draw_DrawBoxFilled` and `Draw_DrawBox`, to use previous methods.
* Implement `Draw_DrawCircle` using naïve implementation, with `sqrt`.
2024-10-07 02:47:03 +02:00
ec923e9ccb
Draw: Add const parameters and variables.
2024-10-07 02:47:03 +02:00
86231817f4
Draw_CreateImage: Set correct center.
2024-10-07 02:47:03 +02:00
ef2ab33824
Draw: Add Draw_DrawBox and Draw_DrawBoxFilled.
2024-10-07 02:47:03 +02:00
6114e885d0
Draw: Add type ColorRgba and use uint8_t instead of unsigned char.
2024-10-07 02:47:03 +02:00
1b8dd0f080
CLion config update
2024-10-06 14:36:59 +02:00
617e0e54f1
Code formatting
2024-10-06 14:36:43 +02:00
d767b95d59
Fix some warnings on dist-emscripten.sh of Example.GameLib
2024-10-06 14:30:10 +02:00
4fb449451a
Fix some warnings on index.html of Example.GameLib
2024-10-06 14:25:03 +02:00
9e8f123abb
Fix warnings
2023-10-02 04:39:32 +02:00
584b0cffc5
Reformat code
2023-09-24 21:15:57 +02:00
456b873de0
Update Example.Game CMakeLists.txt for better relocatability.
2023-09-24 21:14:52 +02:00
e6e1845743
Use OpenGLES on Linux by default.
...
* Add error checking on shader compilation.
* Use 2 versions of fragmentShader for GLSL 1.0 and GLSL 2.0 or later.
2023-09-24 20:58:23 +02:00
865ce5bcc5
CLion config
2023-09-23 23:47:36 +02:00
3c5f3989a6
Fix build
2023-09-22 15:46:31 +02:00
5d9ee0dd07
Remove old Makefiles
2023-04-09 04:24:39 +02:00
b3f9c31943
Configure CMake for building WASM using Emscripten
2022-08-04 02:14:22 +02:00
1cc2b62448
CLion configuration
2022-07-31 17:15:20 +02:00
52934e286b
CMake build configuration
2022-07-31 16:32:16 +02:00
633adb50ae
Rename Makefile to Makefile.old
2022-07-31 13:46:16 +02:00
c77e90ab76
Adjust build for Linux
2022-04-04 18:17:32 +02:00
b55b9b3138
Fixes for Emscripten+SDL2
2022-04-04 04:29:06 +02:00
48583e0b08
Port to SDL2
2022-04-04 02:36:36 +02:00
7e94c5053d
Fix vscode settings
2022-04-03 17:20:04 +02:00
80ae97041c
WIP
2022-01-03 18:44:40 +01:00
0280017bef
Fix Makefile.emscripten.mk
2021-10-05 01:27:20 +02:00
d9d5e3a351
Entity: Keep alpha after ilumination
2021-10-03 20:44:54 +02:00
bdfef59084
GameLib: Sort entitites horizontally
2021-10-03 20:44:23 +02:00
e63924eb70
Util: Rect structure
2021-10-03 14:18:17 +02:00
354521ec51
Utils: CosineInterpolation
2021-10-03 13:58:20 +02:00
9a1a23c73d
Entity: Add E variable
2021-10-02 20:24:44 +02:00
36c95e5273
GameEnt: Change casing of entities methods
2021-10-02 20:03:06 +02:00
c611da0fd1
GameLib_SetPosOffset
2021-10-02 20:01:34 +02:00
a78a835210
Audio.c: Reorder includes
2021-10-02 15:08:25 +02:00
0e51f87efc
VSCode config
2021-10-02 15:08:10 +02:00
61545e0455
index.html: Hide mouse
2021-05-02 05:04:36 +02:00
a9abfaa1a2
Apply formating to index.html
2021-05-02 05:03:51 +02:00
5d185aa480
New method Input_GetKeyDir, to get direction with only the keys.
2021-05-02 05:01:43 +02:00