j00sebox Posted December 2, 2020 Share Posted December 2, 2020 Hi I have been reading some tutorials on 2600 programming and I am trying to make a simple tag game. Right now I'm trying to get it so the player can move vertically by implementing skip draw. Sometimes when I start the ROM there is no sprite on the screen but other times there is one that I can control but it doesn't look like the sprite I want. Here is what my scan loop looks like: This is my sprite data: This is how I'm making the pointer: Any help would be appreciated. Thanks! Quote Link to comment Share on other sites More sharing options...
Just Jeff Posted December 15, 2020 Share Posted December 15, 2020 Try posting the full source code here.. Quote Link to comment Share on other sites More sharing options...
+Andrew Davie Posted December 15, 2020 Share Posted December 15, 2020 I guess my first thought would be that there's no way the player sprite would require 186 zero bytes followed by the sprite data!! Quote Link to comment Share on other sites More sharing options...
bluswimmer Posted December 15, 2020 Share Posted December 15, 2020 Most likely scenario is that you're probably miscalculating the pointer offset in your kernel. Quote Link to comment Share on other sites More sharing options...
zeurt Posted December 29, 2020 Share Posted December 29, 2020 (edited) I don't know the reason for the 186 zero bytes at the beginning of the sprite data, but there is another mistake in your SkipDraw code: you should use bcc skipDraw instead of bcs skipDraw. Edited December 29, 2020 by zeurt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.