Need Urgent Help!!!! Beginner Woes.........
#1
Posted 22 November 2008 - 05:34 AM
#2
Posted 22 November 2008 - 05:55 AM
#3
Posted 22 November 2008 - 08:16 AM
However, regardless of whether it'll be rendered in 3d or 2d, the game itself is pretty 2-dimensional.
Without much time to prepare, I would start off by making the 2d grid "paint" program, where the user can place buildings and streets. That's most of what the player can do in the game anyway. Then I would figure out what kinds of things simcity simulates.
I would probably NOT try to simulate everything simcity does, as that would be a huge hurdle (tons of factors like crime rate, property pricing, pollution etc, all of which affects the others, as well as desirability for certain population class or industry type), and would just try to simplify things.. doing things like desirability of housing depends on distance to work, schools, shops, and nearby parks..
Oh well, it wouldn't be all that simple in that case either. You're looking at a project that would probably take a couple of years for you to make in any case.
#4
Posted 22 November 2008 - 10:42 AM
kindly elaborate on
" would start off by making the 2d grid "paint" program".
i am familiar with the concept of grid however how to go about makin one , should i use some engine or any specific program?
ty for promt responses.
#5
Posted 22 November 2008 - 03:34 PM
You have to write proper code for your compiler, why not write proper English for your peers? And no, we're not asking for 100%, just 80% would do fine, thank you.
The city map is a grid. Houses, street segments, etc. are rectangles. You need a data structure that describes this map, and tools for the user to pick what kinds of tiles to plot in (be it houses or street segments).
#6
Posted 23 November 2008 - 01:05 AM
http://www.geocities...22/lincity.html
You might even be able to use the graphics if your class allows that. SDL is a good c++ 2d library. If you know Java at all, there's also jgame which has a little nicer sprite library, plus you could make it online, which would be cool.
#7
Posted 23 November 2008 - 08:36 AM
I am curious about the assignment, though - did you pick it yourself, was it one of many options, or was it chosen for you?
#8
Posted 23 November 2008 - 08:58 AM
ty for the link , a quick question can i use a engine to degisn the 2-d grid?
#9
Posted 23 November 2008 - 09:45 AM
#10
Posted 23 November 2008 - 09:56 AM
#11
Posted 23 November 2008 - 10:28 AM
Quote
It's just math. Pick your sprite size and then figure out your spacing. If the pieces are 50X50 pixels then you can figure out where to put it by multiplying fifty by each grid number. The grid numbers are usually 2 dimensional arrays that you can keep track of what's in there by assigning each element a number. That would be a good place to start anyway. Come up with some sprites and figure out a way to place them and possibly revolve them, or give the illusion of revolving by using four sprites turned in different directions and exchanging them when the arrow keys are pressed. I've never actually played simcity so I'm not sure how it works to tell the truth, but I always start with a core concept and then build on it using object oriented methods. I would also simplify it, so I'd cut it down to the smallest number of elements I could get away with.
#12
Posted 23 November 2008 - 12:43 PM
#13
Posted 23 November 2008 - 03:51 PM
ghett0gs0n said:
There's no "u". Writing "you" doesn't take all that more effort.
There's no "i" (lowercase).
There's no "ty". You can thank in longhand just as well.
Capitals and full stops help readability a lot.
Doing these small things makes your text much more readable, and you seem much less lazy afterwards.
#14
Posted 24 November 2008 - 07:27 PM
Second, take some time and tell us exactly what your assignment asks for. Otherwise, we "hav no clue hwo to recumend and wit wat".
As I think Sol_HSA may be wondering, I get the feeling your "enthusiasm" will result in an over-ambitious project that will kill you in the end. Figure out the minimum needed to meet specs, get that done, then "refactor"/beautify/add functionality with whatever time allows afterward.
And, I agree with another Sol_HSA point: take the time to write legibly and coherently. It doesn't have to be perfect spelling and grammar, but to get semi-pro and pro people on this forum to respond, don't make us have to work to understand you. I understand; you are busy and want to type fast. We are busy too. We don't have time to write a parser to understand what help you want...
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









