Jump to content



0

How To Use StatusBarColor?


5 replies to this topic

#1 MausGames OFFLINE  

MausGames

    Dragonstomper

  • 851 posts
  • Location:MO, USA

Posted Mon Mar 24, 2008 12:26 AM

When I try to set the StatusBarColor with the 6Lives/StatusBar HUD, it corrupts the status bar display. Is there a trick to this, or is it a bug?

Also, does anyone know why vertical scrolling no longer works with the PFheights option?

Edited by MausGames, Mon Mar 24, 2008 12:26 AM.


#2 batari OFFLINE  

batari

    )66]U('=I;B$*

  • 6,236 posts
  • begin 644 contest

Posted Mon Mar 24, 2008 2:50 AM

View PostMausGames, on Mon Mar 24, 2008 1:26 AM, said:

When I try to set the StatusBarColor with the 6Lives/StatusBar HUD, it corrupts the status bar display. Is there a trick to this, or is it a bug?
There is a small (maybe 1 in 64) chance that the extra code for the statusbar color might just happens to push one of the tables such that it wraps a page. I'd recommend putting the "inline 6lives_statusbar.asm" at the beginning of the last bank instead of at the end of the code (or vice-versa :) )

Quote

Also, does anyone know why vertical scrolling no longer works with the PFheights option?
I didn't think it ever worked. Did it actually work at one time?

#3 MausGames OFFLINE  

MausGames

    Dragonstomper

  • 851 posts
  • Location:MO, USA

Posted Mon Mar 24, 2008 3:06 AM

I've never had any luck getting statusbarcolor to work, even when I relocate the inline command. I noticed atari2600land reported the same problem.

View Postbatari, on Mon Mar 24, 2008 3:50 AM, said:

[

Quote

Also, does anyone know why vertical scrolling no longer works with the PFheights option?
I didn't think it ever worked. Did it actually work at one time?

In previous versions of bB it worked fine, it just looked ackward unless you set the pfheights table to all 8's - which is what I'm trying to do. Now when you try that, the score bounces like crazy, and the playfield doesn't scroll every 8th time pfscroll is used.

Edited by MausGames, Mon Mar 24, 2008 3:06 AM.


#4 batari OFFLINE  

batari

    )66]U('=I;B$*

  • 6,236 posts
  • begin 644 contest

Posted Mon Mar 24, 2008 3:15 AM

View PostMausGames, on Mon Mar 24, 2008 4:06 AM, said:

I've never had any luck getting statusbarcolor to work, even when I relocate the inline command. I noticed atari2600land reported the same problem.

View Postbatari, on Mon Mar 24, 2008 3:50 AM, said:

[

Quote

Also, does anyone know why vertical scrolling no longer works with the PFheights option?
I didn't think it ever worked. Did it actually work at one time?

In previous versions of bB it worked fine, it just looked ackward unless you set the pfheights table to all 8's - which is what I'm trying to do. Now when you try that, the score bounces like crazy, and the playfield doesn't scroll every 8th time pfscroll is used.
Never mind - I see the problem with statusbarcolor. The attached file should fix it.

As for pfheights, it must be a bug, as it should work with all set to 8. I may have investigated that problem a while ago, but I'm not sure if I fixed it. I'll have to go back and check.

Attached Files



#5 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,910 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Mon Mar 24, 2008 3:35 AM

View Postbatari, on Mon Mar 24, 2008 5:15 AM, said:

Never mind - I see the problem with statusbarcolor. The attached file should fix it.
Will you add fixes like this to the official download page so people will have the latest files?

#6 MausGames OFFLINE  

MausGames

    Dragonstomper

  • 851 posts
  • Location:MO, USA

Posted Tue Mar 25, 2008 7:55 PM

Thanks Batari, worked perfectly.

I didn't want to give up a variable for this, so I tried doing "dim statusbarcolor= COLUP0" that didn't work, too bad. "dim statusbarcolor=var43" Did work though, and since that playfield section is always on, I get a uniquely colored status bar for free.

I hope the issue with vertical scrolling is fixable, it would be nice to be able to have vertically-scrolling kernels and variable-height static/horizontally-scrolling kernels in the same game.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users