Jump to content
IGNORED

bB starfield effect


RevEng

Recommended Posts

Found this and played around with it so I thought I'd share something I discovered.

 

Perhaps you don't want the star field to cover the whole screen. Perhaps just the first half. You can put this in your game:

 bally=44
 ballheight=128

Replace "ball" with whatever you're using if not the ball. You'll notice that it makes the starfield effect for the top half.

To do only the bottom half, replace "bally=44" with "bally=177"

  • Like 4
Link to comment
Share on other sites

  • 2 years later...

I actually found that 91 instead of 92 when adjusting the height gives a smoother vertical scroll for the starfield.

 

Tried to use HMBL instead of the missiles but that seems to mess with displaying the ball.  Can't have everything with a glitch :)

 

Here's a picture using missile1x + 91 and alternating between missile1height 0 and 255 to effectively dim the stars - making player1 brighter by comparison.

 

bullethell.png

  • Like 4
Link to comment
Share on other sites

  • 1 year later...

I don't think this works on 16kSC, correct? Maybe I did something wrong because it's not working for me. Hmm.. no idea what I did, but I removed all the code from where I was testing it. Now every time I load my game the background is a random color. It used to be black always.

Edited by Words Fail
Link to comment
Share on other sites

18 hours ago, Words Fail said:

I don't think this works on 16kSC, correct? Maybe I did something wrong because it's not working for me. Hmm.. no idea what I did, but I removed all the code from where I was testing it. Now every time I load my game the background is a random color. It used to be black always.

Seems to work fine for me. Maybe your vblank routine isn't in the kernel bank?

bbstarfield_16ksc.bas

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...