[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2016-08-21T14:32:36-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/4142 2016-08-21T14:32:36-05:00 2016-08-21T14:32:36-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=24215#p24215 <![CDATA[Re: I need help with my HP bar]]>
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.
sorry because it took me so long to answer but thank you so much!!!

Statistics: Posted by Albert — Sun Aug 21, 2016 2:32 pm


]]>
2016-07-23T13:34:17-05:00 2016-07-23T13:34:17-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=24176#p24176 <![CDATA[Re: I need help with my HP bar]]> You can replace the white frame each loop or place the green box inside of it instead.

Statistics: Posted by burger2227 — Sat Jul 23, 2016 1:34 pm


]]>
2016-07-23T06:11:00-05:00 2016-07-23T06:11:00-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=24174#p24174 <![CDATA[I need help with my HP bar]]> Is there any way to fix this or clear only a part of the screen?

Code:

SCREEN _NEWIMAGE(800, 600, 32)white& = _RGB(255, 255, 255)green& = _RGB(0, 255, 0)fhp = 100hp = fhpDO    REM Health Bar    'outter line    ol_x = 797 - fhp    LINE (ol_x, 0)-(799, 17), white&, B    'hp    hp_x = ol_x + 1    hp_x1 = hp_x + hp    LINE (hp_x, 1)-(hp_x1, 16), green&, BF    _DELAY 1    hp = hp - 10    CLSLOOP UNTIL INKEY$ = CHR$(27) OR hp = 0

Statistics: Posted by Albert — Sat Jul 23, 2016 6:11 am


]]>