721 reputation
37
bio website
location Las Vegas, NV
age 49
visits member for 3 years, 11 months
seen 22 hours ago

I can be reached at lorenpechtel @ hotmail . com


Apr
13
comment Is host advantage real?
It would depend on how the game is programmed. If commands are executed as soon as they are received the host gets an advantage. If commands work on ticks and both host and remote commands have the same tick delay then there's no host advantage.
Dec
24
comment How can I optimize this flood fill algorithm?
I haven't done the math but this feels like O(N^4) to me. You are treating the Contains call as O(N) but it's filled by a O(N^2) loop and thus it might itself be an O(N^2) call.
Nov
23
comment Implementing a homing missile
@Mutoh Real world orbits can be elliptical. I don't think a missile orbit can be, though, as there is no variable attraction with distance.
Nov
21
comment Implementing a homing missile
@Mutoh True, although my gut says that it's in orbit iff the range does not change and the target did not maneuver.
Nov
21
comment Implementing a homing missile
@Mutoh ANY seeker missile can orbit if the situation is just right. Different speeds and turn angles simply change the orbit radius. The only way to avoid this entirely is to have the missile alter it's behavior if it goes into orbit.
Aug
15
comment Can I simplify the inequality “distance(p1, p2) < distance(p1, p3)?”
Yes, my experience is when you're dealing with this sort of stuff a DistanceSquared function is very useful. It's just as clear and avoids the expensive sqrt operation.
Jul
10
comment Simulating pressure in a grid based liquid simulation
@Byte56 Yes. The pressure in the block should be the weight of water above it or being applied sideways when we have a solid surface somewhere above. Too little pressure on it means there's not enough water above, move water up.
Jul
10
comment Simulating pressure in a grid based liquid simulation
@Byte56 You're misinterpreting what I said. I'm saying the water goes up when the pressure in the block you are analyzing is too high for the pressure being applied from above, not that the pressure from above is too great!
Jun
5
comment Why do most video game guns reload without losing unused ammo in the magazine?
A soldier will reload when he has a chance.
May
17
comment How do I protect my game with CD key / serial number?
@Vishnu I know as a user who types in keys I would much prefer to have some check info per group even if that meant typing a longer key.
May
15
comment Minimax for Bomberman
My limited experience with playing it is that you usually have to place multiple bombs to kill a competent opponent--a strategy needs to take this into consideration. I've played against AIs with approximately your strategy, they're quite ineffective at killing you unless you can get cornered.
May
14
comment Minimax for Bomberman
Minimax is simply not useful in a situation with as many choices as Bomberman. You'll exhaust your ability to search before going far enough to see if a move is sensible or not.
May
11
comment How do I protect my game with CD key / serial number?
One minor point--while a totally random key provides the maximum keyspace (and is perfectly workable if you're validating against a database of issued keys) it's not user-friendly. Put some validation into the key itself so that most mistypes are caught before you try to hit the server.
Apr
10
comment How can I find a projectile's launch angle?
Note that in most cases there are two valid solutions. Assuming no drag or the like max range is attained when the projectile is fired at a 45 degree angle. Going higher OR lower will lower the range--thus unless you need every bit of oomph from your gun there will be both a higher and a lower solution.
Apr
10
comment How to remove floating terrain when generated with 3D Perlin Noise?
Terrain might only be connected through the adjoining chunk if it's an overhang from there.
Mar
23
comment Scrambling word into least recognizable form
Something to keep in mind: If you have some rules that define an exact transform your players might learn them and be able to quickly unscramble words that way.
Dec
25
comment Forward Compatibility of Save Files
I used to use that approach. I have since switched to putting version numbers on the data elements themselves. It makes the changes have far more confined effects.
Dec
22
comment Float or int for currency?
It's game. Accounting isn't going to lynch you for a rounded off penny and thus the normal reasons against using floating point for currency don't matter.
Nov
26
comment Gigantic 2d maps?
@Philipp: Are you thinking of Supreme Commander 2? That is 3D--and has MUCH smaller maps also.
Nov
25
comment Gigantic 2d maps?
Supreme Commander had a huge 2D map and it worked fine--you could simply zoom in and out. (System performance was another matter, though...)