by steam_cannon » Thu 26 Jul 2007, 10:09:30
$this->bbcode_second_pass_quote('Narz', 'A')nd with your hacking skills, if you're bored, please suction some money from Oprah Winfrey's bank account into mine. Much appreciated!!!!

Hahaha, I don't think I'm going to do that but the complement is much appreciated!
By the way, nice websites and I like your work on that game. Specifically I like your use of the javascript math functions.

But if you want some help with coding things a little different I could send you some tips. I'm one of the few experts in object oriented javascript programming. You see in javascript, you can set up a create an array of to store created objects that can act independently. So objects in JS can walk around your game area and interact in unexpected and interesting ways...
So for example, lets say for example I wanted to program a game where new objects enter & leave the game and move around the a game board interacting with each other (
Like simulating a population). Lets say the game board has two memory levels. One level for mapping things on the ground like grass and roads and a second level for mapping things on top of the ground like trees or people. The display function uses a set time out and calls itself every so many nanoseconds. The display function looks though the game board memory and updates the screen with an image of whatever the top most objects are. So if a person is standing on the grass, a person is displayed. But the display function does not handle how the objects interact.
Then how do objects interact? Lets say a person object is created. A person object will have a unique object ID set at it's creation time written into the objects details and the object is inserted into a memory location into an objects array representing the game board. When created, the object starts an object control function using a set time out command and passes the function it's object ID. The object control function activates after a number of nanoseconds to move the object based on the rules set for the control function and the properties of objects near the person object. But the object function first checks to see if the object still exists (maybe the person object was ran over by a car object). So it calls a function to check the board to see if the object has been moved by something or destroyed by another object... And so on...
Anyway, you can write all softs of simulations and games using that programming methodology and refinements of it. So I like what you are doing, but if you really wanted to I think you could take it further. I can send you some code if you'd like...
http://www.xml.com/pub/a/2006/06/07/obj ... cript.htmlhttp://www.javascriptkit.com/javatutors/oopjs.shtml$this->bbcode_second_pass_quote('On Narz website, Narz', 'I')f you help me make this game real (more than just a simulation as it is now), I will give you One Thousand Dollars!
I don't know if you're serious about that and I don't know if I want to totally rewrite your game... But at least I can give you some free advice. And I might suggest changing your game layout a bit, with OOPJS you (or someone) could add mountain ranges, trees, swamps, different terrains could have different farming productivity levels and people could move around. You could even have multiple players and game data managed on a server, but that gets complex... So anyway, I like your idea it has a lot of potential!

Last edited by
steam_cannon on Thu 26 Jul 2007, 11:05:24, edited 1 time in total.
by steam_cannon » Thu 26 Jul 2007, 15:40:45
$this->bbcode_second_pass_quote('Narz', 'A')lso, I tried to work with a few people online before and it's hard.
Yeah, working in person is always the most effective way to collaborate on projects... But often it depends on how much needs to be done together. So that can work out.
$this->bbcode_second_pass_quote('Narz', 'M')aybe (assuming life as we know it is still as we know it

) we could possibly meet this fall (assuming you want to and depending on where you live in Mass), I come back east for either thanksgiving or xmas usually and this year I'm doing it on Thanksgiving for various reasons.
Even if it wasn't to work on a game, it's always fun having someone over for tea. \_/2
$this->bbcode_second_pass_quote('Narz', 'L')et me know if you want to rewrite my game, if you can manage it, and make it work well & look decent...
First I think a lot of brain storming should happen before I say outright that I can or will do anything. If you want something that looks and plays well, a lot of planning has to happen first. I think there are a lot of things that could be done with this sort of game and topic. So I'll start off with giving you some questions and ideas, and then you're going to have to narrow things down a bit.
Is the game for entertainment or education? Sim City tends to be a limitless world, simply a limited world version of Sim City could be very educational. How complex would you want to make the game? Single or multiplayer? One game or several games covering multiple problems? I'm mentioning these ideas because there is a lot of different ways this sort of game could go.
I'll look over the game a bit more tonight and pm you or you pm me about your ideas. Then I could tell you how possible your refined design is and how much work different ideas entail.
What I have so far is a simulation game I wrote a couple years ago. The game I wrote was for simulating living conditions for a small city that the player builds and maintains. The player could drag and drop in elements and the population responded. Businesses, cars and people interacted, overpopulation problems would surface... The same kind of algorithms could be used for simulating and interacting with competing groups, or to build Sim City peak oil related scenarios.
Here are a few things to think about
Graphics Quality
*
Modern bubble-wrapped mac style graphics are pretty easy.
*
Basic one screen tiled world with wandering sprites (easy)
* Large scrolling tile world (Java may be more ideal then Javascript)
* Java or Javascript controlled Flash (I wouldn't do that for free)
A battle game
* See groups compete for resources
* participate in the game and compete to survive
Or a Sim game
* resource scarcity sim
* global warming sim
* local global warming sim - watch the US cook...
* global warming + resource scarcity sim
* Could even add in topics like global dimming feedback loops and coastal flooding... Coal plants...
Or Make your own world sim game (not harder, just more objects)
* click and paste oil deposits, land and water to the map
* see oil/metals/coal... get drained by growing population...
* pop up newspaper front pages like, "don't worry, theres more oil"
* pop up newspaper front pages like, "oil prices keep going up!"
* see warming and desertification
* pop up newspaper front pages like, "welcome the warmer weather"
* pop up newspaper front pages like, "Boomtown cooked by the warm weather!"
* people sprites disappear as related resources deplete, like farm fertilizers or farm land damage from GW...
* Infrastructure degrades and increasing costs to repair (fairly easy)
* Taxes and inflating currency are also easy to add if you wanted to add an element of economics...
* Build a bunker, zombies...
Or Multi player games (most complex and would require a server)
* resource scarcity sim
* global warming sim
* global warming + resource scarcity sim
Well there are some ideas, there's a lot that can be done with this sort of game depending on what kind of world you want to build and what kind of game you want it to be. I know I've spent a lot of time talking about sim games, but battle games can be good too. Some things to think about...
by Chesire » Fri 27 Jul 2007, 10:02:27
$this->bbcode_second_pass_quote('midnight-gamer', 'A')ssuming there is no nuclear activity, Boston does not seem to be such a bad place. Yes, it has a large population,

however, new england has a few things going for it. Example:
Agriculture,
http://en.wikipedia.org/wiki/New_England,
Hydropower,
http://en.wikipedia.org/wiki/History_of ... sachusettsEducation,
$this->bbcode_second_pass_quote('', 'N')ew England is home to several prominent academic journals and publishing companies, including The New England Journal of Medicine, Harvard University Press, and Yale University Press. Also, many of its institutions lead the open access alternative to conventional academic publication, including MIT, the University of Connecticut, and the University of Maine. The Federal Reserve Bank of Boston publishes the New England Economic Review.
http://en.wikipedia.org/wiki/New_Englan ... iversitiesIn short, I can think of worse places to be.
The only bad thing about New England is all those massachusets people live here. Fortunately the roads would be easily blockaded when TSHTF and the Piscataqua rivah is not an easy swim P