[WIP]-Free City

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Re: [WIP]-Free City

Postby tzoli » Wed Apr 17, 2013 1:45 pm

I'm not sure if that kind of search would work(as I understood)).
First that is I'm not moving any objects to move the map only some variables change.
Second If that works with it the problem is that I want to scan tiles which isn't on the currently visible map. :S
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: [WIP]-Free City

Postby GEuser » Thu Apr 18, 2013 8:00 pm

You could use an array to represent a map table then it wouldn't matter if the physical tiles are not in display. You could if you want transfer the x,y coordinates to a single array[] using for loops to set it up:-

where s = one side of a square map ( i.e. 100 for 100x100), so mapArray [0] is x=0, y=0.
After setting up the array use something like this to transfer coordinates and assign a numbered ID to suggest whats there:-

array_index = y * s + x
mapArray [array_index]=tileID;
// tileID could be int that indicates what type it is (road=0, house=1, ....)

then manipulate the array for range searches or whatever else.

But I suppose it would be pretty slow to set up one for 10,000 array elements, anyway, just a thought.
GEuser
 
Posts: 204
Joined: Thu Jan 05, 2012 3:08 pm
Score: 19 Give a positive score

Re: [WIP]-Free City

Postby tzoli » Fri Apr 19, 2013 5:00 pm

I might do it...
btw: Streets are implemented :D
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: [WIP]-Free City

Postby GEuser » Fri Apr 19, 2013 9:47 pm

tzoli wrote:I might do it...
btw: Streets are implemented :D


Cool! Keen to see the results :D
GEuser
 
Posts: 204
Joined: Thu Jan 05, 2012 3:08 pm
Score: 19 Give a positive score

Re: [WIP]-Free City

Postby tzoli » Sun Apr 21, 2013 2:34 pm

News:
-"Streets crossing with Roads" animations are done
-River and Forest generation is done.(Each map will contain 1 River and 5 forests)
It was easier than I thought :)
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: [WIP]-Free City

Postby GEuser » Sun Apr 21, 2013 6:05 pm

tzoli wrote:News:
-"Streets crossing with Roads" animations are done
-River and Forest generation is done.(Each map will contain 1 River and 5 forests)
It was easier than I thought :)

Great! Good to see more progress. Avidly awaiting for your upload. Have been messing around on blender. There's even a tree and foliage plugin available (haven't used it). Just a bit of experimenting. I used grass and roof textures on this, a basic model:-

BlenderHouse1.png

Might be interesting to do it for something in the distant future.
GEuser
 
Posts: 204
Joined: Thu Jan 05, 2012 3:08 pm
Score: 19 Give a positive score

Re: [WIP]-Free City

Postby tzoli » Sun Apr 21, 2013 6:12 pm

Looks good... :)
We might have a use for it.
I'm unsure about the upload date but as soon as I will decide I will tell you
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: [WIP]-Free City

Postby GEuser » Sun Apr 21, 2013 6:22 pm

tzoli wrote:Looks good... :)
We might have a use for it.
I'm unsure about the upload date but as soon as I will decide I will tell you

No rush. Take your time. I'd rather see it done properly then rushed up.
GEuser
 
Posts: 204
Joined: Thu Jan 05, 2012 3:08 pm
Score: 19 Give a positive score

Re: [WIP]-Free City

Postby tzoli » Sat Apr 27, 2013 5:27 am

Well...There were no news for a couple of days... Acually I didn't make so much progress.
Here is a few:
-Reduced the data folder from 50MB to 5MB by transforming BMP to PNG.
-Menu System contains a lot new things but a lot of them is still unuseable(not programated in)
-Bus Stops exist as a unique tile but has no function yet.
-Changed grass texture

I'm thinking of releasing an early snapshot of the game for you. :)

And the most important things: :D
Screenshots:
(The river looks kind of funny sometimes)
Image
Image
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: [WIP]-Free City

Postby Hblade » Mon Apr 29, 2013 5:25 am

Lookin' real awesome dude =)
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: [WIP]-Free City

Postby tzoli » Mon Apr 29, 2013 12:39 pm

Thanks :D
I got a lot of work in it.
Btw:
Railroads and Train Stations are finished.
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: [WIP]-Free City

Postby GEuser » Mon Apr 29, 2013 4:07 pm

tzoli wrote:-Reduced the data folder from 50MB to 5MB by transforming BMP to PNG.

Oh good, cos those .bmp's were getting memory heavy and I think the png's are cleaner anyway.

tzoli wrote:I'm thinking of releasing an early snapshot of the game for you. :)

Hey thanks but only if it isn't too much trouble (I can image your busy tinkering away with new stuff).

tzoli wrote:Railroads and Train Stations are finished.

Excellent! Your on a roll now :)

Some more graphics:
Art_for_tzoli_006a.png


Roads/Streets terminating bits
I noticed where the roads/streets end they make an ughly blunt edge across whole tile. I've included some terminating bits for roads/streets that are rounded off and finish half way across tile to give a better look. Whether you decide to use them or not, there here if you need them in the future.

Highway terminating bits
I thought it might be useful (if you want) to have highways that terminate and change into road tile instead of just abruptly finishing off with an awkward blunt edge. This gives the player the option to have straight highways in addition to the ringed highways already available (as in curved corners).

Airports / seaports
Did some quick tile configurations for airport & seaports. Sorry didn't spend too much time on these. They do need to be placed in a particular order so not sure if you'll want to use them. Those included are for 2 tile height arrangements but you can do as many as possible in the width direction by adding the the middle tiles continuously, so 2x2, 2x4, 2x6, 2x?... There's also blank tiles so that you can (if you choose) show the airport / seaport grow from blank tiles (that have been zoned) get filled in over time. Didn't do all the possible versions just these. You may need to do some image edits, flips and rotations if you want more then the 2 height versions.

tzoli wrote:Changed grass texture

Not sure if you've done seamless tiling for those grass tiles, do you think it's worth doing (gimp art program has a mapping effect that makes tiles seamless).

Anyway, nice to see you making good prgrress on this, waiting for your next update.

[EDIT]
Did some quick search on real life stats for various stuff like fire, hospital and education stuff. I found this site: http://www.nationmaster.com usefful for general world stats. Eventhough your more than likely to make major adjustments to them to suit the game for playability they still provide a useful guide for ideas. Here's some useful links:

People Statistics > Average size of households (most recent) by country
http://www.nationmaster.com/graph/peo_a ... households

Hospital beds per 1000 people by country
http://www.nationmaster.com/graph/hea_h ... pital-beds

Health Statistics > Physicians > per 1,000 people (most recent) by country

http://www.nationmaster.com/graph/hea_p ... 000-people

Pupil/teacher ratio in primary schools
http://huebler.blogspot.co.uk/2008/10/ptr.html

Fewer than 10 pupils per teacher: 7 countries
10 to 19 pupils per teacher: 90 countries
20 to 29 pupils per teacher: 43 countries
30 to 39 pupils per teacher: 27 countries
40 or more pupils per teacher: 27 countries

US Fire experience by region (2007 - 2011 annual averages)
http://www.nfpa.org/assets/files//PDF/R ... tSheet.pdf

Per thousand population
Midwest 5.4
West 3.4
Northeast 4.6
South 5.4
NATIONWIDE 4.6
GEuser
 
Posts: 204
Joined: Thu Jan 05, 2012 3:08 pm
Score: 19 Give a positive score

Re: [WIP]-Free City

Postby MrJolteon » Mon Apr 29, 2013 6:43 pm

I have an idea for the bus stops:
Image
Road-side bus stops!

(They can probably be improved.)
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: [WIP]-Free City

Postby MrJolteon » Mon Apr 29, 2013 6:58 pm

GEuser wrote:I know that in sim city and other city builders road needs to be 3 squares away

This is not the case in SimCity 4 and Cities XL. Buildings have to be connected to roads in order to function. (Factories and parks in SimCity 4 does not need a road connection; Parks can be anywhere, while factories must be within a few squares of a road.)
But in this game, I think it would be best to do what you said.
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: [WIP]-Free City

Postby tzoli » Sun May 05, 2013 5:47 am

The bus stops are finished. :)
The new airport might be used as an Inernational Airport and the older as a smaller airport.

Today I implement: road endings, bridges(Roads,Streets,Railroads).
I might implement: Language file update(for the new stuff),Smaller airports,Seaports
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

PreviousNext

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest