Quick Search for:  in language:    
CAN,COME,WITH,GOOD,CITY,MODEL,HELP,wanted,emu
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,290,928. lines
 Jobs: 179. postings

 How to support the site

 
Sponsored by:

 
You are in:
 

Does your code think in ink?
Login





Latest Code Ticker for Visual Basic.
Check Placement of Form on Screen
By CubeSolver on 11/20


RT Full Duplex
By Brian Black on 11/20


C++ Template Hack
By OpcodeVoid on 11/20


Click here to see a screenshot of this code!DeskTop Generator
By Ziad Said on 11/20

(Screen Shot)

SQLMan
By Darwin H. de Leon on 11/20


Klik! CompareLib...Co mpare and synchronize schema differences in your Access databases...
By Özden Irmak on 11/20


listview000sher if
By Sherif Omran on 11/20


Using ComboBox instead of TextBox
By SMA Soft on 11/20


Click here to see a screenshot of this code!ColorFade
By SMA Soft on 11/19

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

City Simulator - partial

Print
Email
 
winzip icon
Submitted on: 9/3/2000 4:51:26 AM
By: Dave Katrowski 
Level: Intermediate
User Rating: By 22 Users
Compatibility:VB 4.0 (32-bit), VB 5.0, VB 6.0

Users have accessed this code 13061 times.
 
(About the author)
 
     I wanted to emulate one of my favorite games the best i could. It has a few unique features like birds freely flying around the city(animated), sometimes they seem to flock (but the biod system isn't too advanced, they see other birds and objective-points but not buildings). IF ANYONE CAN COME UP WITH A GOOD CITY GROWTH MODEL PLEASE HELP. The current city growth is based on a crappy crime equation i came up with. (Crime = (PopCount / 4) - (2 * SafetyCount))

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 31 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
9/3/2000 9:15:46 AM:Paul
Thats great code!
I looove the birds, 
and i cant wait for the next version!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/3/2000 9:15:52 AM:Dave
in the doBird sub:
replace
If Not LII 
= LI Then
with
If Not LII = LI And 
Not B(LII).Flag = FOLLOW Then
Now 
the birds wont fly in circles...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/3/2000 12:28:04 PM:Simon Price
This isn't a bug, just a file problem - 
when I start up it says the birds.bas 
is missing. I just added the bird.bas 
(no "s") and it worked though. So if 
you download it and it don't work, try 
what I did because it worked for me. I 
hope you make another version of this, 
with enough things to do it could 
become a cool game.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/3/2000 1:37:04 PM:Tiago
Greeeeeeeeeaaaat code.... thanks!!!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/3/2000 5:15:27 PM:nhlgame
Really nice peace of code. Good work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/5/2000 8:33:25 AM:Michael Firsikov
Great code !! How about adding cars and 
animated buildings or / and 
construction sites !!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/26/2000 6:49:40 PM:Jimmy
Hi, I started VB5 this year, well, 
there isn't much to say here, It is 
fantastic.
Good work, 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/6/2000 7:52:03 AM:Digital Paradigm
Outstanding work!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/14/2000 12:01:05 PM:!!!
<sub><sup>Exelanté!</sub></sup>
I'm 
sure that's how the french say it...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/18/2000 6:55:17 PM:Batman
Batman's back!  You may have seen me in 
other code feedbacks.  I'm like that 
annoying green little bug that keeps 
coming back for more... awwww... nice 
job man!!!  Batman thanks you!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/19/2000 8:59:55 PM:PhoenixX_2
If we had to grade the person on what 
he did, I'd give you a Good.  But since 
this is planet SOURCE CODE and we have 
to grade on the code's 
helpfulness/quality, I can't give you 
Good.  There's NO TABS, NO COMMENTS and 
NO STRUCTURE.  Everything is all on one 
level, and you even forgot to get rid 
of the extra enters in between the 
subs/functions.  The game itself is 
nice, nice birds, but I'd suggest 
putting more safety like Medical and 
such.  And make more features.  Plus 
make more 'differenceation' between all 
the types of things you can buy.  
Adding tooltips would be great too, 
really great.  Making it resizible, or 
at least make it a bit bigger.  Good 
luck on further projects though.  Bye.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/19/2000 6:25:03 PM:Mike
Downloaded the citysim code and 
although it states VB4 (32bit) 
compatible, I can't seem to get VB4-32 
to recognize it. Get an error that the 
file is corrupt and cannot be loaded. 
Have downloaded three times and that 
isn't the problem so I expect that it 
isn't VB4-32 compatible. Too bad, I was 
itching to see it :) If have a 
workaround for this please let me 
know.
Thanks
Mike fspah@bellsouth.net
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/1/2000 2:30:20 AM:andrew
I love playing this nice little sim, 
although I never lose :) And I'm 
hungrily waiting for the next 
version!!! (Don't add too much) 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/5/2000 6:56:19 AM:R.v.Etten
I think it is very good. Only you 
should figure out how to use only one 
icon for building roads.
I'll give 
you a hint.
Read the above left right 
and below a square and you'll get a 
code. Make your graphics using this 
code and roads will auto match.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/9/2000 8:45:40 AM:Helped
K David I have updated your version 
with Save, Load, Tips, Desasters, 
Active X Music and new buildings. 
Hopefully I shall have the roads to 
auto match as well. But what I need to 
know is how do I add extra buildings I 
have tryed but it just dont work. I 
have added them as the Freebees and 
there codes are 37 and 38 I just need 
coad so that they are placed in the 
city instead of empty squares which you 
hvae to deleate if you want to build 
over them. I have set up gfx and 
everything. 
 David please e-mail me 
so I can send you the updated version. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2001 9:36:36 PM:Samrat
Realy its a good work!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2002 11:39:05 AM:SImon Dann
I added save and load games functions 
and music, cheats, better equations, 
and more buildings. That was a few 
months ago. Then I added it to my Site 
and now its avaluble on loads of toher 
sites! And Ive seen some fan sites 
dedecated to this CITY SIM. One of the 
best site 
is:http://plnehry.cz/strategie/citysimul
ator.html 
I dont know what 
labguages its in, but it provides help, 
screen shots, and credit to you :) 
Which is the best thing. Im going to 
update it some more, have you any ideas?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/27/2002 12:46:23 AM:Jamie Lindgren
w00t, thats pretty good... i'll give it 
a 5.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/7/2002 8:37:17 AM:marko-slovenija
COOL GAME! Where can I get 3d car 
racing game?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/4/2002 9:18:07 AM:Andrew Murphy
Can you post the code for the updated 
program?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/24/2003 1:26:24 PM:
Weeddee!Cooool!!!!
Its like Sim City 
1
How long did you program this ?!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/27/2003 4:19:37 AM:80 SpitFire 08
Nice
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2003 2:00:23 AM:Sehab
has anyone noticed that when you add a 
freebee and then delete it you get money
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.