Reputation
3,466
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 10 20
Newest
 Enlightened
Impact
~117k people reached

Apr
25
comment how to create a new game like pacman, snake, airplane fight game in C# with xna
@dennmat It may be a bit broad but so far I think it has produced two questions with some useful information in it :)
Apr
25
answered how to create a new game like pacman, snake, airplane fight game in C# with xna
Apr
18
answered How do I implement delta-only data packet updates in UDP?
Apr
17
comment What's an appropriate difficulty scale for weapon efficacy vs difficulty to obtain?
I am not sure I have ever seen the term Fun and Grind in a sentence before that wasn't derogatory.
Apr
16
comment My bullet fails to move as it should
@CarloRodriguez Then that means you are still only updating the bullet when you are doing the code that says you are touching the screen.
Apr
16
comment My bullet fails to move as it should
+1 for including enough source code. When finding weird logic issues often there is not enough to see what could be the cause.
Apr
16
comment My bullet fails to move as it should
@CarloRodriguez You call it once when it is fired, so it gets Updated, once.. You never call it after that so it will never update the position. When you tap again its going to fire a New bullet, the previous one will be gone to the wind. It will then update the new bullet as it did the first one. Again this will only happen Once.
Apr
16
comment My bullet fails to move as it should
Apologies, I meant the Draw of the Humvee only calls Draw on the last fired bullet (as firing again will replace any existing bullet).. I typoed there. the Humvee Update does what you say, just shoots a bullet.
Apr
16
revised My bullet fails to move as it should
More detailed explanation.
Apr
16
comment My bullet fails to move as it should
Your logic is also flawed a bit The Update of the Humvee only calls Draw() on the bullet after it shoots it out.. It also does not call update so your description is a bit off as to what is happening.
Apr
16
answered My bullet fails to move as it should
Apr
16
revised How would I achieve diablo like 2D isometric projection?
Expanded the image link as it is a small enough image. I then unwrapped the text from around the image. Also removed greeting
Apr
16
comment How to get the path of a file after publishing my game
The above link shows you how to get the path to where the exe that is running is currently located. You can then just put the txt file in the same folder or a sub folder from the EXE.. I did not post this as an answer as it seems odd when its just a link to another answer. (Sorry for the double comments. I hit enter when I did not mean to.)
Apr
16
comment How to get the path of a file after publishing my game
stackoverflow.com/questions/52797/…
Apr
12
awarded  Talkative
Apr
11
answered 2D Particle Explosion
Apr
11
comment What algorithm can I use to detect simple shapes in a 4x4 matrix?
@Ion Wish we could chat but since we can not, my suggestion for the algorithm then is to loop through the matrix for each color building up a bit mask as above in the answer for that color and compare it against a list of known shapes (if the list is long a switch statement will help with speed and also let you map multiple masks to the same shape (a square in any corner for example is still a square maybe). With out knowing more exactly what you are doing I do not think I can give any more insight on this topic and will just remove my answer. Let me know.
Apr
10
comment What algorithm can I use to detect simple shapes in a 4x4 matrix?
@ion are the 'valid' shapes unlimited in variation and only limited by the size? and if there is no difference between a shape made up of a single color or multiple colors, at least as far as detection of the shape goes, I would still suggest simplifying it down to an off/on pattern for the detection. You can also always extend the size you want to go simply by adding in another integer to hold more bits (integers are just bit arrays of a set size is all). As long as the valid 'detectable' combinations are limited I would go with something like above for speed/maintainability.
Apr
10
answered What algorithm can I use to detect simple shapes in a 4x4 matrix?
Apr
10
comment What should I use (controls, methods) to make a 2D tile based map editor?
Sounds like you are actually loading the graphics of your entire map at a single time into the control and then panning it around.. Traditional tile engines will want to only draw enough of the tiles to fill the screen plus one set of border tiles so you do not see tiles pop in and out. The point of a tile engine is to load the set of tiles once and use them to draw over and over again.