Thread: help

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    58
    Rep Power
    11

    Exclamation help


    is there a way to make buttons in idle? So that instead of typing yes or no you could just click? Im making a text adventure game and i need help.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Not in IDLE no, but you could do this using the curses module, bepening on which platform you are working on. You may have some problems if your on windows since the windows port is highly unstable.

    If you're going to do a text based game, you should really look at CGI and web development. Then you end up with something similar to the D&D adventure books.

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    IDLE is the gui editor for python using Tkinter widgets. You can write Tkinter applications that have buttons but in the case of a text adventure it would be a GUI application with a text box controlled by GUI buttons. This of course would only run on a GUI platform like X or Windows.

    grim

IMN logo majestic logo threadwatch logo seochat tools logo