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
Hey guys! I am trying to figure out what would work best for everyone in terms of the Handmade Her…
»
John Meyer
We'll definitely be hitting this stuff much harder when we try to do the shipping Win32 layer.Cas…
»
Casey Muratori
That is always going to be true, though, since we always write from the last place we stopped writ…
»
Patrick Lahey
Here is frame rate data for a case with popping. It from the day 25 code. My previous output had…
»
Ruy Calderon
This may be going down the wrong path, and I apologize if so, but are you setting TSine = 0 in Han…
»
Patrick Lahey
Something very weird is going on. I recorded all of the samples that we place into the sound buff…
»
Erlend
Just watched a couple of video talks about c++ game development and thought it was very interestin…
»
Filip
Thanks, I actually tried that but it doesn't make any difference as far as I can tell. Might be wo…
»
Mārtiņš Možeiko
I think on Linux you could use fallocate function to allocate space in file. On OSX fallocate does…
»
Filip
Another approach is to seek to the end of the file descriptor and then write a single byte to real…
»
Casey Muratori
Yes, as you suspected, I will be showing how to do this when we get to hardware acceleration later…
»
Casey Muratori
(also, are you running vcvarsall.bat?)Casey
»
Mārtiņš Možeiko
Sorry, I don't have Windows on same hardware as Linux. And I think its pointless to do that, beca…
»
Livet Ersomen Strøm
Nice and interesting post. Can you test the Linux build against the Win build on the same hardware…
»
Filip
Ok, I switched to mmap mostly since Casey started to map files on the windows side. It works fine …
»
Steve Olsen
The way casey architected the game layer gives a lot of power. Because it only uses the passed in …
»
Livet Ersomen Strøm
Holy mother of God! 30 minutes? OMG. It's even worse than I thought then. My pet solution compile…
»
Livet Ersomen Strøm
Thank you for confirming this. :) I think there is an API to help with this. SetProcessWorkingse…
»
Mārtiņš Možeiko
Then you should be fine. Have you run shell.bat file? Can you show output of following command: "e…
»
The_8th_mage
I'm using 2013 ultimate
»
Mārtiņš Možeiko
Are you using Visual Studio 2013 Community Edition to compile, or something else?
»
Mārtiņš Možeiko
After watching Day 25 I want to comment on memory bandwidth thing. I seriously doubt any code will…
»
The_8th_mage
I tried to run the very first program casey made, include wibdows.h and winmain, but when i cled i…
»
matra
Here is an interesting article: , which shows that for intervals less than 10ms, sleep can be pret…
»
Dghelneshi
I also have this problem, but subtracting from the sleep is not enough on my system. I actually ha…
»
Casey Muratori
This is very interesting and good to know. We should probably put some kind of rate control into …
»
Chris
I can confirm that Sleep is sleeping very slightly longer than requested. My FPS was regularly di…
»
Ville Penttinen
Getting VS to compile the DLL project while debugging is annoying. One way to do it is to setup a …
»
Tom Montgomery
I've been trying to keep both the build.bat, and a Visual Studio version going at the same time. I…
»
Tom Montgomery
I've had a similar problem. I'm on windows 8 if that helps narrow it down? I found that just reduc…
»