ok I will practice graphics and ascii characters. thank youburger2227 wrote:Graphics of course unless you are doing all text. Then learn ASCII characters. See Main page of WIKI
http://www.qb64.net/wiki/index.php/Main_Page
Search found 14 matches
- Mon Sep 05, 2016 3:46 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What should I learn next in QB64
- Replies: 2
- Views: 9615
Re: What should I learn next in QB64
- Sun Sep 04, 2016 2:42 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What should I learn next in QB64
- Replies: 2
- Views: 9615
What should I learn next in QB64
I master printing, strings, variables, booleans, loops,getting user input, screens, functions, drawing, arrays in QB64 but I'm not ready right now to make a good game. What do you suggest me to learn next?
- Sat Aug 27, 2016 7:41 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Need help with printing
- Replies: 1
- Views: 8384
Re: Need help with printing
just PRINT and the result without quotation mark
e.g.:
e.g.:
Code: Select all
INPUT num1
INPUT num2
sum = num1 + num2
PRINT sum
- Wed Aug 24, 2016 5:08 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: I have a problem with INKEY$ and _DELAY
- Replies: 5
- Views: 12868
Re: I have a problem with INKEY$ and _DELAY
INKEY$ reads the keyboard buffer. IE the buffer holds the keys pressed until read. PRINT "Press ENTER to continue." DO LOOP UNTIL INKEY$ = CHR$(13) _DELAY 2 PRINT "Press ENTER again to quit." DO PRINT INKEY$; LOOP UNTIL INKEY$ = CHR$(13) Press all the keys you want during the de...
- Tue Aug 23, 2016 5:54 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: I have a problem with INKEY$ and _DELAY
- Replies: 5
- Views: 12868
Re: I have a problem with INKEY$ and _DELAY
you can press enter twice without waiting for the delay and once the time passes it just ends the applicationburger2227 wrote:What are you trying to do? Worked for me.
- Tue Aug 23, 2016 5:28 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: I have a problem with INKEY$ and _DELAY
- Replies: 5
- Views: 12868
Re: I have a problem with INKEY$ and _DELAY
SCREEN _NEWIMAGE(800, 600, 32) PRINT "Press ENTER to continue." DO LOOP UNTIL INKEY$ = CHR$(13) _DELAY 1 PRINT "Press ENTER again to quit." DO LOOP UNTIL INKEY$ = CHR$(13) in this example you can press enter twice without the second print being displayed but it still ends the ap...
- Tue Aug 23, 2016 5:17 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: I have a problem with INKEY$ and _DELAY
- Replies: 5
- Views: 12868
I have a problem with INKEY$ and _DELAY
SCREEN _NEWIMAGE(800, 600, 32) PRINT "Press ENTER to continue." DO LOOP UNTIL INKEY$ = CHR$(13) _DELAY 1 PRINT "Press ENTER again to quit." DO LOOP UNTIL INKEY$ = CHR$(13) in this example you can press enter twice without the second print being displayed but it still ends the ap...
- Sun Aug 21, 2016 2:32 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: I need help with my HP bar
- Replies: 2
- Views: 9228
Re: I need help with my HP bar
sorry because it took me so long to answer but thank you so much!!!burger2227 wrote:Place a black box over the green end area and work it back to the start.
You can replace the white frame each loop or place the green box inside of it instead.
- Sat Jul 23, 2016 6:11 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: I need help with my HP bar
- Replies: 2
- Views: 9228
I need help with my HP bar
So I tried to make an HP bar. If I try to update it I must use CLS but I don't want the whole screeen to get cleared. Is there any way to fix this or clear only a part of the screen? SCREEN _NEWIMAGE(800, 600, 32) white& = _RGB(255, 255, 255) green& = _RGB(0, 255, 0) fhp = 100 hp = fhp DO RE...
- Fri Jul 08, 2016 4:38 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Text background color is black
- Replies: 4
- Views: 12700
Re: Text background color is black
ty, now I got itburger2227 wrote:OUT can change the black to any color with RGB values from 1 to 63 instead of 1 to 255. Divide the Qb64 rgb values by 4 using out.
but is there any way to make this work with _newimage?
- Thu Jul 07, 2016 2:21 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Text background color is black
- Replies: 4
- Views: 12700
Re: Text background color is black
I'm not understaing any of thatburger2227 wrote:http://www.qb64.net/wiki/index.php/OUT
- Tue Jul 05, 2016 2:19 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Text background color is black
- Replies: 4
- Views: 12700
Text background color is black
so I would like to have a colored background but text still apears white on black idk if you understand so I attach a photo: http://www.petesqbsite.com/phpBB3/download/file.php?mode=view&id=26 is there anyway to make text don't have that black background? btw the code: SCREEN _NEWIMAGE(800, 600,...
- Mon Jul 04, 2016 1:49 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB64 inkey$ requires multiple presses
- Replies: 3
- Views: 10340
Re: QB64 inkey$ requires multiple presses
Not a bug! You were reading the INKEY$ function many times and results were read and changed each time: DO K$ = LCASE$(INKEY$) ' K holds first Inkey$ result and lowers uppercase types too LOOP UNTIL K$ = "a" OR K$ = "s" OR K$ = "d" IF K$ = "a" THEN PRINT &quo...
- Mon Jul 04, 2016 10:33 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB64 inkey$ requires multiple presses
- Replies: 3
- Views: 10340
QB64 inkey$ requires multiple presses
so QB64 inkey$ requires multiple presses to register a key press e.g. : DO IF inkey$ = "a" THEN GOTO 100 IF inkey$ = "s" THEN GOTO 200 IF inkey$ = "d" THEN GOTO 300 LOOP UNTIL inkey$ = "a" OR inkey$ = "s" OR inkey$ = "d" 100 PRINT "You...