![]() ![]() Rect( 300, 300, 100, 130) # set player position (start x, start y, width, height) blit( background, ( 0, 0)) # draw the background screen Key_up = False # These default the button press variables to False (not pressed)Ĭarryghost = False # These are the variables for the picking up of the other objects by the player Ghostlocation = # Creates empty template for numbers above ![]() RIGHTSIDE = 1 # Assigns value to the locations below depending on position (Right / Left of Bridge) ![]() set_mode(( 945, 690)) # Creates our Application Window at a certain resolution Clock() # invokes time module from pygame (for setting framerate later on) play( 0, 0) # set music playback to program initialisationĬlock = pygame. load( 'pmandubstep.ogg') # load background music init() # invokes mixer module (for music playback) Import tkMessageBox # Imports Tkinter textbox modules Import pygame # imports the pygame package along with any modules belonging to pygame Import os, sys # imports the standard python modules ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |