333 reputation
13
bio website alexanderbrevig.com
location
age 25
visits member for 1 year, 5 months
seen Apr 8 at 23:28

I am a musician, a developer and I love to cook. I also run my own business as a sound engineer. Core member of http://wiring.org.co/


Feb
2
comment Unity Mecanim Glitch
You should read this: docs.unity3d.com/Documentation/Manual/RootMotion.html The anim.SetFloat("Speed", 1) should trigger the correct animation, but it's not given that it will actually move your model.
Jan
27
comment How can AI compute movement in 2D games
Are you constrained to a grid? Does the AI know where the player is, or should the AI 'explore' the game field? Do you need to predict where the player is going, or is a simple 'straight towards' strategy (heuristic) sufficient? Should the AI try to not get hit? That's a few questions for you :)
Jan
20
awarded  Commentator
Nov
20
comment Establish a person's genuine interest in game programming
Extremely late comment, but I believe the length of my post sums to about 1137 bytes. At least in UTF-8 ;)
Nov
20
awarded  Yearling
Apr
9
answered Establish a person's genuine interest in game programming
Dec
30
comment Is there an optimum set of colors for 10 players?
This does not take color blindness into consideration I presume? A very interesting answer none the less.
Nov
27
comment How do I calculate distance from a point to a rectangle?
A measure of distance is already implicitly there. if (d2<10*10) {/*within 10 units of measure*/}
Nov
26
answered How do I calculate distance from a point to a rectangle?
Nov
24
comment map data structure in pacman
This would only be a logical representation of the model. How you choose to render it is entirely up to you. If you need a fined 'resolution' let's say you want to be able to have three 'dots' in one 'wall width' then simply use three characters as the with of 'one unit' and as such a solid horizontal wall would go from (###) for the three first to ex ( # # # )
Nov
24
answered Triggering State Changes with Health Counter
Nov
24
answered map data structure in pacman
Nov
20
awarded  Editor
Nov
20
comment Issues with shooting in a HTML5 platformer game
I actually did not know I could edit, it's done now
Nov
20
revised Issues with shooting in a HTML5 platformer game
added 376 characters in body
Nov
20
comment Issues with shooting in a HTML5 platformer game
if your API does not support a function that returns true just when the fire button is pressed you can have a look at my other answer with pseudo code. If it does, then it's much better to use it directly
Nov
20
answered Issues with shooting in a HTML5 platformer game
Nov
20
awarded  Teacher
Nov
20
answered What are the most common AI systems implemented in Tower Defense Games
Nov
20
answered How to track many in-game statistics