3,456 reputation
11020
bio website
location Los Angeles, CA
age 37
visits member for 4 years, 6 months
seen Feb 17 at 18:17

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.


Mar
14
comment How to detect what portion of a rectangle a point is in?
I think it is the cross product and the sign of the result to say whether you are on the left or right side of a line but I think that is what you are looking for here in the generic case. If you are looking for something a bit more special case you might find something a bit faster processor wise.
Mar
12
comment XNA Platformer Screen Collision
Sorry if this comes off wrong, but is your render area really 1800 wide? Should it maybe be 1080?
Mar
11
comment Is it worth planning to be cross-platform in mobile game development?
To counter the argument at the end of the linked article, I have talked to a handful of mobile developers that all share the same rhetoric, if you are looking to make an income from mobile development you should target iOS. The Android market has proven itself to not be as willing to pay for what the iOS market will.
Mar
8
comment Pre game loading time vs. in game loading time
And to chime in a bit with @JohnMcDonald, if you can calculate these paths mid-game and its not noticeable, how much of a contributing factor can they be at load time?
Mar
7
awarded  Fanatic
Mar
3
comment Scripting language with class instance support
1 and 2 are easy from what I recall (and I also agree that most wrapping libs out there are overly complicated and so usually roll my own). But what I am trying to find out is if there is a test for the existence of a function or method. Most of the calls to execute a lua function from C do not appear to return. Assuming that if the script compiled the syntax was atleast ok, that just leaves invalid arguments vs undefined call, but I have not been able to find a way to determine which is which yet :)
Mar
3
comment Scripting language with class instance support
Oh, I was thinking the other way around. Let me see if I can not figure out what happens (would assume the call just fails in a handle-able manner but seeing as I have never had that situation, I am not going to bet an answer on it :))
Mar
3
comment Scripting language with class instance support
Could you explain 3. a bit more? I am pretty sure Lua is able to do 1 but I am not sure I am understanding what the last one would do to venture a guess as to if Lua does it or can be altered to do it. (Might be as simple as looking through the global tables or an objects table to see if a method of the same name is defined already or not).
Feb
29
comment Increasing the probability for similar tiles to generate next to each other
+1 As I think the jump to noise is generally where this will lead.. I am wondering if that might be a bit too big of a jump though so the initial 'scan around and alter the percents' eased me into the vote :)
Feb
27
answered How are non-repetitive pixel backgrounds created in 2D games? (e.g., Superbrothers: Sword & Sworcery EP)
Feb
24
comment How do they made Pokémon games so flawlessly balanced?
Might also be noted that Pokemon at the end of the day is just a Rock-Paper-Scissors game with some 'abilities' that add in a bit of flair.. I say that simply because it doesnt matter what abilities you use if you have opposed pokemon-types in battle and are the rock to their paper.
Feb
20
revised How to create wrap-around pathfinding?
Added in the link to the project given in the other answer that this answer also references.
Feb
20
revised How to create wrap-around pathfinding?
Mostly grammar to make the question a bit easier to read. (again)
Feb
20
answered Pong - Changing the Ball's Y location depending on where it hits the paddle
Feb
19
comment 3D Procedural Planet Generation
@Darestium mrl.nyu.edu/~perlin/noise The man's website itself goes over the differences between 2D and 3D noise (just passing in 2 or 3 values IIRC). I think you can also find a few 'globe' type rendering demos on his site if it helps.
Feb
19
comment 3D Procedural Planet Generation
Here are the things to search for, as the video specifically mentions what it is using for the LOD (How it zooms from space to land) and also the algorithm for the terrain generation: "The application uses quadtrees for LOD, and generates terrain using the ridged multifractal algorithm on both CPU and GPU (in a GLSL shader)."
Feb
16
answered How hard is it to build for other platforms using the Unreal Engine 3?
Feb
15
comment Good way to play a sound when something happens? How does this sound?
Oh, I thought your complaint was that it was still a deep coupling because the API was so specific instead of generic. Messaging systems have been fairly key and not too much trouble to keep track of in my development history. I mean, having a very clearly defined API for inter object/process communication has often made managing the complexities of video games more manageable.
Feb
15
comment Good way to play a sound when something happens? How does this sound?
-1 cause while I agree that having messages so specialized (OnJump) is likely a bad idea, this is just a long 'No this is a bad idea' instead of useful information to get the person to make a PlaySound event that takes the name of a sound effect and a 3D position and/or volume that it occurred at.
Feb
15
revised Good way to play a sound when something happens? How does this sound?
added 8 characters in body