Quote from: steevnazi on 07-11-2012, 03:22:02 AMQuote from: EJ on 07-11-2012, 03:19:24 AMso the spears are put in a random position each time the page loads? It's whack when they all somehow end up in the same placeyeah, I have no idea how I'd save their position and still allow unlimited spears (which is what the people want)maybe you could have each spear have an ID, with the x,y position encoded in the ID?maybe i'm overthinking this, but it's just a suggestionEDIT: x,y position and spear type, encoded on the ID
Quote from: EJ on 07-11-2012, 03:19:24 AMso the spears are put in a random position each time the page loads? It's whack when they all somehow end up in the same placeyeah, I have no idea how I'd save their position and still allow unlimited spears (which is what the people want)
so the spears are put in a random position each time the page loads? It's whack when they all somehow end up in the same place
Quote from: Svetlana on 07-11-2012, 06:57:10 AMQuote from: steevnazi on 07-11-2012, 03:22:02 AMQuote from: EJ on 07-11-2012, 03:19:24 AMso the spears are put in a random position each time the page loads? It's whack when they all somehow end up in the same placeyeah, I have no idea how I'd save their position and still allow unlimited spears (which is what the people want)maybe you could have each spear have an ID, with the x,y position encoded in the ID?maybe i'm overthinking this, but it's just a suggestionEDIT: x,y position and spear type, encoded on the IDThat's one way of doing it. Also, the spears could be aligned with each other horizontally in a centered row according to some algorithm (but then all of the spears would move when you add a new one). I think storing an array of strings denoting each spear's properties is probably the best idea.
HOW DID I FORGET ABOUT HATS HOLY poo pooThe hats would need to be somehow not covered with spears
Why stop at hats? 20 gold chains
yeah but that'd take more sql workmy way is simpler
Quote from: Cirus on 07-11-2012, 13:58:07 PMWhy stop at hats? 20 gold chainsomg somebody please make gold chains EXTRA BLINGY
Quote from: steevnazi on 07-11-2012, 14:06:36 PMQuote from: Cirus on 07-11-2012, 13:58:07 PMWhy stop at hats? 20 gold chainsomg somebody please make gold chains EXTRA BLINGYAnd some GIANT HOOP EARRINGS TOO
roaring flames behind an avatar