02-12-2005, 05:05 AM
what if they are 'ruins' of a dungeon, and some walls are broken down....lol - a large chaotic mass of walls
Oz~
Oz~
Random Dungeon Generator in 4 lines anyone?
|
02-12-2005, 05:05 AM
what if they are 'ruins' of a dungeon, and some walls are broken down....lol - a large chaotic mass of walls
Oz~
02-19-2005, 02:50 PM
you are wrong about the line thing. You can have alot more the 255 or whatever ya said. Here is a link to a program made in qb 1.1 and is past the 255 and the 1000 mark and then goes back to 0 and continues on. you can use qb code and it will still work. Thats how I made a text adventure in 1 line, with 14 locations. The way ya do it is by puting the code under the code you want to make longer and then go to the start of the line and press backspace so that the second line joins to the end of the top line thus making the line longer.
www.geocities.com/sitenixon/LONG.BAS
02-19-2005, 04:49 PM
Yeah, but it is the compiler which doesn't take more than 256 chars. When you load that program in, say, PDS 7.1 and you hit on "Compile", the IDE splits the lines into 256 chars one using "_" and sends them to the compiler. Try compiling it from the command line: Call BC LONG.BAS /T/O/C:512 from the command line and see.
Code: H:\>bc long.bas /t/o/c:512
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i |
« Next Oldest | Next Newest »
|