Search found 155 matches

by Sinuvoid
Fri Aug 03, 2007 5:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: T IMER QUESTION
Replies: 2
Views: 5098

T IMER QUESTION

Hey again, I was wondering how to make "TIMER" a varible so when it gets to a certain timeit does something Example: DO oldtime = TIMER 'makes the timer count up from zero x = 3 y = 7 enemyx = 20 enemyy = 18 PRINT "TIME: "; INT(oldtime - TIMER) LOCATE y, x PRINT ".8." I...
by Sinuvoid
Sun Jul 29, 2007 8:19 am
Forum: QBASIC and QB64 Questions & Answers
Topic: RE:A VERY VERY QUICK QUIESTION! (questions =))
Replies: 1
Views: 3356

RE:A VERY VERY QUICK QUIESTION! (questions =))

How do you mkae a count up timer but doesnt stop your program. and also where can i find the forumla for the DATA thing to display it? my code for easy understanding CLS DIM field$(15) field$(0) = " " field$(1) = " $$$" field$(2) = "| | " field$(3) = "| | " fi...
by Sinuvoid
Fri Jul 27, 2007 12:51 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A VERY VERY QUICK question!
Replies: 3
Views: 6520

actually a count up timer :) but when i use the FOR..NEXT with sleep in the middle it stops my program till it gets to lets say...3000 or something. And where can i find the forumla to draw the "sprite" (intropage thing") my code CLS DIM field$(15) field$(0) = " " field$(1) ...
by Sinuvoid
Fri Jul 27, 2007 9:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: A VERY VERY QUICK question!
Replies: 3
Views: 6520

A VERY VERY QUICK question!

How do you make a timer in your program that you can see but doesnt affect your whole program?
by Sinuvoid
Thu Jul 26, 2007 7:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with another code!
Replies: 9
Views: 17142

Sorry for bugging you AGAIN but when my life goes down past 10 the " / 20" changes to "/ 200" and another question is how do i make an enemy pop up after an amount of time? run the code to see what i mean CLS DIM field$(15) field$(0) = " " field$(1) = " ___________...
by Sinuvoid
Thu Jul 26, 2007 12:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with another code!
Replies: 9
Views: 17142

How did you figure out the calculations for the AND statements? IF kp$ = "w" AND y - 1 > 1 THEN y = y - 1 IF kp$ = "s" AND y <14> 0 THEN x = x - 1 IF kp$ = "d" AND x + 3 < 52 THEN x = x + 1 By the way the "s" key stops working when i put in the statment for it...
by Sinuvoid
Thu Jul 26, 2007 11:16 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with my code
Replies: 5
Views: 7604

THANK YOU SO MUCH STOVE!!!!!!!!
P.S. the reason why im asking so much is because im newbie (obvious) and been using QB for a week =)
by Sinuvoid
Thu Jul 26, 2007 10:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with another code!
Replies: 9
Views: 17142

Thanks again, that just solved some of my other problems =) but heres another one. when you "walk" over to the right side (where the "|'s" are) I can walk over them THEN it stops me, i need it to stop me before i hit it like the other walls =) P.S. run the code to see what i mean...
by Sinuvoid
Thu Jul 26, 2007 9:43 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with another code!
Replies: 9
Views: 17142

Help with another code!

If you run this code and direct teh little "man" to the right he'll stop for some reason, can someone figure out how to make him go PAST the invisble wall? by teh way controls: "w" = up "s" = down "a" = left "d" = right "q" = quit CLS DIM f...
by Sinuvoid
Thu Jul 26, 2007 6:30 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with my code
Replies: 5
Views: 7604

Still doesnt solve how to get rid of the sprite problem. :?
by Sinuvoid
Wed Jul 25, 2007 8:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with my code
Replies: 5
Views: 7604

Help with my code

Can someone help me get rid of the "sprite" for Case's "w" and "s"? When I move up the last sprite stays there. CLS SCREEN 13 DO RANDOMIZE TIMER LOCATE 12, 40 COLOR INT(RND * 15) + 1 PRINT "Welcome to Runaway!" LOCATE 14, 40 PRINT "Press any key to contin...
by Sinuvoid
Wed Jul 25, 2007 12:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Dont know how to move objects.
Replies: 7
Views: 11876

Does it matter which coordinates i save the ball?
Lets say

Code: Select all

 GET (11, 11)-(26, 26) 
can it be just random numbers?
by Sinuvoid
Wed Jul 25, 2007 11:55 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Dont know how to move objects.
Replies: 7
Views: 11876

Re: Animation Basics in QB

Draw a circle and fill it to create the ball. CIRCLE (20,20), 5, 4 PAINT (20,20), 4 'Capture the picture of the ball. I intentionally want to capture an extra border around the ball so when redraw the picture 1 pixel over, it automatically erases itself. No blinking. GET (14,14)-(26,26), ball Why p...
by Sinuvoid
Wed Jul 25, 2007 8:56 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Dont know how to move objects.
Replies: 7
Views: 11876

The actual moving :oops:
by Sinuvoid
Wed Jul 25, 2007 8:30 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Dont know how to move objects.
Replies: 7
Views: 11876

Dont know how to move objects.

Still after reading 5 tutorials I dont understand how to move stuff across the screen! Can someone make me a simple tutorial please?
Thanks in advance :D