Reputation
5,638
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 19 42
Newest
 Nice Answer
Impact
~145k people reached

Aug
26
comment A* Path Finding Loops Forever
current won't be null the during the second iteration of the loop, and therefore the 2a loop will be comparing each open node's G to the current G and since (I'm assuming) current's G is smaller than all other G's (which is why you picked it), current will never change. Setting it to null forces the first branch of the loop to occur, grabbing the first node in the open list, then comparing all other open nodes to that instead.
Aug
26
answered A* Path Finding Loops Forever
Aug
20
awarded  Nice Answer
Aug
19
awarded  Yearling
Jul
25
awarded  Notable Question
May
22
revised Torus World Collision Dection
Changed the title to better describe the problem
May
22
answered Torus World Collision Dection
May
7
comment Rectangles clear each other when moving on canvas
Thanks, I mentioned that in my comment, but I have updated my answer
May
7
revised Rectangles clear each other when moving on canvas
On Screen!
May
7
comment Rectangles clear each other when moving on canvas
It seems inefficient to draw everything all the time, but graphics cards are really good at what they do and most per-processing that we think is speeding things up is actually just getting in the GPU's way. I don't know enough about it to describe it well, but I know that GPUs to a lot of optimizing to figure out how to efficiently draw the given scene. Basically: you just just draw everything (on screen) all the time.
May
7
answered Rectangles clear each other when moving on canvas
May
3
answered Basic multiplayer matchmaking implementation
May
3
comment Basic multiplayer matchmaking implementation
Where/who will host the game once the match has begun?
Apr
30
reviewed Approve UDK: Playing two audio tracks simultaneously
Apr
13
reviewed Approve Is sidescroller movement just offsetting the background?, MonoGame/XNA
Feb
23
awarded  Enlightened
Feb
23
awarded  Nice Answer
Feb
11
awarded  Popular Question
Dec
3
reviewed Approve 2D HLSL World position
Dec
3
reviewed Reject Profiling my LibGDX game