Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 21st, 2005, 6:08 AM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Python Software Problems

When I try to initilialize the screen settings with:

def video_settings():
    pygame.init()
    pygame.display.set_caption('Soulodine v 0.2')
    screen = pygame.display.set_mode((800, 500))
    pygame.mouse.set_visible(0)
    return screen

screen = video_settings()

The window that pops up is transparent and doesn't respond. It had ALWAYS worked beforehand for ALL my programs. And just suddenly since yesterday stopped responding with a transparent screen. It will occassionaly blink my program for a couple seconds.

I've tried rebooting. I've tried reinstalling. Anymore suggestions/advice?

Edit: I also know it is running the entire program, just not displaying it on the screen. Because I can print outputs to the Python Shell and see it looping prints, or ending the execution of the program.

Last edited by Sane; Apr 21st, 2005 at 6:13 AM.
Sane is offline   Reply With Quote
Old Apr 22nd, 2005, 9:08 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Wow. :eek:

That's extremely wierd. I finally got it to work. I have to click on a taskbar option while the window is processing to get it to display. The moment I click away or on the window, it goes blank.

Frig... :mad:
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC