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
owensd The day the compiler validates my comments with the surrounding code is the day I will bel…
»
popcorn
I might have some errors in my Objective C code but I'm not sure about my Cocos2D 2.(insert long …
»
David Owens II
C0D3 I This makes sense but then again, somebody who is scrolling though the code fast and don't …
»
popcorn
I kind of like his Notes and TODO because we I can tell between what type of comment it is and wh…
»
David Owens II
Objective C for OS X doesn't have garbage collection; it's been deprecated for a long time now an…
»
Casey Muratori
We'll move it outside tonight so it's not a problem. Either way, thanks for posting!! - Casey
»
popcorn
I don't know if you tried Unity C# on a OSX. It seems like if wrote the code above, it would work…
»
David Owens II
I think many of those comments are actually pretty terrible comments. The comments that tell you …
»
Simon Anciaux
The check to see if we use the keyboard is wrong. It checks for isAnalog and that variable is onl…
»
Benjamin Schnur
Thanks for the tip Casey, and for the example, MrMixer. The game would hang for a couple seconds …
»
Dejan
When we are a few more weeks into the series I can see this being useful for finding when a certa…
»
Dejan
I actually think the code is too verbose! IMO, its easier to read code using much shorter names f…
»
norswap
asperatology: I think that's sometimes true, but you can't generalize that to dismiss all readabi…
»
Iker Murga
I have a couple of questions for anyone that might be using the summary illustrations, in order t…
»
Jari Komppa
Some people are so afraid of bugs of that kind, they write the comparisons in reverse order (whic…
»
Jari Komppa
Vast majority of US patents are invalid, especially if they'd follow their own rules about them (…
»
Mārtiņš Možeiko
Unity C# and regular C# work the same if talk about memory management and garbage collection. The…
»
popcorn
OH WAIT A MIN, I made a mistake, I assumed that Unity C# and MS C# work the same way? I fixed tha…
»
Pierre-Alexander Eidam
When I checked alst time (cannot double check at the moment) it did execute 5 times per “GameUpda…
»
Casey Muratori
Right now it's actually fine because we only have one digital controller so if I'm not mistaken i…
»
Flyingsand
C0D3 I also tried in Objective C and Coco2dx class Gameobject { CCSprite* cc; } cc = CCSprite…
»
Livet Ersomen Strøm
I think Casey puts LOTS of comments in the stream, and he uses also very long and descriptive nam…
»
Thompson Lee
I like to make a bad analogy. Messy code is actually caused by three things: 1. The passion of …
»
Livet Ersomen Strøm
DaleKim Personally, I think you're not giving enough credit to Casey and other programmers like …
»
Mārtiņš Možeiko
I'm not very familiar with memory management in ObjectiveC, but in C# there is no way such code w…
»
popcorn
mmozeiko GC never deletes variables that you use. It only frees memory from variables that are no…
»
norswap
Some people mentioned they thought the code was messy. Casey addressed that on the stream of day …
»
Andrew Bromage
DaleKim I used to think C++ was a very nice language. That changed when I tried to make a game. …
»
Marsvin
Ah good call, I completely forgot about the readfile functions. It was referring to __FILE__ in h…
»
Mārtiņš Možeiko
I think at one point in GameUpdateAndRender fucntion Casey was reading (for debugging purposes) h…
»