Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

help I'm a noob!

Name: Anonymous 2007-08-13 19:57 ID:RmFCahfF

So this is my first time programming with basic, self-taught, and I'm making a Space Invaders-type program. What I would like is for there to be a short intro with a little plotline (which I've already written), and then for the game to start. Unfortunately, the script I have will go through the intro, but then will end once it gets to the game part. There's nothing wrong per se with the script I have, but I think it's missing something to make it work...is there a way to make it reset everything and start with new code (so it forgets all the stuff in the intro after the intro is over, and starts the game)?

Name: Anonymous 2007-08-13 21:05 ID:sdFyy/le

Holy shit, I forgot how ugly BASIC was. Switch to C++, seriously. And SCREEN 13 ftw if you insist on basic.
As for your problem, it could be that BASIC is gay and your while criteria is evaluated as satisfied when it hits it and just breaks. Perhaps, as suggested in /g/, make a variable called exit or something, initalize it to 1, and have the while be while exit == 1.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List