Jump to content
Sign in to follow this  
atari2600land

Stella and paddles

Recommended Posts

Why is it that when i set paddle 1 decrease to left and paddle 1 increase to right, that whenever i press left, the player moves right and when i press right, the player moves left? Is it something i'm doing wrong programming, or am i just going crazy?

Share this post


Link to post
Share on other sites
Why is it that when i set paddle 1 decrease to left and paddle 1 increase to right, that whenever i press left, the player moves right and when i press right, the player moves left? Is it something i'm doing wrong programming, or am i just going crazy?

Paddle resistance increases from right to left. So less resistance should mean move right, and more resistance mean move left. I'd need to check this out with a real set of paddles (and Stelladaptor) to be sure, but I'm reasonably certain that's how it should be. And that seems to be exactly what's happening; for example, pressing 'right' is increasing the resistance, which moves the item left! :)

 

EDIT: I forgot to add, that assuming everything I said is correct, then there's nothing wrong with your code either; you've just remapped the increase/decrease events backwards.

Edited by stephena

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...