Commit graph

151 commits

Author SHA1 Message Date
64183f85ee Armour system frfr 2024-08-30 12:03:33 +01:00
e32a16b700 Armour system 2024-08-30 12:02:39 +01:00
8acfec7d7b Roadmap to MVP + bugfix mouse aiming, now aiming uses ndc instead of world space 2024-08-30 11:39:07 +01:00
1c9ca3be5a Basic HUD, Weapon Control Rework, Hitboxes fixed, Cooldowns added to attacks, Damage is now clamped 2024-08-30 11:21:57 +01:00
cf888244fe Entity no longer stores sprite_id, sprite_get_id_from_arch() 2024-08-29 18:39:19 +01:00
702a64d0e3 Basic Weapon System 2024-08-29 17:49:37 +01:00
9a838cd105 Weapons with damage :D 2024-08-29 14:32:56 +01:00
8c2d878ead Entity stuff 2024-08-28 15:54:40 +01:00
Charlie Malmqvist
e651487469 v0.01.005 - Arenas, Monitors query, fullscreen 2024-08-23 21:05:14 +02:00
Charlie Malmqvist
a296f2c660 Sprite sheet animation and window woopsie fix 2024-08-23 18:13:02 +02:00
Charlie Malmqvist
1b200bd162 gfx_read_image_data() 2024-08-23 15:57:35 +02:00
Charlie Malmqvist
9de955c84e Improve build scripts 2024-08-23 14:16:21 +02:00
Charlie Malmqvist
884d28add0 window.fullscreen, window.allow_resize 2024-08-23 14:09:45 +02:00
Charlie Malmqvist
ff654859a0 fix silly goofy woopsie 2024-08-22 15:56:53 +02:00
Charlie Malmqvist
b7921693c4 Os monitors query 2024-08-21 20:17:05 +02:00
Charlie Malmqvist
f2b81a0621 v0.01.004 - Gamepad input, text wrapping, bug fixes 2024-08-19 16:37:21 +02:00
Charlie Malmqvist
9664530935 Text wrapping, string & utf8 helpers, linmath constants 2024-08-19 16:19:46 +02:00
Charlie
ca7259aeb8
Merge pull request #22 from g0mb4/dev
Add support for `fopen()`'s modes.
2024-08-19 14:16:03 +02:00
Charlie Malmqvist
a8ded88dca Gamepad stuff (forgot to commit this file before) 2024-08-19 14:08:50 +02:00
Charlie Malmqvist
f8ef5dd8b3 String format vectors %v2 %v3 %v4 2024-08-19 14:08:03 +02:00
Charlie Malmqvist
b231b58247 Gamepad input 2024-08-19 13:29:36 +02:00
g0mb4
46f8468c24 Add support for fopen()'s modes. 2024-08-18 19:29:05 +02:00
Charlie Malmqvist
a2b65c0eaf os_get_elapsed_seconds() & some unecessary refactoring 2024-08-18 12:51:33 +02:00
Charlie Malmqvist
978162cf4d Fix measure_text on empty string & %s treating arg as char* if it's not a valid 'string' 2024-08-18 12:31:55 +02:00
Charlie
3dc1fd27aa
Merge pull request #18 from Behiiri/dev
Fix for v2_rotate
2024-08-15 13:20:31 +02:00
Behiri
8bc3591cd3 Fix v2_rotate 2024-08-15 04:11:10 -07:00
Charlie
d9345c6422
Merge pull request #17 from kacpercwiklinski/dev
Fix for temporary storage overflow warning
2024-08-15 10:14:40 +02:00
kacpercwiklinski
f9bf7ffee4 Fix for temporary storage overflow warning
Why do we need this?
* Now the user is not warned about temp memory overflow which may introduce hard to debug bugs with memory management.
Describe at least one specific and practical problem this solves for people developing a game
* The buffer overflown and the pointers have been overwritten - undefined behavior, the pc fly into space. This fix fixes what the warning is meant to be. Warn in overflow situation to avoid potential bugs.
Does this add complexity/friction for people making games? If so, how do you justify that?
* There's no complexity in this PR.
2024-08-15 09:58:42 +02:00
Charlie
c76d428a26
Merge pull request #13 from 0xf0ad/dev
add build script for linux
2024-08-11 14:51:52 +02:00
Hamza
c90f00b5b2 add build script for linux 2024-08-11 13:05:29 +01:00
randy
5b636bd986 removed range.c
It's now a game-layer specific concept (for now, while I battle test it more in gameplay code)
2024-08-05 12:18:45 +07:00
Charlie Malmqvist
d89ef01fa6 v0.01.003 - Mouse pointers, Audio improvement & features, bug fixes 2024-08-03 16:40:41 +02:00
Charlie Malmqvist
b631b96e62 Unfuck linmath 2024-08-03 15:38:42 +02:00
Charlie Malmqvist
e4976e7c59 Audio Playback speed, bugfixes & api improvements 2024-08-03 13:11:07 +02:00
Charlie Malmqvist
98113b65f3 Fix phase cancellation 2024-08-01 16:22:50 +02:00
Charlie Malmqvist
a63d76c733 Fix audio bugs: wav garbage samples & looping 2024-08-01 13:45:16 +02:00
Charlie Malmqvist
782d86c38a Fix Memory woopsie 2024-07-30 18:24:20 +02:00
Charlie Malmqvist
71708cfc77 More unused memory locking 2024-07-28 17:17:58 +02:00
Charlie Malmqvist
f9788b2e74 Some memory rework, concurrency improvements, cleanups 2024-07-28 15:08:36 +02:00
Charlie
5417ab4ca4
Merge pull request #9 from Bonmas-Technologies/vector2i
Vector2i - int math
2024-07-28 11:19:48 +02:00
bonmas14
3ad5426709 moving vectori to linmath 2024-07-28 10:46:27 +03:00
bonmas14
b0b2f53d5b Vector2i - int math
Added int math with tests
2024-07-27 22:44:43 +03:00
Charlie Malmqvist
e60be463d1 Did nothing 2024-07-27 21:07:52 +02:00
Charlie Malmqvist
234e3ed440 Mouse pointers & text rendering bug 2024-07-26 21:33:47 +02:00
Charlie
db7159a306
Merge pull request #6 from Bonmas-Technologies/audio_finished
added function that checks if the audio player has reached the end of its source sample (e.g. has finished playing).
2024-07-24 11:41:27 +02:00
Charlie Malmqvist
3e015088bd Mandatory woopsie #10572 2024-07-23 23:32:50 +02:00
Charlie Malmqvist
ee097a3329 v0.01.002 - Flexible build options, Hotloading, growing array 2024-07-23 23:29:05 +02:00
Charlie Malmqvist
04ca22a0ed Actually add growing array 2024-07-23 21:37:34 +02:00
Charlie Malmqvist
c7daaac338 Growing array + tests + growing_array_example.c 2024-07-23 21:18:27 +02:00
bonmas14
e019fd2e97 Added a function that checks if the audio player
has reached the end of its source sample (e.g. has finished playing).
2024-07-23 20:28:29 +03:00