Shop OBEX P1 Docs P2 Docs Learn Events
Building Defender w/o Hydra? — Parallax Forums

Building Defender w/o Hydra?

Dan TaylorDan Taylor Posts: 207
edited 2009-05-11 01:52 in Propeller 1
What do I need to change in the programming if I want to build the Defender game with just the Propeller Demo Rev G along with the keyboard and the display?

In the program it looks like in several places that·this is possible.

Thanks for all of your help!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-05-05 20:54
    Hi Dan,

    The "Software Guide" link on this site:
    www.warrantyvoid.us/tiki-index.php?page=Tutorial

    Should have a listing for Defender (IIRC) -- I don't know if the keyboard interface might have been sacrificed for NES controller in my conversion instructions. Give it a shot.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • Dan TaylorDan Taylor Posts: 207
    edited 2009-05-06 18:22
    I am a little confused with this...
    ·
    So are all of these programs written for the Demo board? Or is this just a list of all the games? Or is this a program that converts them?
    ·
    Thanks for the list though, Its great! hop.gif

    [noparse][[/noparse]Edit]: I did not see the Index PDF. That explains everything very clearly. Thanks you very much!



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor

    Post Edited (Dan Taylor) : 5/6/2009 6:29:11 PM GMT
  • Dan TaylorDan Taylor Posts: 207
    edited 2009-05-06 19:18
    Ok... So the display is working great. But the problem now is that I don't have the gamepad. Is there anyway I can change it to the keyboad controls?

    Thanks for any help!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-05-07 01:20
    Try this...

    USE_KEYBOARD               = 1
    KEYSPIN                         = 26 
    
    



    In the configuration block you are using.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • Dan TaylorDan Taylor Posts: 207
    edited 2009-05-07 06:28
    But there is nothing even mentioning a keyboard in the program. By the way I am looking at Donkey Kong right now.

    Where is the configuration block? blush.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-05-08 13:46
    I don't believe there is a keyboard control in Donkey Kong.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • Dan TaylorDan Taylor Posts: 207
    edited 2009-05-08 15:37
    That is my question, could I switch the control from the game pad to keyboard control?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-05-08 17:17
    You'll need to use the "combokeyboard.spin" program (if there's enough memory)
    and change the controls in the program code to read from the keyboard instead
    of the game controller.

    Not an easy challenge. Did you check the original thread for Donkey Kong
    to see if this was addressed at some point during creation?

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • Dan TaylorDan Taylor Posts: 207
    edited 2009-05-08 20:51
    You're right. There is not enough memory...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dan Taylor
  • potatoheadpotatohead Posts: 10,261
    edited 2009-05-11 01:52
    Go visit your local thrifty. Game pads are almost always there. NES / Atari / Genesis are getting harder to find among the PS1, Dreamcast and older Xbox controllers tho. Still, you should be able to give it a go for a coupla bucks. Just make a custom plug, to avoid not having the connector and call it good.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!
Sign In or Register to comment.