|
Following the Tutorial by Michael Dawson and the previous
web help from Liam Clark, I have a basic Othello Game up and running quite
well. I now want to start the game with a set of instructions that
stays on the screen until the user is ready to proceed. Since you are only
allowed one screen, I am now confused as to how I can accomplish this. My program starts by defining global constants SCREEN_WIDTH = 1024 and
SCREEN_HEIGHT=768 and THE_SCREEN = games.Screen(SCREEN_WIDTH, SCREEN_HEIGHT) Then after writing all the classes, sprites etc I define main() as follows: def main(): my_screen = THE_SCREEN board_image=games.load_image(“OthelloImage.jpg”) my_screen.set_background(board_image) # then I create some board pieces etc and end
with my_screen.mainloop() main() Thank you for any help. Gene |
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
