[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Error On Pygame Simple Game



Hi!

    Thanks, and that depends on the program. How long and how intensive it is.

    I just posted another question and that is how to do all the commands for windows32 API and such. I do not need all the commands because most of my games will just have the usual turn, collide and such. But other things to add and do are buttons, combo boxes, radial buttons and others. How to set them up, what is required, syntax and description of all the variables and such that is needed to setup, activate and so on for the window commands.

    When reading the class and other stuff they get wordy, but lack substance in naming and such for the API setup and call. I learn by step by step examples and the description of each line and what it does. 

If you can't find a white space sensitive text editor, than I think you 
can just press space once for each "block" of indentation, that is:

if foo == bar:
 self.function()

Hope that helps. Good luck!

RR4CLB wrote:
> Thanks!
> Yes, after sending the question I discovered it all. 
>
>     When I first copied the file from an example it had inserted the letters 3D after an equal sign and that was interesting. I am a blind user and just did not pay attention that the command was wrong. Then did not learn it was wrong until reading down the reference lists of all commands and no such thing existed.
>
>     Then once deleting all the 3D's after the equal sign then I got the indentation errors.
>
>     So I just got through correcting the errors and ran the program and had no errors before reading your replies.
>
>     Now the first question is to find a windows based editor that does the same thing as Emacs for indentation.
>
>     Having a display is not a good start but no errors. So on to trying sounds and see how it goes.
>
>     The next question will be on displaying text inside table cells and such so the screen reader reads it.
> NOTE:
>     I am running from windows and not Linix so emacs is not running. But indentation is going to be a real pain for my writing because I use a screen reader.
>
> "Samuel Mankins" <waterflight@xxxxxxxxxxxxx> wrote:
>   
>> Your indentation was wrong--Python is whitespace sensitive, so you've