Top tag
Next privilege 250 Rep.
View close votes
1 4
~2k people reached

  • 0 posts edited
  • 1 helpful flag
  • 8 votes cast
comment How to determine range of possible movement in turn-based, distance-based strategy game?
It's still only going to be able to move the same (total) distance. So the question is really about figuring out "how far does it turn?"/"how much does it need to turn?"/"where does it need to turn?". You probably need to start from determining the regular path, then step a start-of-turn back for angles above a certain amount; note that final distance will be longer in a straight-line path (turning latest) than with the curves.
comment Simulating pressure in a grid based liquid simulation
Note that, once you get air pressure added, the two air-pocket examples are potentially completely valid (closed pressure chambers). I'm assuming you're not using 255 bytes, but rather values 0-255; in any case, you're probably not going to want to use the full range that way. I'd probably limit it to, hmm, 0-15 for '1 atmosphere' of pressure (there is no such thing as 'negative' pressure, right?), allowing higher pressures, which you currently lack. Once you include the 'air' blocks in the sim, the naturally higher 'weight' of the water blocks should cause it to flow around the bends.
comment How to create a legally valid timestamp of unpublished game artwork
@mm24 - I can't speak to the legality, but I imagine Kickstarter has a pretty good set of history/audit controls, just to absolve themselves of some related problems. Some artist sites store revisions of work, and cloud storage options might be able to provide equivalent functions.
comment How to manage a multiplayer asynchronous environment in a game
This is related to concurrency, which means you're in for some real fun times. I think the better way to resolve this would be to just mark armies as 'at home' or 'away' - you can't effect armies that are on campaign (which is a difficult thing to do in the real world), you could only go after the 'at home' ones; although if you could mess with supply lines.... Look at Optimistic Locking, as I think that'll yield better results.
comment How to load up many images without using too much memory
1) If something is 1/4th smaller, it will take up 1/4th less space, or 3/4th of the original space. 2) BMPs can be uncompressed; also, in general there's a tradeoff between storage size and processing time (ie a table of contents in a book takes an extra page).
comment Java2D Collision Detection
From a general programming perspective, you should be using 'Generics' if at all possible; among other things, it'd make it so you don't have to (explicitly) cast types.
comment What is a good way to load more than a million images for a collectible card game?
...not fit in RAM... - depending on the OP's target platform it may not fit on the hard-drive; 1,000,000 x 100kB = 95.37 GB (or so). No way I'm downloading a game that size (initially, although background processes could help here). And 100kB is small - most 'good' card games have quite a bit more detail (read: larger images). There must be something else going on here, because you wouldn't be able to test the interaction between all card combinations easily either (the previously mentioned Magic has enough problems with 12k cards).
comment How can I remove enemies from my ArrayList after they have died?
Without more information, this will be difficult to address completely.
comment How can I remove enemies from my ArrayList after they have died?
+1 - A decently thought out answer that, y'know, actually usefully answers the question (given the current information).
comment Converting a hipoly model to a lowpoly model
What program did you use to make the original model? Some tools have this sort of generation built in.
comment Efficient Algorithm for Recording gameplay's objects positions
What about deterministic NPC behavior? Like, say, the output of a script? You may be able to reduce some things a bit better that way.
comment How to create a reasonably sized urban area manually but efficiently
At least around where I live, there's a bunch of houses that are all based on the same plan (or parts of plans, which allowed for some customization). I mean, down to window sizes, etc; including my parent's place. Which means that, without any modifications, the houses literally look like re-colored versions of each other, as if on a memory-limited system... It can be fun to find the 'look alikes' in other neighborhoods.
comment P2P synchronization: can a player update fields of other players?
Unfortunately, without a (trusted, independent) 3rd party, stopping the other party from cheating is impossible. The design of your game may limit the extent of cheating; however, in any situation where either party can be (and is equally likely to be) hostile, you need somebody they both will trust.
comment Bejewelled Next Best jewel selection
Sorry, no, I was thinking of Hexic. But, with sufficient different gems, it would be possible to enter a situation where the engine would have to generate a matching trio every single time to allow continuous play (because nothing else would score). Which might be interesting to see, but not very playable.
comment Bejewelled Next Best jewel selection
It only rotates 120 degrees at a time, right? So what happens if you display a board that (due to previous moves) has scoreable distributions elsewhere in the board, requiring 5 moves from a newly placed block, and the player clicks something wrong first?
comment How should I track real-time resource generation in a client-server scenario?
For these battles, what happens if they lose? Do they lose all those units? What happens if they're disconnected during a battle?
comment How should I track real-time resource generation in a client-server scenario?
What's the time resolution that needs to be saved - what if the player unexpectedly looses connection? What type of game - is this like the 'player cities' in Age of Empires online, or like the individual battles players engage in?
comment Android Game Development problem with Speed = Distance / Time
This isn't the issue, and you've missed something even more important - because Java passes by value, Math.round() can't change the value: you have to use the return value of the function.
comment Can I run into legal issues with random names?
Besides the possibility of legal notices, you may want to be able to exclude randomly generated names that turn out to be... 'unfortunate'... regardless.
comment Serverside memory efficiency and threading for a turn based game
If it is turn based, I'd probably do this as a webservice, and provide a 'default' client. Make it easier for porting to other platforms, too...