Zarneth
Knave
Australia
62 Posts |
Posted - Nov 07 2004 : 11:58:44 PM
|
quote: Splitting the map itself into smaller chunks would be trivial. However managing the chunks real-time in game, given that my goal is to give each and every NPC a full daily schedule with minor variations and possibly weekend variations begins to get complicated if the npc is supposed to show up from a part of the map that isn't loaded.
Assuming all collidable objects are on the same layer, keep that layer in a fully loaded seperate array. Then the others can be devided up. Then just background load the nearby sections ready for when you cross into them. It's more complicated. but if it works it'll definitly reduce the memory usage.
here's how I'd considder doing it. The layer with the collidable objects is of corse, seperate from the other layers and is alwayse fully loaded. then you have 9 arrays, each which can contain a section of the map, in a 3 by 3 grid. depending on how you do it you shouldn't need a section to be bigger than the what can fit on one screen (in the largest resolutino thoguh). it background loads/moves cashes the surrounging sections you're not currently on. Have it so the sides of the grid wrap around too. So you don't have to keep moving the section your'e on to the center of the grid. Dunno if that'll make any sense, or if it's the best way though. Alwayse helps to look at all the possibilitys thoguh.
quote: Why would you want a P4? I'd go for an AMD... They are cheaper than the Pentiums.
I definitly aggree with AMD. Much better choice. But a Radeon? I dont' care what anyone sais ATI is EVIL!!!! *huggles his overclocked gforce FX5700LE* And $75 gor a case/psu? you've got to be kidding me? My housemate picked one up the other day for $35.... and that's in australian dollars. Admittedly all the other cases here were expensive but but not all were that expensive. o.O
|
"VB is gay because it's simple, stylish, functional, and simply works as expected." |
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Nov 08 2004 : 10:48:49 PM
|
I realize a case can be had for around $20 (hell, you don't even need a case ), but you definately want a reliable PSU, which can cost around $50 (though I guess it may be less for only a 300 Watt or so...).
About the ATI vs nVidea: It really doesn't matter. I suggested the 9600 because it was cheap and still fairly competant in todays games, that and I don't know too much about midrange nVideas . For brand new video cards, though, nVidea pwns (*Drool* dual 6600 GTs in SLI). |
Edited by - Sr. Guapo on Nov 08 2004 10:52:21 PM |
|
|
Zarneth
Knave
Australia
62 Posts |
Posted - Nov 08 2004 : 11:07:07 PM
|
quote: About the ATI vs nVidea: It really doesn't matter.
*laughs* don't mind me. I have a tendancvy to do the complete opposit to everyone else. And with the fx/r9000 series everyone was all going for the raedons. So naturally I had to support Nvidia. Not to mention how god damn fathefull my old gforce 2mx was while I struggled to save up for a new card.
Same reason why I'm so obsessed with VB, besides being damn easy to use and gettig a bit of a sting when I was forced to do a java corse, everyone else seems to be agaisnt VB. :(
You have a point with the powersupply. That $35AU case was listed to have a 300w. We only intended it for an old server we were setting up. Didnt' even know what it looked like. thoguh it was a nice supprise to find a 450w in there instead. Generic power supplies arn't really all that bad as long as you unplug your pc when there's a lightning storm. Though you gotta be carefull not to short 'em out. First night moving into a new house, 2am in the morning, everyone else was assleep and I decided to rearrange my case lights. Only took one brief touch and my power supply was dead..... So now I've got a decient qualty power supply with 4 power out thingies on the back. >:) |
"VB is gay because it's simple, stylish, functional, and simply works as expected." |
|
|
|
|