2,177 reputation
922
bio website
location
age
visits member for 3 years, 2 months
seen 4 hours ago

May
29
comment What's the best way to keep battle log in a browser based game written in PHP?
@ChrisFord JSON is a data exchange format, as is, for example, XML. Sure you can persistently save your strings of battle messages in JSON or XML format, but that makes zero sense if you want to save them to a database, as it pretty much invalidates the point of a relational data base. And "a serialized array" still makes no sense, for starters because an array IS a serialized object to begin with. Long story short: if you store data in a relational DB, you store only the raw data. Any relations between your data are stored as separate fields, not as some huge data blob.
May
29
comment Spritesheet per pixel collision XNA
@Jixi If I answered your original question, consider an upvote and accept.
May
29
comment Spritesheet per pixel collision XNA
me.Texture.Width / (int)((me.frameCount - 1) * me.TextureWidth) What is that supposed to be? Does your object have variable texture width? Also, is the difference between me.Texture.Width and me.TextureWidth intentional? Because if they're the same value, they would cancel each other out.
May
29
answered Spritesheet per pixel collision XNA
May
29
comment Spritesheet per pixel collision XNA
What does Vector2 pos do? It's never touched in your small IntersectPixels.
May
27
answered Score vs. Kills in a casual game
May
25
comment Reading the memory of a N64
@toazron1 You're probably looking for electronics.stackexchange.com
May
24
revised Add delay between player jumps
added 33 characters in body
May
24
comment Add delay between player jumps
@Byte56 I think you've misread, or maybe I used the wrong grammar, I'm not a native speaker. In code, I meant if(JumpKeyPressed && IsCharacterOnGround() && !prevJumpKeyPressed), i.e. the jump key is being pressed now, but it wasn't the frame before. Basically what jhocking said, but explained in more detail.
May
24
revised Add delay between player jumps
added 948 characters in body
May
24
answered Add delay between player jumps
May
24
comment How to make a registration for my game?
I would argue that any kind of DRM beyond a one-time, local serial check at install time screws the paying customer more than it should. +1 for recommending Steam etc., but I've seen quite a few indie game companies that not only offer Steam versions, but also DRM-free versions via their websites alongside a Steam copy, bundled for the price of one. That way you get the best of both worlds: no DRM whatsoever, plus the unlimited availability and support via Steam. If I were to release a game, that's the model I would aim for, because it doesn't get more customer-friendly than that.
May
24
awarded  Scholar
May
24
accepted Algorithm for constructing the corners of a regular, n-sided polygon
May
24
asked Algorithm for constructing the corners of a regular, n-sided polygon
May
24
comment What are the maths behind 'Raiden 2' purple laser?
@Aybe I meant radical of this sort: drmcninja.com/archives/comic/23p40
May
23
comment Store data on server or only in database?
"tileset returned from my server": You are certainly saying that you deliver the tile set once and then it's stored locally, yes?
May
23
comment How can I avoid “bleeding bullets”?
Your for() loop is bugged - after it removes a bullet, it will not check the new bullets[count], which is the old bullets[count+1], so in the worst case, if all bullets are disabled, it will remove only half of them.
May
23
answered How can I avoid “bleeding bullets”?
May
23
comment How can I avoid “bleeding bullets”?
For which platform are you developing? PC, XBox, WP7?