Re: A curses-game I need help with.

2006-10-10 Thread Rainy
Gasten wrote: > Rob Wolfe wrote: > > > while running: > > > key_command = game.mainwin.getch() > > > > # I've moved erasing messages here > > game.msg.ereasMsg() > > Man... I didn't even think of that. It's embarassing. Thanks. It works > perfect now. Again, thanks.

Re: A curses-game I need help with.

2006-10-10 Thread Jia Lu
> try: > import curses > except ImportError: > print "Missing the Curses-library." > print "Please install the curses-library correctly." > SystemExit ~ Does this work ? Maybe *raise SystemExit* ?? -- http://mail.python.org/mailman/listinfo

Re: A curses-game I need help with.

2006-10-10 Thread Gasten
Rob Wolfe wrote: > > while running: > > key_command = game.mainwin.getch() > > # I've moved erasing messages here > game.msg.ereasMsg() Man... I didn't even think of that. It's embarassing. Thanks. It works perfect now. Again, thanks. Gasten -- http://mail.python

Re: A curses-game I need help with.

2006-10-10 Thread Gasten
Ben Finney wrote: > If you have a problem you'd like a lot of people to look at, the most > effective way is to make a short, complete example that demonstrates > exactly the problem you're trying to understand. I should make a demo, you say? I'm gonna do that next time. Thanks. -- http://mail.p

Re: A curses-game I need help with.

2006-10-09 Thread Ben Finney
"Gasten" <[EMAIL PROTECTED]> writes: > I would like to know what I did wrong. Too´many spellingmisstakes? > Shitty code? No one understands? No one got the answer? Should I > wait a little longer? Thank you. For my part, I skipped over your post because the code was far too long. If you have a

Re: A curses-game I need help with.

2006-10-09 Thread Rob Wolfe
"Gasten" <[EMAIL PROTECTED]> writes: > Can you help? I'm not a guru on curses by any means, but I've moved one line of your code and IMHO it works fine now. Look below for the code I've changed. > I'll just append all my code here (for anyone to test), so you who > doesn't want to read this humb

Re: A curses-game I need help with.

2006-10-09 Thread Gasten
Hi. I would like to know why no one have answered my post http://groups.google.com/group/comp.lang.python/browse_thread/thread/8424904058bd1734 . It were my first post here (and on the Usenet overall), so I would like to know what I did wrong. Too´many spellingmisstakes? Shitty code? No one underst

A curses-game I need help with.

2006-10-08 Thread Gasten
Hello. The last weeks I've been coding a roguelike (you know, like nethack) in python using the nCurses library. Some week ago I ran into a problem: When I made the object for messagebar-output, I found a bug that I can't figure out (believe me; I've tried everything and asked for help several time