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.
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…
»
Andrew Bromage
One more thing while I think about it. Deterministically placing random elements in a procedural …
»
d7samurai
Yes, I think I know what you meant - I just kept your Foo for the sake of simplicity :) You imag…
»
Patrick Lahey
Ok, got it. The 12 byte struct was just an example though. All you need is an odd number of str…
»
d7samurai
I am suggesting aligning each new segment of memory we allocate like that (according to need). By…
»
Patrick Lahey
I'm not quite sure what you are suggesting. If you are suggesting that every allocation be force…
»
d7samurai
And since we're on the topic of procedurally generated content.. This is perhaps the pinnacle of …
»
d7samurai
From the demoscene, here's that 4k demo*, btw: http://youtu.be/AWcbj7ksqwE *And just to be clea…
»
Andrew Bromage
One thing that's worth mentioning about starfields is that if you're not moving through the star …
»
Andrew Bromage
norswap Simple question, why do we do: [...] No need for the size of the array to be a power of…
»
d7samurai
So when dishing out new segments, we can just align them to an 8 byte boundary: 1 2 3 4inline voi…
»
Patrick Lahey
I know that intel CPUs are really permissive when it comes to memory alignment issues (although I…
»
norswap
Simple question, why do we do: 1 2 sim_entity_hash *Entry = SimRegion->Hash + …
»
d7samurai
På fylla i går?
»
Flederfalter
I wonder if I am the only person who notice it. I am very sensitive to acoustics and since I purc…
»
norswap
Okay, thanks for the answers! And in the end, we'll see how it pans out anyway.
»
Sven
Jeff, can you explain why you implemented your example code snippet the way you did? Seems much m…
»