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.
Casey Muratori
It depends on what you mean by "deadzone". It is a square if you mean "region where the stick do…
»
Casey Muratori
The file I/O that's in there now is definitely not what we will use in the end because we will be…
»
Jesse Coyle
still no dice, even if I remove that switch completely it doesn't get rid of the warning. Doesn't…
»
Mārtiņš Možeiko
Oh, my bad - instead of removing "-EHa-" you need to change it to "-EHsc".
»
Jesse Coyle
hmm. well getting rid of the -EHa- switch didn't help as far as fstream, got the same warning, mu…
»
Mārtiņš Možeiko
This totally makes sense to me. It is not discussed later episodes.
»
Mārtiņš Možeiko
You can not use C++ I/O classes (fstream) in Handmade project, because it disabled C++ exceptions…
»
Daniel Bartholomae
Hi there, I just finished day 17 and was wondering about the dead zone for the stick. The way Ca…
»
David Owens II
It's called a unity build. There are no other object files created that need to be linked together.
»
Tim Liou
Hi, all! First, Sorry for my poor english. I just finish Day 11 of Handmade Hero. I really love …
»
Jesse Coyle
Does anyone know how to use Casey's File I/O, or tell me if it is even capable of what I'm trying…
»
Krzysiek
Generally when you read keyboard input you can have two different approaches. In games you typic…
»
Jesse Coyle
To be honest, almost word for word, my win32 is the same as Casey's, so you're actually almost ri…
»
Kknewkles
1) Sorry for implying the copy-paste. 2) I have no idea what the hell happened there, the pieces …
»
Casey Muratori
At the limit you probably want to optimize for arrays and structs that are 16-byte friendly all t…
»
Jesse Coyle
I think the problem is that the key is down, and every frame it looks at the controller and sees …
»
Dale Kim
Ah, yes, that pretty much discusses my problem very thoroughly. Although, it seems a bit iffy to…
»
Patrick Lahey
This was discussed a bit in this thread. You might find the comments there useful.
»
Dale Kim
In my own projects, I've been trying to write code where I request all the memory for my applicat…
»
Mārtiņš Možeiko
There is one more level below Xlib. Newest versions of Xlib library use XCB to perform its work: …
»
Pete
I am trying to find a good answer to what the native API is for doing GUI applications in linux. …
»
Kknewkles
Day 6, 42:30 - Casey starts coding the keyboard input. From what I remember, while you hold the k…
»
Jesse Coyle
I've tried it, Got rid of the wasdown != isdown check, and made keyup serperate as well as vice v…
»
Krzysiek
Casey's processing of these messages is clever indeed. You can try something simpler, you can pr…
»
Matej Kac
If anybody is interested, I have added the ability to download assets from sendowl and pre stream…
»
Jesse Coyle
Is this a loss cause? I still need help. I need to move on to other stuff, so I may just instead…
»
Mārtiņš Možeiko
Answering second part of your question - "rendering and updating in one function" doesn't mean th…
»
Burmi
Hello Everyone, I started to watch the Videos of Casey a while ago and I'm currently at Day 16 - …
»
Jesse Coyle
Ah, so in place of WasDown != IsDown I should do: ((Message.lParam & (1 << 30)) == 0) r…
»
Mārtiņš Možeiko
I don't see your source, but on WM_KEYDOWN MSDN page for bit 30 it says:The previous key state. T…
»