Problems with the editor

Blitz3D Forums/Blitz3D Programming/Problems with the editor

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You should separate and make logical splits in your project. If part of the code deals with a 3D engine, then make a 3D engine bitz basic source file. if the other portion deals with game logic, make a game blitz basic file. If part of your code deals with AI, make an AI bb code, etc... If your program is well written, you shouldn't have to worry about global and local variables, as everything will be self contained. It's good practice to define types and store your stuff logically in your type. Making a Game Type with your counters, your game status and all sorts of crap that refers to your game running should go in there and right after the type just initialize that type to a global, and that gloabl should only be used in your game.bb source. if you need to communicate stuff between game.bb and AI.bb, then you make functions.

It's a question of how you program and how clean is your code. I suggest looking that seriously.