Re: Python and accessible text
If I understand properly, you want an option to create a text that shows up in Pygame and be read by the user. I am not working with fonts in pygame, but I think you could create a class and put methods for showing at screen (by passing the coords) and speaks
Re: Python and accessible text
Thanks SoundMUD. Very happy to hear working combinations. Trying WX with pygame is now on my to do list. The text that I want is for review, in a turn based scenario. Perhaps location plus the last 3 actions by the player. Shorter text messages
Re: Python and accessible text
Did you try to simply print to a console? I am wondering if it is convenient enough to review the text in the console though. This solution is probably compatible with pygame mixer to add music and sound effects. If the printed string is Unicode, even the non
Re: Python and accessible text
Ethin, thanks, though I'm not quite understanding you. Are you saying that accessible_output2 works and compiles with python3x? I have a separate thread on accessible_output2 issues, probably best for us to discuss AO2 there. I am happy to convert to python
Re: Python and accessible text
@Rocky, from what I can understand from the documentation, it is best that you use a library such as Tolk or AO2 because I don't know what accessible text is available while using pygame. I know that innoSetup can create dialogs with text that is read
Re: Python and accessible text
It depends on what kind of game you are trying to do.How long is the text supposed to be available? Is it updated when the player presses a key or ends his turn, or when new information is available in real time? Is it just an intro before something more
Re: Python and accessible text
It depends on what kind of game you are trying to do.How long is the text supposed to be available? Is it updated when the player presses a key or ends his turn, or when new information is available in real time? Is it just an intro before something more
Re: Python and accessible text
@Rocky, accessible_output2 is only meant for Python2 because the python2 fanatics will not update to python 3.x to convert accessible_output2 to python 3.x, which is, might I add, the latest, and best python version available. (The python 2.x fanatics
Re: Python and accessible text
Thanks, I see WX certainly has text boxes and a whole lot more. I am reading stuff that assumes more knowledge than I have. As a relative newby, anyone with some tips would be appreciated. For example can I use WX to write to the pygame GUI? My goal
Re: Python and accessible text
I know it can be done, but I don't know how. Maybe something related to wx?
URL: http://forum.audiogames.net/viewtopic.php?pid=235909#p235909
___
Audiogames-reflector mailing list
Audiogames-reflector
Python and accessible text
I am using python 2.7 with pygame and accessible_output2. I can put text on the window as a font object for the reader and I can output the same text as speech. I would prefer an access solution where I produced accessible text, available for review by screen
11 matches
Mail list logo