Fred —
Right, I just saw that. Ah well...
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…
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…
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…
Thanks Finalspace and Casey for your responses.
Finalspace, I didn't realise before that specula…
No problem.
When debugging remember to verify every single assumption you made if you find that s…
Hahaha!! Yes, that is the very problem... I looked at the old version of the function again and f…
What does "the distance it has to travel to get to the end of the allocated block is not constant…
That's the very thing that is so strange about the bug! That was the first thing I did and it is …
Hm, hard to see what is the problem.
Use the debugger - put assert before statement that crashes:…
Sure, here is the whole function for context but I'll excise the parts you requested and put them…
Show us more code. How BitmapAccess and BitmapPixelOffset is declared and how values are calculat…
EDIT: Thanks Mmozeiko! Bug found, not nearly as insidious as my ego would have hoped, turns out t…
EDITED: sorry, nevermind! :dry:
Yeah, looking forward to :woohoo:
Lenny —
This is relevant as Casey has worked on this game. Congrats!
http://www.reddit.com/r/AskReddit..…
I think the calculation is like this:
sprite_width_px = sprite_width_meters * screen_width_px / …
It's the focal length that was the surprising thing to me, not the camera distance, but I guess m…
Well, there's just a lot of stuff to talk about here, so I'd rather wait until we go do the final…
elle —
I figured out the problem because I understand it now, thanks in part to you.
The bug wasn't obv…
Yes, the room is several meters wide so viewing it from 20m distance makes sense.
My first thought was that the z value which is 1.0f hardcoded gets multiplied by 1 over some mete…
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 …
We will cross that bridge when we come to it, but in general I suspect we can solve it by just ha…
What do you mean - only use x and y coordinates? Then how will you know where to access screen in…