We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
deatheater —
Hey folks, After day 146 I have noticed the audio playing gets super loud and clipped if the windo…
»
Mārtiņš Možeiko —
These two if statements do different things. First one calls function when pointer is NOT null. Se…
»
poe —
Bit of a bump, but found this thread on Google. For me personally, I have found just using 0 as t…
»
Bobby —
"%.*s" expects a string length and the string pointer, which is exactly what the macro does.[/qu…
»
Mārtiņš Možeiko —
That is exactly what you should do. Again - watch Handmade Hero video where this is explained. The…
»
Marc Costa —
You can 4Coder strings like this: "%.*s" expects a string length and the string pointer, which i…
»
Simon Anciaux —
I think the issue is that you use non zero terminated strings in . (and maybe ) doesn't add the n…
»
longtran2904 —
One easy hack that I've just found is assigned wasDown = isDown at the start of every frame and th…
»
Bobby —
Salutations, I've been trying to use the file path of the active buffer as a parameter for my buil…
»
Simon Anciaux —
I'd add that some of (most of) those systems might seems complex at first but once you've work on …
»
Simon Anciaux —
Windows only posts messages to the message queue when it needs to. It doesn't update at a (fixed o…
»
longtran2904 —
This is exactly like my code (except that my code has the windowProc inside the game loop, and I u…
»
Mārtiņš Možeiko —
Do not use bools in such way. Do not use repeat setting, unless you're implementing text input. Ke…
»
longtran2904 —
I had 2 bools (isDown and wasDown) and only updated it in the PeekMessage loop. So because Windows…
»
Miles —
It's what decades of game engine programming experience looks like. And he's not doing everything …
»
Terans —
I'm at day 449 and Casey just wrote a layout system to create orphanages. It worked the first time…
»
Mārtiņš Možeiko —
What do you mean with you cannot check in game loop? When windows delivers message you remember wh…
»
longtran2904 —
Thanks, I fix it! Another thing that happens to me is that I update the keyboard input using the P…
»
Mārtiņš Možeiko —
I have done this same mistake before multiple times! Your perfCountFrequencyResult contains QPC co…
»
longtran2904 —
I've just increased the number of sprites to draw each frame. My application is now extremely bugg…
»
longtran2904 —
I'm trying to make a custom framework from scratch. It already has some basic functions. Now, I wa…
»
Miles —
Even unioned entity structs easily get larger than 64 bytes in my experience, which means you'd be…
»
Weldify —
yep! it matches every criteria you mentioned. although had just noticed the path to it contains dr…
»
Simon Anciaux —
I'm not an expert on that, but I generally find it works better to make the system that is simple …
»
Simon Anciaux —
Does the path contain spaces or special characters (like parenthesis) ? If so try to install it to…
»
longtran2904 —
One thing that I still do not quite understand is the performance-related problem with a big flat …
»
Weldify —
Whenever I try to start up 4coder, an error prompt pops up saying "Could not load the required fal…
»
Mārtiņš Možeiko —
char* in memory is stored exactly as array of char. That's just how any T* type means in C - array…
»
max —
how to use char ** ,char*** etc, as string and how these are stored in computer memory or we sto…
»
Simon Anciaux —
I updated the wiki article, sorry for the confusion.
»