Proud

Posted by (twitter: @ZepCap)
August 25th, 2013 6:08 am

After hours of thinking about this, while showering, running, sleeping, coding other stuff, then finally, my proudest achievement in this weekend:

P = NP

So. Simple.

(it changes the 8-way movement of a topdown character so that when he moves diagonally, he doesn’t move faster than when travelling vertically or horizontally.)

Tags: ,


One Response to “Proud”

  1. rxi says:

    I always just check if both velocity.x and velocity.y are non zero (like you’re doing), then times it by 0.7ish… I am not a man of math.

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]