Fort Apocalypse Posted August 25, 2022 Share Posted August 25, 2022 Some time ago, I made some massive changes to 8 Tanks (Quadtari) which are attached. With a somewhat clear head, I've looked over the code, but I'm having trouble seeing why: the control of one tank now affects another tank also. the projectiles (ball, missile0, missile1, player9) now get stuck. the control of some tanks appears to make them go in the wrong direction. I'm sorry there's so much code, but help debugging would be great if anyone has time. Thanks! 8tanks_0.5.bas 8tanks_0.5.bas.sym 8tanks_0.5.bas.asm 8tanks_0.5.bas.bin 8tanks_0.5.bas.lst Quote Link to comment Share on other sites More sharing options...
+Karl G Posted August 25, 2022 Share Posted August 25, 2022 You have qtcontroller set to the same variable as one of your in-game variables (Y). When I set it to var0, it seemed to fix the problem. 3 Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 25, 2022 Share Posted August 25, 2022 When that kind of thing happens and you always use Save As before making any changes, you can use a program like WinMerge to compare the last two files. I've used WinMerge a lot over the years to track down what I did to ruin everything. 3 Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted August 25, 2022 Author Share Posted August 25, 2022 3 hours ago, Karl G said: You have qtcontroller set to the same variable as one of your in-game variables (Y). When I set it to var0, it seemed to fix the problem. Thanks!!! That was it!! 2 Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted August 25, 2022 Author Share Posted August 25, 2022 3 hours ago, Random Terrain said: When that kind of thing happens and you always use Save As before making any changes, you can use a program like WinMerge to compare the last two files. I've used WinMerge a lot over the years to track down what I did to ruin everything. Yep. I need to do that more often! 1 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.