3,398 reputation
1819
bio website
location Los Angeles, CA
age 36
visits member for 3 years, 9 months
seen Mar 28 at 17:28

I am a former video game developer who now makes enterprise software solutions as my day job and small game projects in my spare time.


Aug
20
comment What are typical job interview questions related to game development?
@leetNightshade I will see if I can dig a new one up but yeah, it kind of went away.. it was about building on on-stack queue system using as few bytes as possible.
Jun
11
comment How to know when a bullet has hit its destination in a game with a fixed timestep?
You can give that a try, there is certainly not a single answer for this. I just fear that would give odd side effects down the road. I would not want my bullets just vanishing mid flight at odd intervals.. Would make me start to wonder what was going on.
Jun
10
comment How to know when a bullet has hit its destination in a game with a fixed timestep?
@tieTYT If your bullets travel Instantly, then yes, whatever you are aiming at will be hit immediately and you can just show the impact there. However, it sounds as though the bullets take time to travel. If that is the case then you will not know for sure you hit something until the bullet travels and you have then collide with an object.
Jan
4
comment Compile-time checking for component-based, data-driven games
I see making an easy interface to access an attribute of an object via templates just a rewrite of what the basic C++ language gives you already with you having to write all the handling code.. like what you are doing above. It is all about finding the balance between as abstract as the language itself or tied down to a class hierarchy and where you want your code to be between them I guess.
Nov
27
comment Overriding component behavior
@Mitchell I guess we just will have to disagree then.. I have always seen components as something you tailor to the game/application in question. Sure you gather a nice collection of them over time depending on how many projects you use/reuse the system for, but the entire point of component system to me is to create more complicated objects out of simple and specific smaller objects.
Nov
20
comment Overriding component behavior
@Mitchell That all depends on the game really. If your armor is nothing more than extra health like in the old Doom/Quake style games then splitting these things apart would be a complete waste. Your components should match your environment and game.
Nov
3
comment Faster 2D Collision detection
@VincentPiel I think you meant to @ your comment to Cypher instead of me here. Anywho a quad tree is just a type of scene graph and you have to remember you are running at X frames per second. If you are noticing missed collisions then you need to adjust your range thresholds to better balance things out. My solution is just a very simple approach of making sure you only check things every frame that have a chance of being collided with and then doing background/limited updates on the rest to see if they qualify for a higher priority yet.
Nov
3
comment Faster 2D Collision detection
Yeah, a quad tree is just a type of scene graph really. I just always assume that people who are here want to write things themselves, not use someone else's library in which case why stop at a quad tree, just find a complete collision library.
Jul
30
comment Physics System ignores collision in some rare cases
A common thing to look into for things like this is when the object gets either enough velocity or acceleration to completely pass through what it would collide with. I can not say this is what is happening here so I can not give this as an answer. You can check to see if the object was ahead of you and is now behind you then go through the dt in smaller increments to find out when and more precisely where it hit if this is the case.
May
11
comment C# Perlin noise - generating “endless” terrain chunks?
I thought Simplex was only faster in higher dimensions than 3 or 4 over perlin noise? That Perlin put together Simplex specifically to compensate for the higher dimension slow down his original algorithm ran into.
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
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
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
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
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.