2,112 reputation
822
bio website
location
age
visits member for 2 years, 10 months
seen 10 hours ago

Sep
11
comment animate a drawn 2D image to move
If you pull this off and release it into the wild, be ready for a LOT of animated penises and swastikas.
Sep
11
answered How to decompose sprite sheet
Aug
27
answered Inputting cheat codes - hidden keyboard input
Aug
17
comment How to Use Images Instead Of Drawing Primitives
Yes, it's possible.
Aug
16
comment Trying to generate some unique numbers
The main problem of your algorithm is that it can't work. Look at the for-loop. It essentially says if(A) { break; } else { break; }, so it will always break at i==0 and never execute twice or more, so you don't ever run through your whole array. So all you do is compare your new random numbers with the first one you created, and you insert it if it's different to the first one.
Jul
28
answered What can I do with an old XNA game?
Jul
24
comment Famous 2D tile-based game?
I understand the question such that you are looking for free 2D tile art. You may want to look here.
Jul
17
revised Reset timer in XNA
added 827 characters in body
Jul
17
comment Reset timer in XNA
@J.Steen Ah ok, it only happens when the total TimeSpan is negative though.
Jul
17
comment Reset timer in XNA
The problem for checking seconds==59 is that only 59 seconds have passed when the check succeeds - the question is to check for exactly 60 seconds, and because of the wraparound 0 seconds == 60 seconds, so you have to check for the 59 -> 0 transition
Jul
17
comment Reset timer in XNA
@J.Steen Could you provide a code sample to set .Seconds to -59?
Jul
17
revised Reset timer in XNA
deleted 38 characters in body
Jul
17
comment Reset timer in XNA
Right, silly me as well.
Jul
17
revised Reset timer in XNA
added 222 characters in body
Jul
17
comment Reset timer in XNA
TotalGameTime.Seconds is an integer, so yes, it can be exactly 60.
Jul
17
answered Reset timer in XNA
Jun
18
revised Is the city of the GTA, L.A. Noire, Assasins Creed or Saint Row games considered a level?
added 382 characters in body
Jun
18
answered Is the city of the GTA, L.A. Noire, Assasins Creed or Saint Row games considered a level?
Jun
13
comment How do I determine if one polygon completely contains another?
Funny enough, while teodron's and knight666's are wrong individually, when combined, they should give a right answer. If all points of a polygon are inside another, and if their lines don't intersect, then the first poly is completely inside the other.
Jun
5
comment Delaying a Foreach loop half a second
Thou shalt not use foreach() in a performace-critical part of software, for it is less efficient than for(). It may not be a big difference, but in a game, every bit counts.