Jump to content
Sign in to follow this  
Lodmot

Multisprite Kernel [Solved]

Recommended Posts

I found a strange glitch with the multisprite kernel.

 

In my game, I have it so when the car changes direction, it switches to the corresponding sprite for that direction.

However on one of the directions, the car sprite has an extra line at the top that shouldn't be there. I checked the sprite code

and the line isn't there. Interestingly enough, if I change around the order of the loops in the code, the line will go to a different

directional sprite. It seems to be a timing issue of some kind.... Perhaps I've made the code between each drawscreen too long?

I should mention I wrote a physics engine for the car, so that along with the drawing of missiles that the car fires, along with the

directional sprites, maybe is pushing it a bit?

 

EDIT: As I was trying to figure out the problem, I eventually said "screw it", and continued work on the game.

Then after adding a few pieces of unrelated code into the game and testing it again, the weird sprite glitch mysteriously disappeared.

Strange.......

 

So I guess..... uh..... this issue has been resolved...? xD

default.bas

default.bas.bin

Edited by Lodmot

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...