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.
Jens
As I started writing this I noticed it appears like I have a lot to write, so I split it to sever…
»
deatheater
That is cool, thanks for the walkthrough of your debug process!
»
Simon Anciaux
Before reading my answer you might want to try to figure it out for yourself as it's a good exerc…
»
deatheater
Hey folks, After day 146 I have noticed the audio playing gets super loud and clipped if the wi…
»
Mārtiņš Možeiko
These two if statements do different things. First one calls function when pointer is NOT null. S…
»
poe
Bit of a bump, but found this thread on Google. For me personally, I have found just using 0 as …
»
Bobby
marccYou can printf 4Coder strings like this: 1String_Const_u8 cmd = push_stringf(scratch, "…
»
Mārtiņš Možeiko
That is exactly what you should do. Again - watch Handmade Hero video where this is explained. Th…
»
Marc Costa
You can printf 4Coder strings like this: 1String_Const_u8 cmd = push_stringf(scratch, "%.*s&…
»
Simon Anciaux
I think the issue is that you use non zero terminated strings in push_stringf. vars_string_from_v…
»
longtran2904
One easy hack that I've just found is assigned wasDown = isDown at the start of every frame and t…
»
Bobby
Salutations, I've been trying to use the file path of the active buffer as a parameter for my bu…
»
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 …
»
longtran2904
This is exactly like my code (except that my code has the windowProc inside the game loop, and I …
»
Mārtiņš Možeiko
Do not use bools in such way. Do not use repeat setting, unless you're implementing text input. K…
»
longtran2904
I had 2 bools (isDown and wasDown) and only updated it in the PeekMessage loop. So because Window…
»
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 tim…
»
Mārtiņš Možeiko
What do you mean with you cannot check in game loop? When windows delivers message you remember w…
»
longtran2904
Thanks, I fix it! Another thing that happens to me is that I update the keyboard input using the …
»
Mārtiņš Možeiko
I have done this same mistake before multiple times! Your perfCountFrequencyResult contains QPC …
»
longtran2904
I've just increased the number of sprites to draw each frame. My application is now extremely bug…
»
longtran2904
I'm trying to make a custom framework from scratch. It already has some basic functions. Now, I w…
»
Miles
Even unioned entity structs easily get larger than 64 bytes in my experience, which means you'd b…
»
Weldify
yep! it matches every criteria you mentioned. although had just noticed the path to it contains d…
»
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 t…
»
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 fa…
»