Jump to content

Recommended Posts

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

  • Like 2
Link to comment
https://forums.atariage.com/topic/220034-battle-breakout/
Share on other sites

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?

Link to comment
https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2891804
Share on other sites

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

Link to comment
https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2891822
Share on other sites

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

  • Like 1
Link to comment
https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2893354
Share on other sites

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

Link to comment
https://forums.atariage.com/topic/220034-battle-breakout/#findComment-2893407
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...