|
Hello,
I'm having trouble displaying a single sprite correctly. It appears, but the coordinates are wrong. I've included the code that you can download to help finding what's wrong.
http://www.desy.ca/test.zip
1. First a small portion of the sprite appears on the top left corner. Why?
2. In our.spr, i've got 2 sprites. The first one is a square and the second one is a dot. In my code, i do specify that the sprite index i want to display is 0 (the square). The square appears, but the dot also appears in the middle of the square! Why is that? Isn't a tile representing a single sprite?
You can compile it with nesasm and view the tiles with Tile Layer Pro.
Thanks for any help
|