Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Pygame Button interaction
Post: Pygame Button interaction

HiĀ Im creating a quiz based game, I currently have a main menu form called Quiz.py as shown below in the code, this is simply to build my main menu. This is then imported into another file called Math...
Padalinkiller1 General Coding Help 1 7,863 Nov-16-2017, 02:45 PM
    Thread: Pygame importing classes
Post: RE: Pygame importing classes

Here is the code for my class in the Quiz.py file, apologies for posting images class Button: x=0 y=0 height=100 width=250 body = None text="Maths" def __init__(self): self.body = pygame.Rect(self...
Padalinkiller1 General Coding Help 2 3,792 Nov-15-2017, 02:08 PM
    Thread: Pygame importing classes
Post: Pygame importing classes

I am creating a quiz program in pygame, I have currently created my main menu which stores my background, buttons and mouse interaction in one class. However, am now attempting to create the quiz star...
Padalinkiller1 General Coding Help 2 3,792 Nov-15-2017, 01:52 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020