|
-
Flash Incompetent
[CS3] Newbie code structure
Hi, I'm currently working on a game that basically goes from like moving around on a tile based map to then walking into a building then a separate menu comes up and the map disappears. A good example of something similar to what I'm doing is an old game bard's tale for NES. You can see in the pictures below:

and then on the tile map they run into fight, the map goes away and a battle starts:

basically this project I'm working on is larger than my skill base which I know immediately gets a bad reaction around here but anyways this is how I like to learn. I'm just curious how to go about structuring code to fit this type of model. I've been working hard on making a tile-based world that fits my needs, I've created a simple editor as well and now I'm curious how when say they enter a door or come to a random fight, whats the best way of temporarily pausing the map and hiding it and calling the fight part of the game, which I haven't started yet.
I guess a second question is with a game that requires an section for fights and an section for walking around the main map, do you think its better to write each separately then code them to work with each other, or do you think its best to just work with all the code at once?
Thanks in advance for any insight/help you can give,
ChaseNYC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|