evilmoo Posted December 1, 2015 Share Posted December 1, 2015 Since there was a disassembly request in another thread, I figured we could try to keep the tangential noise out of other threads and look at some disassembly here. Anyone have any particular requests? Try to keep it reasonably sized, 200 bytes or 100 lines or less. 1 Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted December 4, 2015 Share Posted December 4, 2015 (edited) Ok I'll bite! If anyone else has something then feel free to ignore this. I'm hoping to have some serious Atari time over the next few months so... Ramp Rage - the scrolling - I posted on the programming thread: variable-speed-vertical-scrolling-elegant-solution-wanted and had a few replies, but I couldn't figure it out at the time. I basically hard coded a load of manual scroll speeds and this took up lots of space so I wanted a nicer, more flexible way of doing this (say like in River Raid) I've attached some screen shots showing some of the code Hope this the sort of challenge you were looking for Edited December 4, 2015 by therealbountybob Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted December 4, 2015 Share Posted December 4, 2015 Scrolling like this? http://a8.fandal.cz/detail.php?files_id=5488 Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted December 5, 2015 Share Posted December 5, 2015 Venus Express is a bit quick! but yes, something graduated and controllable - River Raid was what I had in mind. You can see from my code I had a lot of variables to achieve what I did, which worked in the end. Ramp Rage has some resistance to the movement and some acceleration, I spent a lot of time on this as I didn't want a game like let down by poor controls e.g. Mirax Force, where the ship was floating around all over the place Quote Link to comment Share on other sites More sharing options...
evilmoo Posted December 9, 2015 Author Share Posted December 9, 2015 I've attached some screen shots showing some of the code Do you have a text version of this? Something I can edit would make this much easier... If not, an original .atr or text file I can extract from? Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted December 9, 2015 Share Posted December 9, 2015 Was this the sort of challenge you were after?! Attached is my scroll logic [rrscroll.m65] i.e. this decides when to scroll (not the scroll routine which is pretty standard). There are lots of comments. I have a speed 1-64 used in the game and represented on the speed gauge. Also uses boost(flag), pl0downflag and velocity based on how long a direction is held for. I have vbicounter /2 /3 variables which loop from 0-1 0-2 0-3 in the vbi. Probably best something from scratch - the suggestions on the other thread probably make sense but I was struggling to understand how to get a calculation system to work less than once per VBI for slow speed scrolling. 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.