Jump to content
billyj1285

Solid top screen and bottom

Recommended Posts

Goid afternoon. I just needed a little help. I am still learning and have just ran in to a small problem. I have researched and cannot find help. I have a simple game and I just want to make the very top and the very bottom right above the score solid so my sprite stays on the screen. Can anyone help? Thank you all.

 

Bj

Share this post


Link to post
Share on other sites

Goid afternoon. I just needed a little help. I am still learning and have just ran in to a small problem. I have researched and cannot find help. I have a simple game and I just want to make the very top and the very bottom right above the score solid so my sprite stays on the screen. Can anyone help? Thank you all.

 

Bj

 

Try this program, hit reset for the alternate playfield and move the sprite around:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#ex_sprite_collision_prevention

 

Is that what you are talking about?

 

You can have a sprite bang up against playfield pixels or you can tell the program to stop the sprite if it goes too far down or too far up like in this program:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#find_border_coordinates

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