10,319 reputation
32556
bio website bobobobo.wordpress.com
location Canada
age
visits member for 3 years, 9 months
seen Mar 30 at 0:43

Dec
21
answered breakout game, computing optimal ricochet angle of a ball to get to a certain point
Dec
18
awarded  Popular Question
Dec
14
answered How to set speed of circular motion
Dec
8
answered Alternates to scratch damage to solve combat deadlocking
Dec
1
comment What is the standard way to synchronize sound effects with sprite animations?
Yes, that would work. If you were using JSON, I'd suggest a datastructure like { 'images':'sprite-%02d.png', 'beginRange':1, 'endRange':32, 'sounds':{ 0 : 'startSpell.wav', 30 : 'impact.wav' } }. If your game is very early stage and compile time is still low, you can start by hardcoding the data structures in to see if it works.
Dec
1
comment Tangent on generated sphere
There are infinitely many tangent vectors in 3D, because actually the "tangent" at a 3-space point is a tangent-plane
Dec
1
revised What is the standard way to synchronize sound effects with sprite animations?
added 587 characters in body
Dec
1
comment What is the standard way to synchronize sound effects with sprite animations?
@Jamornh You could also queue an event for "play explosion sound 30 frames from now", the easiest way to do this is using a callback function. I'll detail this in my answer.
Dec
1
answered What is the standard way to synchronize sound effects with sprite animations?
Nov
30
comment Role of systems in entity systems architecture
Do you know what this is? Storing type information as bit field flags, instead of using concrete types. While this is insanely more efficient than RTTI, something still bothers me about this being considered an "OOP" approach by some. It isn't OOP, but if it works well, so what, maybe it's it's own paradigm.
Nov
28
awarded  Nice Question
Nov
28
comment Tutorial text without annoying user?
I hadn't read that, but the tutorial is interactive, with a few instructions about what to do next.
Nov
28
answered Tutorial text without annoying user?
Nov
28
asked Tutorial text without annoying user?
Nov
26
answered What is the advantage of binary FBX files over ASCII ones?
Nov
24
revised Why swapping buffers takes different amounts of time?
added 291 characters in body
Nov
24
answered Why swapping buffers takes different amounts of time?
Nov
23
comment How can I include vertex color information in .OBJ files?
@NickWiggill PLY is not necessarily a good choice -- maybe you haven't heard of it for good reason. It's much more complex than OBJ and it allows more flexibility than one would reasonably need to use for a static model. If you need additional flexibility, maybe you should use a more popular file format with well-established parsers, such as COLLADA
Nov
23
comment How can I include vertex color information in .OBJ files?
Oh, I see. They tacked on the per-vertex color as 3 floats after the v vertex position specification. Clever way to (hopefully) not break compatibility with existing OBJ parsers.
Nov
23
revised How can I include vertex color information in .OBJ files?
added 84 characters in body