1980gamer Posted December 23, 2013 Share Posted December 23, 2013 Hello all, Here is a new game I have started. It is very early, but you will get a good idea of how it works. Right now, joystick 1 controls all 4 paddle. Left/Right paddles are up-down on the stick, Top/Bottom paddles are left-right on the stick. Press a key to start. I am getting 1 error when I try to compile. I cannot see it? XB seems to work without a runtime error. I guess I am using something unsupported? I removed things like ABS() etc. But I just cannot see the error... Break thru a wall 5 times, game ends. Nothing pretty yet. BBXX.txt 2 Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/ Share on other sites More sharing options...
senior_falcon Posted December 23, 2013 Share Posted December 23, 2013 I took a quick look and found a couple of errors where you use 1.5 (a non integer) in some of the lines after 10000. ABS should be supported so there should be no need to remove that. Does the error come when you compile or when you assemble? Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2891804 Share on other sites More sharing options...
1980gamer Posted December 23, 2013 Author Share Posted December 23, 2013 It errors creating the object code. But, I remember the floating point problem now... I'll have to do multiples of 10 or 100 and then divide for sprite movement. I can't believe I forgot that! Old age is rough... Again, you have eagle eyes. Thank you, Gene Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2891822 Share on other sites More sharing options...
1980gamer Posted December 23, 2013 Author Share Posted December 23, 2013 One last thing... I looked past the 1.5's because I only got 1 error and not 4. For a simple test I'll change them to 2's Thanks again, Gene Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2891825 Share on other sites More sharing options...
1980gamer Posted December 26, 2013 Author Share Posted December 26, 2013 Here is the latest version. Still 1 player control, but I fixed a bunch of calculation problems with ball rebound. I still thinking about block hits. Direct rebound, same as center paddle rebound, random rebound??? I think Coinc set to 3 or 4 works pretty good. The score is kept in the upper blocks and no more debug variables across the top. BBXX-C.zip 1 Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2893354 Share on other sites More sharing options...
senior_falcon Posted December 26, 2013 Share Posted December 26, 2013 (edited) I can't believe I forgot that! Old age is rough... Again, you have eagle eyes. I sure wish I could find my own mistakes that quickly! :-) Edited December 26, 2013 by senior_falcon Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2893366 Share on other sites More sharing options...
1980gamer Posted December 26, 2013 Author Share Posted December 26, 2013 I sure wish I could find my own mistakes that quickly! :-) Simple code, simple debugging... Complex code, complex debugging! Write small simple stuff like me, and your life will be easier... Actually don't, we love your work! I wish I could do a fraction of what you can! Thanks for all your help. The TI99 has a great community. Gene Quote Link to comment https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2893407 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.