Jump to content

ScumSoft's Photo

ScumSoft

Member Since 16 Sep 2009
OFFLINE Last Active Nov 18 2011 2:42 PM

Posts I've Made

In Topic: Multisprite kernel help

Tue Nov 1, 2011 8:28 PM

Something like this works, you don't include the .h header files like that

 includesfile multisprite_superchip.inc
 set kernel multisprite
 set tv ntsc
 set romsize 8kSC
 set smartbranching on

In Topic: Cant COMPILE!?!?! Trouble with visualbb

Tue Oct 18, 2011 7:52 PM

Remove any spaces from the path name and try again.

In Topic: which game has the best music

Sun Oct 2, 2011 5:04 PM

Pitfall 2

In Topic: Can someone clarify the use of a Debounce bit and joy0fire for me?

Thu Sep 29, 2011 5:12 PM

Basic flow control for debounce works like in the example, but that can look slightly confusing to those just getting introduced to bB.
Conceptualize it like this with:
rem if I press the fire button it should set the debounce bit and perform some bit of code
rem also I want to see if the debounce is still set to 1, if it is then dont proceed until debounce gets reset to 0
rem if the player is no longer holding down the fire button, then clear the debounce bit
 
  if joy0fire then bit_debounce = 1
wait_until_debounce_clear
  if !joy0fire then bit_debounce = 0
  if bit_debounce then goto wait_until_debounce_clear
When you say "if bit_blah then dosomething", your asking if the bit is 1, when you say "if !bit_blah then dosomething", your asking if the bit is 0
Hope this helped, RT's examples are good references to keep referring back to when you forget how things are supposed to work.

In Topic: Can't get background to flash

Wed Sep 28, 2011 6:11 PM

Of course that won't work silly, you have to draw the white screen first THEN set it back to black.
Your not drawing the screen between the changes.