STGraves Posted June 15, 2015 Share Posted June 15, 2015 I decided to try Random Terrain's code for shooting in eight directions, at the beginning it worked decent even though I could only shoot up, up/right, up/left, but now I can't even shoot at all with neither the ball nor the missile0, can anyone tell me what am I doing wrong please? Thanks, here are two versions of my code, one with the ball and the other with missile 0. estrevball.bas estrevmissile.bas Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted June 15, 2015 Share Posted June 15, 2015 Why don't you compare the version that was semi-working with the code that isn't working using something like this: winmerge.org/ That's what I do when something stops working. Quote Link to comment Share on other sites More sharing options...
STGraves Posted June 15, 2015 Author Share Posted June 15, 2015 Hehehe that won't happen, sadly I don't have that version anymore Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted June 15, 2015 Share Posted June 15, 2015 Hehehe that won't happen, sadly I don't have that version anymore Every time I make a significant change to a program I'm working on, I use Save As to save it as a new file so I can go back to a previous working version if I mess something up. If you use Save As before making any major changes, then something stops working correctly, you can use a program like WinMerge to compare the latest two versions of your program and the differences will be highlighted. You can read more about that here: atariage.com/forums/topic/181138-easy-software-versioning/ 1 Quote Link to comment Share on other sites More sharing options...
STGraves Posted June 15, 2015 Author Share Posted June 15, 2015 Yes I have already read about it on your site, but I haven't thought on it until you told me. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted June 15, 2015 Share Posted June 15, 2015 Yes I have already read about it on your site, but I haven't thought on it until you told me. I just added this to the Getting Started section in the hopes that others will read it and follow the advice: randomterrain.com/atari-2600-memories-batari-basic-commands.html#use_save_as Quote Link to comment Share on other sites More sharing options...
STGraves Posted June 15, 2015 Author Share Posted June 15, 2015 I've tried all morning long to recreate that program version but I just couldn't, I tried everything I remembered myself doing, but with no success, I hope anyone could help me with some advice or help on how to get it to work, here I attach the version with a working missile0 and the dimmed variables ready. etsrevstg.bas 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.