|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
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 ![]()
__________________
*** Experimental Python Markup CGI V2 *** |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|