INTRODUCTON
Based on creating games.
User friendly.
Varieties of modules.
WEBSITE
• http://www.pygame.org
HOW TO INSTALL..?
MODULES
MODULES IN PYGAME
SYNTAX:
import pygame
SECOND STEP:
• Basic steps to follow on main function
are:-
1.Initializing .
2.Loading game resources .
3.Preparing game objects .
4.Entering the game loop .
INITIALIZING
• Initialize the default pygame modules
for you.
SYNTAX:
pygame.init()
DISPLAYING SURFACE:
• The next part of our main function is
creating the
display surface.
SYNTAX
pygame.display.set_mode((640, 480),
FULLSCREEN)
IMAGE LOADING:
• Next step is to load the image.
SYNTAX
pygame.image.load('a.bmp‘)
Preparing game objects.
Project done by :
K.Karthik
P.R.Mani
D.Arun Kumar
S.Caroll
ANY QUERIES.?