Oh My God!!! I almost lost my mind, trying to figure out why my hero movement is different than Ca…
Aidan —
By adding epsilons, you're inherently adding some inaccuracy to your simulation. You really want t…
Yeah, pretty much what you said. Just get the input from user, process it, and render result on sc…
I could also multiply every position with 10000 or something and just use plain ints or is that a…
I have never used fixed point position before. I guess that would fix some of the rounding errors.…
elle —
Have you ever implemented a debug console as in Quake, Unreal Tournament, Source games that is als…
Hello everyone, The contribution I am currently planning is called Handmade Quake, where I start f…
Use to store positions. This gives you an even amount of precision over your entire world. Only…
Yeah maybe. If the guy jumps and lands on the ramp the epsilon would keep him high enough for it t…
I'm still real new to this, but couldn't you use an epsilon to account for floating-point errors?
I don't think there is a bug in your code. I think what you are seeing is StretchDIBits trying to …
Connor —
I am not new to handmade hero, but I just started following along a couple of weeks ago. Up to thi…
So I am making a 2d platformer, heavily influenced by HH. I use more or less the same collision de…
Pete —
Thank you for the clear answers. Now I know why it looks this way and that i can make my changes w…
It was valid code only with Visual Studio. In C that was never a valid code. Not sure how far back…
That used to be valid code. That's why you can see Casey doing for loops like this in some : That…
Pete —
I am working on a project where there is a lot of old code written for Windows. On several places …
Unsurprisingly, Windows does it for the same reason. You got it! The thing that can be done more…
people —
I thought I'd post a diff of the "test_asset_builder.*" files which have support for xlib core te…
To be compatible with Windows? :D It also uses gs for 64-bit and fs for 32-bit. Or maybe (I'm gues…
In my previous company I have successfully shipped product on Linux as binary executable with link…
@longboolean and @effect0r: Thank you for bringing these issues up during the stream and of course…
people —
Sorry, I don't know the reason for the change from gs to fs segment, but when I compile with gcc …
My current precompiled application links against glibc, but it won't run on a Linux distribtion wi…
That does sound a lot like some kind of block :( Normally the e-mails are sent pretty much instan…
Question for very advanced programmers: Why was the selector changed from GS to FS for the x86-64…
That's kind of true and kind of not true. POSIX is a family of standards. As far as the API goes,…
mothil —
I've checked through my mail now, both my labels, the inbox and the spam folder. Nowhere to be fou…
I looked at the e-mail address with which you registered this forum account, and I found that e-ma…
My Logitech F310 supports Xinput.