Search found 10 matches
- Fri Sep 01, 2006 7:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to slow this down?
- Replies: 20
- Views: 22070
wow thanks. that was so much help. I don't actually hav that commenting in my program I addeed it in when I posted that message, and it was rushed lol. Anyway one other question if you're happy to keep to keep helping me. Is there anyway I can use different characters for the meteor? At the moment I...
- Fri Sep 01, 2006 5:16 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to slow this down?
- Replies: 20
- Views: 22070
Heres the whole thing, pretty messy, but oh well. CLS 'Set spaceship and meteor position y = 2 x = 1 meteorx = 38 meteory = 2 Delay = TIMER 'Map COLOR 15 PRINT "0000000000000000000000000000000000000000" PRINT " " PRINT " " PRINT " " PRINT " " PRINT "0000000000000000000000000000000000000000" 'Check f...
- Thu Aug 31, 2006 4:04 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to slow this down?
- Replies: 20
- Views: 22070
urr hello? can you read? I said I got it working...nkk_kan wrote:hmmm.. How about this one?
[/code]Code: Select all
sub delay(dlay!) stime! = timer Do loop until Timer - stime! > dlay!
- Thu Aug 31, 2006 1:01 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to slow this down?
- Replies: 20
- Views: 22070
Alright thats sorted now, thanks everyone. One last thing, I've made it so my Spaceship can't move through an asteroid or any "0". Anyway after It moves along ther screen the asteroid leaves behind an invisible trail o "0"'s. I thought I printed over them with nothing, but I can't move my spaceshi[p...
- Wed Aug 30, 2006 6:58 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to slow this down?
- Replies: 20
- Views: 22070
- Wed Aug 30, 2006 3:32 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to slow this down?
- Replies: 20
- Views: 22070
How to slow this down?
I am creating a space shooter and I'm having a problem with my asteroids. They are moving to quickly. The whole program is in a loop so you can move the spaceship around and after I print the asteroid ASCII I have the line: asteroidx = asteroidx + 1 Anyway because the loop runs so fast the asteroid ...
- Sat Aug 26, 2006 6:24 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Encrypting a Text File?
- Replies: 4
- Views: 7056
- Sat Aug 26, 2006 4:58 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Encrypting a Text File?
- Replies: 4
- Views: 7056
Encrypting a Text File?
When you save a QBASIC Program to a text file and store variables in it, is there anyway to encrypt the numbers so people using the program can't alter the variables?
- Fri Aug 25, 2006 5:55 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: LOCATE question
- Replies: 3
- Views: 6586
Well, my code is: FOR Counter = 0 TO 60 row = CSRLIN LOCATE row, 1 PRINT "0" SLEEP 1 LOCATE row, 1 PRINT " " LOCATE row, 2 PRINT "0" NEXT Counter So you can see I want the 0 to jump back and forth between coulmn 1 and 2. However at the moment when it loops around it just starts a new line (yes I nee...
- Fri Aug 25, 2006 4:01 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: LOCATE question
- Replies: 3
- Views: 6586
LOCATE question
Hi all, I know how to use the basics of the LOCAT Row,Column statement however I have a quick question about it. I want to print the character "0" on a new line after my last PRINT statement. However due to things previous in the program this line may not always be the same so I can't set the Row an...