8x16 and whatever else unreg wants to know

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.
unregistered
Posts: 1323
Joined: Thu Apr 23, 2009 11:21 pm
Location: cypress, texas

Re: 8x16 and whatever else unreg wants to know

Post by unregistered »

Well, the “problem” happens since I had adjusted the screen scrolling code to not move the character back past her pose’s x value (i.e. if pose $99’s x value is +7 and pose $9A’s x value is +1… then the character visually moves back 6, because the scrolling doesn’t ever move her to 127; she’s frozen at 127+7=134 until the next pose). This worked wonderfully for one of the characters, but this doesn’t make sense for this new character’s animation; so I’ll get her to be scrolled back to $7F regardless of her pose’s initial distance.

Just requires me to find this part in the code. :)
unregistered
Posts: 1323
Joined: Thu Apr 23, 2009 11:21 pm
Location: cypress, texas

Re: 8x16 and whatever else unreg wants to know

Post by unregistered »

Found that part; moved my draw_sprite to RAM; added 5 bytes to draw_sprite; it works now; looks MUCH better! :mrgreen: