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.
Mārtiņš Možeiko
Yeah, this is C++11 thing. If you use member initialiation like this, then C++ compiler generates …
»
Vadim Borodin
Hey guys! I am trying to implement sound output using OS X CoreAudio APIs. The problem is that Cor…
»
Ville Penttinen
Most likely this is due to
»
Vincenzo Auteri
Oops, I actually was setting a value for facingDirection inside the struct declaration itself. Fo…
»
Benjamin Kloster
Do you happen to have nested structures inside your Entity? If yes, those will get nulled recursi…
»
Vincenzo Auteri
In handmade.cpp } [/code] If I'm not mistaken, every time we add a new entity we are supposed to …
»
Casey Muratori
Yes, I know about these two options but I do not prefer them. It's very simple to just insert cod…
»
Mārtiņš Možeiko
Here's one more trick I often use when debugging with Visual Studio. If you missed execution of so…
»
Dale Kim
In my own experience, preallocation often bought substantial and measurable speed improvements. M…
»
MICHAL VALOVCIK
Hello Casey, just watched the 50th episode and saw you debugging a loop and wanted to point out th…
»
Casey Muratori
Roger that - we'll try to take care of this on Monday's stream. Somebody remind me in the Q&A :)C…
»
Livet Ersomen Strøm
The way I see it, you both suggest a combination of the two strategies. As you both see their limi…
»
Mike Oldham
I would love to second this. I just threw the latest code in and my code errors here as well. I ca…
»
Fred
I'm torn... Another possibility is that instead of storing world coordinates as int+float, we can …
»
Casey Muratori
We already implemented that - that is what the looped live code editing does.Casey
»
Casey Muratori
The reason is because I am not a game designer, so I don't want to bring game design into the proj…
»
Mārtiņš Možeiko
I'm pretty sure any hardware from at least last 10 years will allow to set vsync. As for waiting f…
»
David Owens II
Here's my take: It's simply not feasible to have a discussion with hundreds of people, especially …
»
mallardz
Shouldn't we just reset LastCounter at the end of our Sleep to keep measurements consistent? [/qu…
»
mallardz
Towards the end of our loop: Doesn't this ignore the time taken to process Win32DisplayBufferInWi…
»
Jari Komppa
Apologies if I came across as confrontational, that wasn't my intention - just wanted to point ou…
»
ZenSoturi
You're assuming audio plays at exactly 48khz. You're assuming frame rate is exactly 60hz. You're …
»
Jari Komppa
One thing I'd like to point out about all these calculations.. You're assuming audio plays at exac…
»
ZenSoturi
I actually think that audio hardware doesn't play any role on this latency issue (on Windows OS). …
»
Lenny
Would it be helpful to record keyboard input to a file so that we can replay it later to reproduce…
»
Vadim Borodin
Flyingsand, thanks for mach_wait_until(), I missed it for some reason. I am using plain usleep rig…
»
Nate Ungrodt
So I'm watching the YouTube archive to catch up, just got past Ep18 and have come across the same S…
»
Mārtiņš Možeiko
Rising priority will help only if our application is missing target frame time because of other ap…
»
Flyingsand
I've been wondering about this too, and came across the same info on thread priority. I briefly tr…
»
Troncoso
Once you've saved a script, go to Plugins > NppExec > Advanced Options At the bottom left, There i…
»