Reputation
2,253
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
11 22
Impact
~60k people reached

  • 0 posts edited
  • 12 helpful flags
  • 38 votes cast
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.
Jun
2
comment How do I implement fog of war in a tile-based game?
@Sigh-AniDe Look, I'm writing my answers based on your questions. I am spending my time to help where I can. I cannot read your mind, so in the future, please ask only what you really want, not something that may or may not help you. I don't know about others, but I hate wasting my time.
Jun
2
comment How do I implement fog of war in a tile-based game?
@Sigh-AniDe The tutorial you linked to does something else than what you asked for. You asked for a fog of war that only illuminates a tile adjacent to the player (and maybe the tiles you already visited, you didn't specify that), not in a circular area around the player. If you are asking for a circular area of light, you need to change your question.
Jun
2
revised How do I implement fog of war in a tile-based game?
deleted 198 characters in body
Jun
2
revised How do I implement fog of war in a tile-based game?
added 431 characters in body
Jun
2
answered How do I implement fog of war in a tile-based game?