Jump to content
TwentySixHundred

My attempt to replicate a 'pong like' game as a stepping stone project

Recommended Posts

G-Day guys, started getting into programming for the 2600 or should i say in general so yeah i have no programming experience other then a few simple variable hacks ect.

 

I would just like to present the code i have so far, i will warn experience and novice coders that this will probably look very messy (I am aware of this :)). Like i said it's just a stepping stone program to get some knowledge how things can be achieved for later methods. I am also aware i have not 'assigned' any variables but rather used the key names like ballx ect for statements.

 

The part i am stuck on is getting the ball to move in the y axis motion on collision, i am thinking this is where 'assigned variables' are needed with some math. I am also looking into these 'bit operations' as i think in order to make the top half the paddle direct the bally motion bally - 1 vice versa i may need to 'toggle bits'. Anyway i will post the BAS here if anyone wants to have a look, maybe there is some really unnecessary methods i have used that someone can point out. Like i said programming in general is still a bit alien to me.

Pong-Like

default.bas

 

Edit: Just so you know i have made a few projects like the typical space invader shooter with multisprites, very messy but i might attach that here too. Someone may have some pointers

Multisprite shooter

default.bas

 

 

Edited by Tony The 2600

Share this post


Link to post
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.

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...