Hi, I have started building my first proper game, (hurrying to get a demo for blitzcon :)) and would like to know how to go about the general layout of the code.
At the moment I have a basic test program, mainly to test whether the concept and control system can be done. this has been done by my usual method of shuving everything in one file.
I am satisfied with my test and want to start programming the main engine. My main question is How do i go about laying it out?
For example, do I split the level building code, controls, asset loading...etc code into different files and if so how would i go about connecting them together?
also, how do you build your levels? i would quite like to build my own level making tool, but do you normally make the level maker generate blitzcode to use as an include, or a kinda script that you can then run through an 'interpreter' function that builds the level?
any advise most welcome.
At the moment I have a basic test program, mainly to test whether the concept and control system can be done. this has been done by my usual method of shuving everything in one file.
I am satisfied with my test and want to start programming the main engine. My main question is How do i go about laying it out?
For example, do I split the level building code, controls, asset loading...etc code into different files and if so how would i go about connecting them together?
also, how do you build your levels? i would quite like to build my own level making tool, but do you normally make the level maker generate blitzcode to use as an include, or a kinda script that you can then run through an 'interpreter' function that builds the level?
any advise most welcome.