Jump to content
IGNORED

the ground gets the jitters


hloberg

Recommended Posts

I'm using DLC+

I have this little routine below that makes a explosion sound when a ship is hit. I have seen people use DRAWSCREEN as a delay otherwise the sound effect is so fast it can barely be heard.

Problem is that the playfield jumps up ad down while the sound effect is going on. this seems to only happen in DLC. use multikernal and the effect does not happen.

question is there a more elegant delay i can use for the sound effect so that I won't have to use the bouncing playfield delay?

 

 

AUDV0 = 8
AUDC0 = 8
AUDF0 = 8

drawscreen
t1=0
_sndcnt1

drawscreen: rem this causes the playfield to jump up and down in DLC+

t1=t1+1:if t1< 25 then goto _sndcnt1
t1=0

AUDV0 = 0

Link to comment
Share on other sites

I presume you mean DPC+. Sounds like you're encountering an issue asked about in this topic, to which the answer is:

Are you setting the DFxFRACINC registers in the main loop, right before the drawscreen command? Drawscreen messes up the values, so you need to set them each frame. Otherwise the game can jitter with certain values, IIRC.


Have you seen my Sound Effect driver for bB?

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...