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.
Handmade Network»Feed
Livet Ersomen Strøm
5sw It doesn't matter what you perceive the speed to be, you can only trust actual measured dat…
»
Patrick Lahey
It would be helpful to have more information. Depending on how you are handling events you might…
»
Patrick Lahey
Clearly I misunderstood what you were trying to say. My mistake.
»
Andrew Bromage
Kladdehelvete Yeah. But who decide if it looks right? The artist, usually. Certainly someone who …
»
Andrew Bromage
It would buy us a lot of performance. System memset() functions are far better tuned to take adva…
»
David Owens II
That's what I'm doing. I have a snapshot.mem file that contains the initial state, then an input.…
»
d7samurai
rathersleepy Not quite. The compiler automatically pads out any struct that contains something re…
»
Patrick Lahey
@Kladdehelvete On intel there may be no real world consequences to ignoring alignment. On other…
»
Patrick Lahey
@d7samurai You imagined if we perhaps had a Foo like this (with no padding), right? struct Foo …
»
Sven
Kladdehelvete I have tested jumpaligning, codealigning and data alignment on my entire codebase, …
»
mojobojo
I watched Handmade Hero Day 023 - Looped Live Code Editing and had me wondering why you would rec…
»
Livet Ersomen Strøm
d7samurai I'm not so sure. First of all, for that to be the case you would have to make sure tha…
»
Livet Ersomen Strøm
Pseudonym73 Hollasch's Law states that computer graphics is the only area of science where if i…
»
Rowan Crawford
I recently added the ability to sequence a series of timed actions to my game, mostly for the pla…
»
Livet Ersomen Strøm
I have tested jumpaligning, codealigning and data alignment on my entire codebase, and found zero…
»
Fred
In episode 65 Casey wrote the functions ZeroSize/ZeroStruct to initialize all the bytes in a cont…
»
Gafgar (Anders Davallius)
In our game we use a system where the "damage" event can return a value to tell the bullet/damagi…
»
Casey Muratori
I should be more specific: the idea is to be able to control what happens with hits, so the engin…
»
Casey Muratori
The reason it is better on The Jeff and Casey Show is because that is recorded with an actual stu…
»
Casey Muratori
Actually, I think we can still solve the scalability problem with simulation regions. A simulati…
»
Casey Muratori
Yes - mod can be very expensive. Masking is almost always significantly cheaper. But, obviously…
»
Casey Muratori
Typically, for things you care about, you always 16-byte align them, and for things that you don'…
»
d7samurai
Kladdehelvete yes, but thats what i got too, unless I misinterpret. thanks for answers. I'm not s…
»
Andrew Bromage
Kladdehelvete I even find it to be easy to grasp, yet I would never come up with it, [...] Very, …
»
Livet Ersomen Strøm
I love seeing people code, as I am starved with that, so from my view if takes 5 yrs, then it be …
»
Livet Ersomen Strøm
midnight_mero My first thought is if you use a periodic function like sin your content will be p…
»
Livet Ersomen Strøm
d7samurai So I do not have to keep track of their position I think perhaps the OP wants a persis…
»
Livet Ersomen Strøm
midnight_mero If I understand your question right, then yes. Using functions is a common method f…
»
Livet Ersomen Strøm
Pseudonym73 One thing that's worth mentioning about starfields is that if you're not moving throu…
»
d7samurai
So I do not have to keep track of their position I think perhaps the OP wants a persistent, movi…
»