How to organize the structure of games?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
leave
Posts: 15
Joined: Mon Aug 17, 2009 5:12 am
Location: China

How to organize the structure of games?

Post by leave »

i need a simple framework.
Quillraven
Posts: 62
Joined: Fri Aug 22, 2008 7:22 am

Post by Quillraven »

there isn't THE framework for universal use in every game and no1 can answer you that question.

make your own ideas and think about it. learning by doing is the key in this thing imo.

however "we" can give you hints if you tell us more about your game/genre :)
leave
Posts: 15
Joined: Mon Aug 17, 2009 5:12 am
Location: China

Post by leave »

Thank you, I mean is: I have read finished with the tutorial, very simple, is a document to resolve, but would like yourself to build large-scale projects, can not be a file, right? The place where the parts were to write it? How to organize the structure of the code?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Software design is a skill, not a recipe. Read some books and take suggestions, but it's finally up to you and your project to find a suitable way.
Quillraven
Posts: 62
Joined: Fri Aug 22, 2008 7:22 am

Post by Quillraven »

think he means sthg else :)

i dont know which editor you have but f.e. in visual c++ you can create more source files (c++) and header files (h) in one project. normally you add one header/sourcefile for each class to keep the structure.

than you just include the headers at the beginning of a sourcefile where you need them.

Code: Select all

#include myclass.h

if it is that what you wanted to know, then you should read a beginners book of a programming language. there you will learn these things :)
Post Reply