188 reputation
17
bio website star-hope.org
location United States
age 37
visits member for 2 years, 11 months
seen 2 days ago

Videogame and simulations programmer.

Lisper, JAPH, and MOS-65xx hacker, among other things.


Feb
1
comment Using AdMob with Games that use Open GLES
Have you tried making the changes which the error messages indicate are necessary to your manifest file?
Jan
8
awarded  Editor
Jan
8
revised Exists a dedicated non-O(n²) Algorithm for avoiding to have overlapping elements?
spelling/grammar
Jan
8
suggested suggested edit on Exists a dedicated non-O(n²) Algorithm for avoiding to have overlapping elements?
Jan
4
comment How to perform game object smoothing in multiplayer games
You don't mention the type of game: is this a shooter or something, where this smoothing might make someone appear to hit/miss a target? or a strategy game, where the effects are essentially only visual? … etc.
Jan
4
answered Build a Unity asset bundle on linux?
Dec
31
answered Should the game update loop compensate for slowness
Dec
30
comment Should the game update loop compensate for slowness
Actually, the article that @Sean Middleditch linked below gives a really decent example of how and covers "why" in some detail. But, essentially: when your video drawing takes more or less time to occur (drawing frame rate will often vary greatly by machine, load, scene complexity...) you don't want things like physics to respond differently; consider suddenly encountering a more complex graphics scene, or players with more or less sophisticated GPU's in a multi-player game, causing objects to respond differently...
Dec
30
comment Should the game update loop compensate for slowness
I would personally say, it's extremely NON-preferred to keep "update" ticks in sync with display logic. Particularly if you think any of your users might have a multi-core CPU or dedicated GPU, e.g. you're targeting most common devices (PC's, iOS, Android, modern consoles)
Jul
24
awarded  Critic
Jun
18
awarded  Caucus
Jun
18
awarded  Constituent
Nov
6
comment Organizing an entity system with external component managers?
If an Entity is a class of OOP object, then typically it has to hold together its Components. This causes all sorts of “fun problems,” particularly with regards to distributed processing, multiple threads, and the like. EG: Entity.GetComponentTypeXYZ() might have to load the component data, or else every component of every entity must be visible in core somehow.
Mar
12
awarded  Commentator
Mar
12
comment Organizing an entity system with external component managers?
@Raine, in the case of having data inside an Entity Object, however, one easily falls prey to having to instantiate the object with a cluster of weak references (or similar) to every possible component, which can seriously harm scalability of the system
Mar
12
comment Organizing an entity system with external component managers?
@DavidGouveia mentioned “optimizations…looking up entities by ID.” In fact, the (few) systems I've implemented this way, tend to not do so. More often, select Components by some pattern indicating that they're of interest to a particular System, using Entities (ID's) only for cross-component Joins.
Mar
12
comment Organizing an entity system with external component managers?
In ref: “pure” entity system: the Entity ID is typically something like: typedef unsigned long long int EntityID;; the ideal is, that each System can live on a separate CPU or host, and only require to fetch components that are relevant to / active in that System. With an Entity object, one might have to instantiate the same Entity object on each host, making scaling more difficult. A pure entity-component-system model splits processing across nodes (processes, CPUs, or hosts) by system, rather than by entity, typically.
Dec
28
comment How do I start writing an MMO game server?
Not strictly an answer, but: you should strongly consider starting with a working MMO server framework, and then altering it to your specific needs…
Dec
23
comment Organizing an entity system with external component managers?
There's a pretty good overview series at t-machine.org/index.php/2007/09/03/… et seq.
Dec
23
comment Organizing an entity system with external component managers?
(Sorry for the encyclopædic comments, but:) the problem with a “type” is that an Entity is inherently of any type for which it holds a Component, so you can do GetEntitiesOfType by simply iterating a global list per-Component, which might be on a different host than another Component. The model is relational, like SQL tables — Components map nicely to TABLEs, Entities to PRIMARY KEYs.