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.
John Lorre
Time for Casey to switch to Linux, we finally got a nice debugger! (Okay, I'm joking about the fi…
»
Fred
Right, I just saw that. Ah well...
»
Kirill Basin
It does not compile/debug C or C++, only highlights syntax. It's mostly for web development.
»
Fred
Msft just announced that Visual Studio Code app, supposedly it's a free editor/debugger that work…
»
Oliver Marsh
hey, I think we eventually changed the Assert to an if statement, so the game only slept if we w…
»
Jay
Hi. I am on day 18 and when I run Casey's code it triggers his Assert on test seconds being less…
»
Mārtiņš Možeiko
On page 5 those symbols don't mean anything. If you look at first equation - (x1-x2)/(y1-y2) = (x…
»
elle
I'm reading the aforementioned articles by Chris Hecker and have a couple of simple questions: P…
»
Nick Kovac
Thanks Finalspace and Casey for your responses. Finalspace, I didn't realise before that specula…
»
Mārtiņš Možeiko
No problem. When debugging remember to verify every single assumption you made if you find that s…
»
Ruy Calderon
Hahaha!! Yes, that is the very problem... I looked at the old version of the function again and f…
»
Mārtiņš Možeiko
What does "the distance it has to travel to get to the end of the allocated block is not constant…
»
Ruy Calderon
That's the very thing that is so strange about the bug! That was the first thing I did and it is …
»
Mārtiņš Možeiko
Hm, hard to see what is the problem. Use the debugger - put assert before statement that crashes:…
»
Ruy Calderon
Sure, here is the whole function for context but I'll excise the parts you requested and put them…
»
Mārtiņš Možeiko
Show us more code. How BitmapAccess and BitmapPixelOffset is declared and how values are calculat…
»
Ruy Calderon
EDIT: Thanks Mmozeiko! Bug found, not nearly as insidious as my ego would have hoped, turns out t…
»
Jonathan García
EDITED: sorry, nevermind! :dry:
»
Finalspace
Yeah, looking forward to :woohoo:
»
Lenny
This is relevant as Casey has worked on this game. Congrats! http://www.reddit.com/r/AskReddit..…
»
Krzysiek
I think the calculation is like this: sprite_width_px = sprite_width_meters * screen_width_px / …
»
Casey Muratori
It's the focal length that was the surprising thing to me, not the camera distance, but I guess m…
»
Casey Muratori
Well, there's just a lot of stuff to talk about here, so I'd rather wait until we go do the final…
»
David E. Weirich
That makes sense.
»
elle
I figured out the problem because I understand it now, thanks in part to you. The bug wasn't obv…
»
Krzysiek
Yes, the room is several meters wide so viewing it from 20m distance makes sense.
»
Roderic Bos
My first thought was that the z value which is 1.0f hardcoded gets multiplied by 1 over some mete…
»
Richard Dagg
Could the problem with the scaling calculation could be that you are mixing real-world-meters (di…
»
elle
In HH, we only have a notion of x and y coordinates, yet, one 'chunk' spans multiple screens. I …
»
Casey Muratori
We will cross that bridge when we come to it, but in general I suspect we can solve it by just ha…
»