Page 1 of 1

Sprites 2-5 Not Being displayed

Posted: Fri Oct 02, 2015 5:01 pm
by Scorpion Illuminati
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

Re: Sprites 2-5 Not Being displayed

Posted: Sun Oct 11, 2015 8:29 am
by Nemesis
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.