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
How using C++ with virtual interface is simpler than regular C functions? 1 2 3 4 5 6 7 8…
»
Ritchie Brannan
If you are prepared to use a little C++ this can be a lot simpler. Create a pure virtual interfa…
»
Roderic Bos
Thanks for your answer, luckily I have the code, so when you showed the audio stuff I can run fro…
»
Benjamin Kloster
If code verbosity is what you are worried about, pull the switch statement out into its own funct…
»
Jon Valdes
Well, it's just 1 line of code regardless of how many possible scenes you have. A switch statemen…
»
Casey Muratori
Because there is so much to cover making a whole game from scratch, I had to keep the scope reaso…
»
Casey Muratori
OK, so next obligatory question: what makes it "simpler" to use function pointers instead of usin…
»
Jon Valdes
Hi Casey, They're different "update and render" functions for the different "scenes" in the game…
»
Casey Muratori
So, mandatory first question here: what do you mean by "fixing function pointers after a DLL relo…
»
Casey Muratori
Unfortunately v2/v3/v4 are actually not as optimize-able on SSE as one might want, because SSE is…
»
Casey Muratori
Mostly what I'd say about this is that I'm the wrong one to ask :( I don't really know very much…
»
Mārtiņš Možeiko
If operations you are performing on vX are done in a loop, then yes it makes sense to optimize wi…
»
jeringa
Would it pay to optimise the v2, v3 & v4 etc math to run with SSE? Also there are several pla…
»
Den V
Thank you for your answers. I will check those links out.
»
Mox
Yeah, I know, throwing cycles away isn't my hobby either. But I was merely thinking theoretically…
»
Livet Ersomen Strøm
I think you may be right, but don't know, for sure. Anyways, I found the material in this link pr…
»
Mox
Hi, I was wondering how premultiplied alpha and gamma work together. Particularly if the alpha m…
»
Roderic Bos
The former, like Casey did with the ground chunks. He used precreated images, so for the backgrou…
»
Mārtiņš Možeiko
Are you talking about procedurally/randomly mixing complete sounds to create music, or completely…
»
Mārtiņš Možeiko
I don't know how it chooses that, but you can always see what other threads are doing by double c…
»
Roderic Bos
I was thinking to make handmade hero completely procedurally generated the music should also be g…
»
Benjamin Kloster
Ah, that makes sense. By the way, does anyone here know how VS selects the current thread when pa…
»
Jon Valdes
Hi everyone! When Casey did the dll autoreload system, he said it could be extended to handle th…
»
Matthew
Thankyou so much! That thread thing in Visual Studio is a lifesaver. So, what was happening was …
»
Benjamin Kloster
The dsound.dll in the callstack leads me to believe this is an issue with DirectSound. I'm quite …
»
Matthew
Nothing that seems helpful to me, but perhaps you can make more sense of it: http://puu.sh/h4JHc…
»
Benjamin Kloster
Does your callstack window show anything besides the call into ntdll?
»
Matthew
Clicking the pause button results in VS opening a "No Symbols Loaded" tab calling out "ntdll.pdb"…
»
Benjamin Kloster
Have you tried pausing the program in the debugger during the freeze (the pause button in the too…
»
Matthew
Hello, My build of Handmade Hero has a strange problem where, after running for some (relatively…
»