City Builder Games Forums
May 23, 2012, 06:10:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: CityBuilderGames.com is a gaming community made up of city building game enthusiasts that love such games as SimCity 4, Cities XL 2011, Anno 1701 and Anno 1404, all of the Tropico series of games and more.

Come discuss your favorite City Building game in our message forums that we have setup for all of the games listed above and so many more.  Registration is free and only takes a couple of minutes.
 
  Home   Forum   Help Search Login Register   *
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 06:10:44 AM

Login with username, password and session length
Towns




Download game today
Die prematurely tonight!
Recent Topics
[May 21, 2012, 01:54:59 PM]

[May 20, 2012, 02:31:13 AM]

[May 19, 2012, 06:17:35 PM]

by aws
[May 17, 2012, 04:29:00 PM]

[May 17, 2012, 10:20:01 AM]

[May 17, 2012, 09:36:39 AM]

[May 16, 2012, 05:51:56 PM]

[May 15, 2012, 06:30:46 PM]

[May 14, 2012, 10:06:51 AM]

[May 14, 2012, 09:25:32 AM]
Click the plus on this block if you did not receive your activation email when registering on this site
If you registered for membership on this site but have not yet received the confirmation activation email, there are 3 main reasons.

1. It ended up in your junk or spam folder, please look there to see if it's in there.

2. You did not enter your correct email address.  Please register with a new username and the correct email address and try again.

3. Your IP address and or your Email Address is listed in the Stop Forum Spam (spam protection) database as a known spammer and when either your IP address and or your email address appears in that database, your account can not be approved.  As such if you are a spammer, please move along, our community is too small for you to bother with.  If you are NOT a spammer, contact the owners of Stop Forum Spam and get your information removed from their database and register a new account.
Permissions

Members
Total Members: 3191
Latest: secondguess
Stats
Total Posts: 28980
Total Topics: 2467
Online Today: 37
Online Ever: 273
(March 26, 2011, 05:00:14 AM)
Users Online
Users: 0
Guests: 40
Total: 41
CityBuilderGames.com! When you need a break from games of destruction, come here to discuss games of construction!

No matter the name of the game, we've got you covered here at City Builder Games.  Forums, downloads and much more are awaiting you here at the Citybuildergames.com

Pages: [1]   Go Down
  Print  
Author Topic: Making your own city builder game  (Read 1269 times)
0 Members and 1 Guest are viewing this topic.
DenSomKastade
City Clerk
*

Reputation: +0/-0
Offline Offline

Posts: 3


« on: November 20, 2011, 08:26:37 AM »

Hi!
I'm trying to make my own city builder game.  Any ideas where to start? (I'm want to make it from scratch and I'm most familiar with programming in java.
Logged
Khalan
City Attorney
****

Reputation: +10/-0
Offline Offline

Gender: Male
Posts: 624



« Reply #1 on: November 20, 2011, 08:32:46 AM »

Do you mean programming, design, or project structure?  Or any/all?
Logged
CoconutKid
City Attorney
****

Reputation: +2/-4
Offline Offline

Gender: Male
Posts: 533


WWW
« Reply #2 on: November 20, 2011, 10:33:11 AM »

@ DenSomKastade

It would be nice if you would fill in more information on your profile. Gender, age, and a general location in the world would be interesting and help others to understand you better.

Hello and Welcome Hello and Welcome Questioning
Logged
Delvie
City Clerk
*

Reputation: +0/-0
Offline Offline

Posts: 5


« Reply #3 on: November 21, 2011, 11:26:45 AM »

As a starting point I'd look at modding some of the existing games that allow modding.   Not sure what city builders you've played before but many of them allow players to mod them.   Modding can be as simple as changing the stats of a building in the XML files to setting up entire campaigns with all your own art.
Logged
aws
City Clerk
*

Reputation: +0/-0
Offline Offline

Gender: Male
Posts: 5


Blame the Bytecode


WWW
« Reply #4 on: December 12, 2011, 04:22:52 PM »

Sorry for the late-ish reply . . .  that time and year and I get lazy with signing up to forums far too often.   As it's my first post, yes, I'm Swixel from the Kalypso forums Wink

Quote from: DenSomKastade link=topic=2607. msg27887#msg27887 date=1321806397
I'm trying to make my own city builder game.   Any ideas where to start? (I'm want to make it from scratch and I'm most familiar with programming in java. 

If you want to stick with Java, try lwjgl.   I don't touch Java myself, but it's the one people often seem to point me toward.

If you're looking at C/C++, you'll need to work out if you want DirectX or OpenGL as your renderer (even soft-rendering in Windows pipes through one or the other for the final texture).   Past that, you need to pick a framework or toolkit or engine if you want to go cross platform without going around the bend.   GLFW is minimal; SDL is one that many people recommend; and SFML is a great deal of fun.   Then comes the harder elements like GUI.   If you think you can handle a lot of the lifting, go that way, otherwise something like Qt could accelerate production (albeit using LGPL, potentially restricting release onto console(s)).

If it's 2D, you can use a simple grid-based-guessing scenario, if it's 3D, you'll need to learn about picking.

As always, consider scripting languages to help speed it up.   Qt has QML for rapid UI production ("Qt Quick"), and you can use Javascript in that, but by default you'll be lifting everything with C++.   You could replace this with Lua (LuaJIT2 being the best way to go) or Python (if you want), or even Java (though that'll add serious bulk).

Quote from: Delvie link=topic=2607. msg27899#msg27899 date=1321903605
As a starting point I'd look at modding some of the existing games that allow modding.    Not sure what city builders you've played before but many of them allow players to mod them.    Modding can be as simple as changing the stats of a building in the XML files to setting up entire campaigns with all your own art. 

This is probably where I'd recommend starting.   If you haven't already, find a game you like, break it as many ways as you can until you work out what you were meant to do (trial and error), then start adding your own functionality.

While you obviously can't lift the ideas of others (intellectual property and all that), looking at how different groups handle things is always useful.   Tropico 3 and Tropico 4 are fairly easy if you can reverse Lua bytecode (and Haemimont work things out in a similar way to how I generally do).   Civ 5 is another fun one to pull to pieces (not a true city builder, but it uses a grid for city placement and has 'upgrades' within the cities).   On a personal note, Civ 5 functions very differently to how I ordinarily handle data.
Logged

I am not ashamed to confess I am ignorant of what I do not know -- Cicero
alincarpetman
City Clerk
*

Reputation: +0/-0
Offline Offline

Gender: Male
Posts: 11



« Reply #5 on: April 15, 2012, 04:10:23 AM »

For anyone interesting in reading about other people attempting to make their own city building games, there are two current threads at Heavengames here: http://caesar3.heavengames.com/cgi-bin/caeforumscgi/display.cgi?action=ct&f=1,7348,,20

and Ceasar 3 Mod Squad here: http://c3modsquad.freeforums.org/expiration-t109.html#p2667

Son of Moose has also come up with some interesting game ideas at the Tiled Mill forum in this thread here:
http://tiltedmill.com/forums/showthread.php?t=269
Logged
olivialowrie
City Clerk
*

Reputation: +0/-0
Offline Offline

Posts: 4


« Reply #6 on: May 05, 2012, 12:40:15 AM »

This looks like hard to do but I wish you luck! I think making something like what they do takes a lot of time and so much effort.
Logged

choosehottubsdirect. com  -  choosehottubsdirect reviews
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.657 seconds with 27 queries.

Google visited last this page May 19, 2012, 07:34:23 AM