Posts: 749
Threads: 4
Joined: Jun 2002
Quote:Have the engine in one file, the graphics in a bunch of others, and some sections of the game, such as the instructions, in another file that would be loaded, the controls in another file (every game should have the ability to change it's controls), and the palette in another.
Hmm... BTW, I should note that all of the things that you've mentioned don't have relation with the compiler itself but with programming practices. Perhaps the biggest problem with QB are the same QB proggers out there... :o
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Posts: 3,616
Threads: 287
Joined: Jan 2003
Quote:Zack Wrote:Have the engine in one file, the graphics in a bunch of others, and some sections of the game, such as the instructions, in another file that would be loaded, the controls in another file (every game should have the ability to change it's controls), and the palette in another.
Hmm... BTW, I should note that all of the things that you've mentioned don't have relation with the compiler itself but with programming practices. Perhaps the biggest problem with QB are the same QB proggers out there... :o
Yes, true.
But QB doesn't make it very easy to do that. It's quite possible, like pr0gger said (BTW, pr0gger, great tut), but not quite easy like it is to put it all in one or two files.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 3,368
Threads: 195
Joined: Jan 2003
Actually IMO even though Visual Basic is a language that a requires you to use multiple files more than QB, it has too many features that make the program less context-free.
What I mean by this is that QB makes it easier to make programs that have the same fundamental structures as all other programming languages without extra stuff built in, like Visual Basic, C++, or Java. :|
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 749
Threads: 4
Joined: Jun 2002
Visual Basic, C++ and Java... the extra stuff you're talking about is OOP? :o
Sorry, but I still don't understand what's your point.
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Posts: 3,368
Threads: 195
Joined: Jan 2003
Yes, OOP. Or special, unnecessary, functions.
Like if a whole math library was built into a programming language. And a programmer tried to prove his point to other programmers with that program. But it's hard to understand it if the other programmers don't use the same library.
Take this program for example:
http://www.mvps.org/vb/hardcore/html/ite...cksort.htm
But there is a point where IMHO it's obvious what the function does.
Like UCASE$ or LCASE$...
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.