Jump to content
IGNORED

Multiple Drawscreens?


KevKelley

Recommended Posts

I was kind of curious. 

 

My games seems to work pretty good but I will notice a scanline jump to 263 at only a couple points - when there is a collision with two sprites. 
 

I have one drawscreen so I put another drawscreen command in there with my collision codes and it seemed to resolve many of the issues I was facing. 
 

I had thought that you should only have one drawscreen (although I think in some other programs I had done more and just moved when it is executed. 
 

Is there any benefit to have more than one? Is it a best practice to try and have more instead of squeezing everything into one? Does this make sense to anyone? Lol

Link to comment
Share on other sites

Effectively what that ends up doing is slowing your game down a bit by pausing for an extra frame when you have a collision. That can be fine depending on the game. You will have to see if the slowdown is noticeable at all. 

  • Like 1
Link to comment
Share on other sites

33 minutes ago, Karl G said:

Effectively what that ends up doing is slowing your game down a bit by pausing for an extra frame when you have a collision. That can be fine depending on the game. You will have to see if the slowdown is noticeable at all. 

Thanks. I thought that this might be the effect. I had considered making some giant workaround of everything whenever a collision happened when I tried this to see. I did t notice any remarkable difference, apart from the scan lines, so it may be a good thing in the end. 

  • Like 1
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...