Keep in mind that cocos2d uses virtual functions. For those to work, the object's virtual functio…
I can't speak for cocos2d, but do make sure that allocations are appropriately aligned. What const…
I tried this method with cocos2d and it didn't work out. there was some initialization problems an…
Thanks for the info! :-) Cheers, Jeff
Games with custom engines tend to use a lot of special-purpose memory allocators. Just as an examp…
Sophie —
Hi all! About three weeks ago, a friend IMed me the trailer for Handmade Hero. About a week later,…
Dont worry I started at about 32 and have been developing professionally for 4+ years im 38 now. B…
You need to bind a command to something like so it will run the Handmade Hero build.bat script.Ca…
Typically you pass in a memory arena to every function that either directly allocates memory or mu…
nikki —
Yeah I think C is not as beginner friendly as let's say Python or Java.
thanks! I´ll have a look :D In the preface it smacked me with: LCTHW will be for beginners, but …
nikki —
I am learning the basics from and I think it's a great resource to have alongside HMH when your c…
nikki —
Hi to get up to speed with C I am following offcourse a big part of C is writing these custom dat…
Hi, i have just starded watching the Handmade Hero Series. I wanted to set up my stuff exactly as…
First of I just want to say thanks for doing such an amazing thing as you are doing by sharing you…
The problem with this analysis is that the game never sleeps for 1/30th of a second. It only sle…
Logo —
Sorry if this has been brought up and/or fixed, I'm late to the party and only on day 20 or so. Pl…
Ah, thanks. I was confused because there was no way to tell how much audio to write until the next…
Yes, you need to introduce some latency. Not whole second though. But something like 1/2 or maybe …
Does anybody here have experience using WASAPI for audio? I've run into a problem with it: So in W…
Thanks for your tips, guys :) Nothing special, but it did throw me for a loop a bit. And well, one…
Correct. And sorry for misunderstanding your second question!
Yes, he has mentioned he uses metaprogramming for that. C code that generates C code. Here's one d…
Casey said in an early episode that templates is mostly useless and that he don't use them. Have h…
In such case you are accessing completely different variable. If you put something as "static" in …
I understand what define does. What I don't understand is how come the variable in a header file, …
will replace every word called back to , and this happens the compiler starts running. It has …
Oh. DLL file has path to pdb file embedded inside. If you would open DLL file in hex editor you sh…
The PDB is an option supplied to the linker, so probably the linker sets this filename somewhere i…