Steeler Posted April 11, 2010 Share Posted April 11, 2010 (edited) This is my first post on this forum; hello! I started learning Atari programming a little less than 2 weeks ago with Kirk Israel's pretty great tutorial. Since then, I've been working on this, and I think it's finished enough to post. It runs on Stella. /*I tried running it on Z26 and the graphics jigged up and down* (and the colors looked pretty bad). I doubt it would run well on a real 2600, but if someone would try and tell me how it does, I'd appreciate it.*/ EDIT: This has been fixed. Anyway, the game has 7 levels. It doesn't have a title screen, and whether you lose or win, you have to close the game and start it up again to restart. *It's done this on Stella too if you lose the last level. I don't know why. Version 1.1 attached: BATPASSR.BIN Edited April 20, 2010 by Steeler 2 Quote Link to comment Share on other sites More sharing options...
accousticguitar Posted April 11, 2010 Share Posted April 11, 2010 I tried it using a Kroc cart on a 7800 and the graphics jig up and down. You might try checking your scanline count. Quote Link to comment Share on other sites More sharing options...
Wickeycolumbus Posted April 12, 2010 Share Posted April 12, 2010 Fun! It seems to alternate between 260 and 261 scanlines (as accousticguitar mentioned) which is causing the picture to jump. It shouldn't be too hard to fix Quote Link to comment Share on other sites More sharing options...
Steeler Posted April 12, 2010 Author Share Posted April 12, 2010 (edited) Fun! It seems to alternate between 260 and 261 scanlines (as accousticguitar mentioned) which is causing the picture to jump. It shouldn't be too hard to fix Kirk Israel mentioned in his tutorial that the timers, which I use to determine when the two non-drawing times are done, had a margin of error... could this be the problem? And does Stella specifically compensate for things like this, or how does it work so much better there? Edited April 12, 2010 by Steeler Quote Link to comment Share on other sites More sharing options...
+stephena Posted April 12, 2010 Share Posted April 12, 2010 Fun! It seems to alternate between 260 and 261 scanlines (as accousticguitar mentioned) which is causing the picture to jump. It shouldn't be too hard to fix Kirk Israel mentioned in his tutorial that the timers, which I use to determine when the two non-drawing times are done, had a margin of error... could this be the problem? And does Stella specifically compensate for things like this, or how does it work so much better there? Press 'Alt l' in Stella to see the scanline count and associated framerate in real time. It clearly shows that the count is alternating between 260 and 261. During development, even if an image appears to be stable, you should manually verify that stability (either by checking as just described, or making use of a conditional breakpoint in the debugger with 'breakif {_scan > #262}'). Quote Link to comment Share on other sites More sharing options...
Ethaniel Posted April 12, 2010 Share Posted April 12, 2010 it looks funny. do you have to jump all the time? cant you just walk? Quote Link to comment Share on other sites More sharing options...
Steeler Posted April 12, 2010 Author Share Posted April 12, 2010 (edited) How would a helmet/skull/whatever it is walk? More seriously, I think the game would be too easy if you could choose where along your path to jump. And it does look kind of strange... shorter hops or more gravity might have worked better with the cartoon cliche of a hopping skull, but it would've been harder to get a jump like that which could actually clear the bat in as many cases. Unrelated edit: I did some testing and the scanline problem seems to be caused by the bat; it's different for different levels. It doesn't seem to be triggered only by the direction the bat's moving or the position of the bat, but maybe a combination of the two. I sure don't know why... I'll go back into the code later. I tried a little bit of debugging with Stella, but the disassembly didn't quite look like my code, and I didn't take the time yet to understand it. Edited April 12, 2010 by Steeler Quote Link to comment Share on other sites More sharing options...
+stephena Posted April 13, 2010 Share Posted April 13, 2010 Unrelated edit: I did some testing and the scanline problem seems to be caused by the bat; it's different for different levels. It doesn't seem to be triggered only by the direction the bat's moving or the position of the bat, but maybe a combination of the two. I sure don't know why... I'll go back into the code later. I tried a little bit of debugging with Stella, but the disassembly didn't quite look like my code, and I didn't take the time yet to understand it. Because of the way source code is compiled to raw machine code, the disassembly will never look quite the same as your original source. That being said, the next release of Stella will have a greatly improved disassembler (from the Distella project) that is much easier to read. I plan to release this by the end of the week. 2 Quote Link to comment Share on other sites More sharing options...
Steeler Posted April 16, 2010 Author Share Posted April 16, 2010 Any more feedback on the concept/gameplay? And has anyone beaten it yet? Quote Link to comment Share on other sites More sharing options...
Steeler Posted April 20, 2010 Author Share Posted April 20, 2010 Bump. I fixed the scanline issue; fixed version edited into first post. 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.