10,851 reputation
42863
bio website bobobobo.wordpress.com
location Canada
age
visits member for 4 years, 5 months
seen Dec 13 at 13:09

Jan
4
comment Should widgets be part of a scene in a 2D game?
I didn't implement say, text that can map to a 3d point. But if you wanted to, it would be a fairly simple projection (from 3-space, to a point on screen). You could then have the touchable track that point.
Jan
4
comment Should widgets be part of a scene in a 2D game?
Widgets are movable. There is an interface where widgets can be dragged. They also slide in, (messages from the top), so most of the props in the base class get used.
Jan
4
comment Should widgets be part of a scene in a 2D game?
I put screenfuls of Touchables in containers called Panels. (That's where this question came from). Multiple Panels can be overlaid on top of each other and they can each "transition in" and "transition out". Each menu screen is placed in a separate Panel. The ship dash controls and HUD are distinct panels as well.
Jan
4
answered Should widgets be part of a scene in a 2D game?
Jan
3
comment Value of the Game Institute Courses
While we're at it you forgot to add ONLY $49 UNTIL 1/31!! BUY NOW!!
Jan
2
answered Perlin Noise Help
Jan
1
comment Questions about alpha blending
Where do you see (as, as, as, as)?
Dec
29
comment How can I draw a perspective-correct quad?
Before you try anything else, make sure your texcoording is not wrong. Try a non-symmetrical image and see if it doesn't come out chopped in the middle.
Dec
28
answered Simulating (Human) Needs?
Dec
28
comment What is the value of gameTime.ElapsedGameTime.TotalSeconds?
@MesutDarvishian If you are looking for that time interval that passed since the last frame, you really should just use 1./60. (fix your timestep)
Dec
24
comment How to Make Games Faster (Without Sacrificing Quality)
This is actually called The Iron Triangle!
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?