Jump to content
IGNORED

New to 2600 Programming. Need a quick answer.


Krayt88

Recommended Posts

Hey all. So I'm pretty new to 2600 programming and i'm still in the conceptual stages of a game I'm working on but before I start coding it I just have a quick question for all you pros: Is it possible to program a game that has one player using a joystick and another using a paddle controller? Without going into how such a game would be played, I'm just wondering if it is even possible to code a game to use different input devices for different players.

Link to comment
Share on other sites

Hey all. So I'm pretty new to 2600 programming and i'm still in the conceptual stages of a game I'm working on but before I start coding it I just have a quick question for all you pros: Is it possible to program a game that has one player using a joystick and another using a paddle controller? Without going into how such a game would be played, I'm just wondering if it is even possible to code a game to use different input devices for different players.

Of course you can! :) As long as one type of controller is plugged into one port, and the other type of controller is plugged into the other port, and you know which type of controller is plugged into which port, you can read each port separately, and process the input accordingly.

 

With the paddle controllers, you have a *pair* of paddles plugged into one port, so you could either have three players-- one player with a joystick, and two players with paddles-- or you could let one player control both paddles (which might be a little bit awkward), perhaps like turning the two knobs of an Etch-A-Sketch tablet. ;)

 

Michael

Link to comment
Share on other sites

I'm still pretty new to this too, but one of the things I found out abruptly was that the paddle controllers are a bit wonky to program for because you have to manually figure out their response values, which optimally takes a large number of scanlines.

 

So I just wanted to warn you that whatever idea you have, make sure there's a section of it that gives you an ample amount of time to run paddle input checks so you can properly calculate the paddle position.

 

Essentially, the more checks you make during a frame, the more of the paddle's range you can use and the more accurate you can make your paddle movement.

 

I'm still in the conceptual stages too so I haven't any source code to share yet. ^_^;

Edited by Gemini
Link to comment
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...