Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Python Game Development Level 1 - Star Coder
lesson 1: Animate-Snow Fall
What you will do
Step 1: Import a library of functions called 'pygame'
Step 2: Initialize the game engine
Step 3: Set the height and width of the screen
Step 4: Create an empty array
Step 5: Loop 50 times and add a snow flake in a random x,y position
Step 6: Event to close a game window
Step 7: Now setting the screen backdrops and drawing the snow flak
Step 8: Updating the screen with what we have drawn until now
Step 9: Actual Program:
Lesson 2: Sprite creation and keyboard control
what you will do?
Step 1: Import a library of functions called 'pygame'
Step 2: Initialize the colors to it
Step 3: Now create a sprite by defining its player and setting its placement during the start if the program
Step 4: Give the movement to the sprite by updating its present positions
Step 5: Now initialize the game and set the screen size and name of the screen.
Step 6: Now create a actual sprite in the main program by calling all the defined functions.
Step 7: Now give the keyboard control to the sprite so that it will be able to move in the screen.
Step 8: Now draw every thing.
Step 9: Exit the game with this statement
Step 10: Complete program
Step 11: Output Screen
Lesson 3: Touch Me Not
What you will do
STEP 1: Import a library of functions called 'pygame'
STEP 2: Initialize the colors and Screen Size.
STEP 3: Now create an Block Object
STEP 4: Now create an Player Object
STEP 5: Now create an Game Object
STEP 6: Now create an Main code which will give the functionality to the game
STEP 7: Now call the main function to start the game
New Lecture
Lesson 4: Maze Runner
What you will do?
STEP 1: Import a library of functions called 'pygame'
STEP 2: Initialize the colors to it.
STEP 3: Now create an Object by defining the walls and sprites for it.
STEP 4: Now create a Different Rooms by defining Object
STEP 5: Now we shall create different rooms / Screens for the maze.
STEP 6: Now We shall create the main function which gives all the functionality to the game.
STEP 7: Now create the event processing by calling the created objects
STEP 8: Now let us code the Game Logic
Teach online with
Step 8: Now draw every thing.
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock