Sprites 2-5 Not Being displayed

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
Scorpion Illuminati
Interested
Posts: 28
Joined: Fri Oct 02, 2015 4:58 pm

Sprites 2-5 Not Being displayed

Post by Scorpion Illuminati » Fri Oct 02, 2015 5:01 pm

I am new to this forum and sega genesis programming in general. I am trying to create a game which will display multiple sprites. Unfortunately for some reason only the very first sprite is being displayed, despite being code to draw the other sprites. I double checked everything and nothing looks out of place. I thought it could be something to do with the sprite index(linked list), but changing that so it points to the next sprite does nothing. I have been stuck on this for a few days now, and am getting a bit frustrated to say the least. I am linking to the latest nightly build in hopes some of you geniuses could figure it out.

Sincerely,

Scorpion Illuminati
Scorpion Illuminati - An open source rhythm game for the Sega Genesis
http://www.scorpionilluminati.tk

Nemesis
Very interested
Posts: 791
Joined: Wed Nov 07, 2007 1:09 am
Location: Sydney, Australia

Re: Sprites 2-5 Not Being displayed

Post by Nemesis » Sun Oct 11, 2015 8:29 am

I'm on a phone right now so I can't check the rom myself, but if you try my emulator http://www.exodusemulator.com, it has Sprite debugging options that might help. There's a Sprite list option that'll list the properties of each Sprite, taking into account the internal Sprite cache. That's probably the easiest way to start debugging this problem. There are a lot of things that could be wrong that all result in the sprites not appearing when you think they should. Getting a list of the resolved sprites and their positions as seen by the VDP takes the guesswork out of it.

Post Reply