O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Master Python Interactively With PyGame: Ultimate Bootcamp

Video Description

Programming is becoming more and more popular all around the world. Programming provides extreme amounts of power and flexibility, because you can take control of your computer's actual power, and you can develop your own systems and prototypes. Python is becoming especially popular, because it's extremely user-friendly whilst still maintaining a lot of the power that other, more complex, programming languages offer. Additionally, Python has a huge community, which means all sorts of modern projects, such as Big Data, Artificial Intelligence, Machine Learning, Deep Learning, etc. have been develop for the Python community to use, which makes implementing these sorts of advanced techniques extremely easy (sometimes only 1-2 lines of code). Employers love employees that can program, because they can go out and quickly produce results or create prototypes. The ability to program will not only open you up to new opportunities, but it will also become a better logical thinker, since computers operate on logical statements, so a good programmer has a natural thought flow that is very logical.

Table of Contents

  1. Start Here
    1. Ultimate Python Bootcamp Introduction 00:01:28
    2. Installing Prerequisites 00:06:03
    3. Printing To The Screen 00:07:44
    4. Strings 00:09:46
    5. Variables 00:11:25
    6. Operations On String 00:16:01
    7. Integers and Floats 00:07:56
    8. Operations On Ints and Floats 00:12:27
    9. Booleans 00:04:35
    10. Boolean Expressions 00:12:52
    11. Type Casting 00:12:40
    12. Functions 00:12:59
  2. Control Flow - Loops
    1. For Loops 00:10:15
    2. While Loops 00:08:04
  3. Essentials Before PyGame
    1. Importing Modules 00:13:50
    2. Tuples 00:12:23
    3. Operations On Tuples 00:14:20
  4. Introducing PyGame
    1. Writing The Skeleton Of PyGame Part1 00:14:50
    2. If Statements 00:19:50
    3. Writing The Skeleton Of PyGame Part2 00:17:17
  5. Files And Image
    1. File Output 00:17:38
    2. File Input 00:14:04
    3. File Position 00:12:45
    4. Images In Pygame 00:08:51
    5. Alphas And Rotating Images 00:15:33
    6. Cropping Images 00:14:22
    7. Adding The Other Goal Parts 00:12:44
    8. Moving The Images To The Right Location 00:12:02
  6. Making The Game Interactive
    1. Lists 00:19:58
    2. Dictionary 00:12:24
    3. Processing Pressed Keys And Pass Statement 00:09:24
    4. Defining Default Values And FPS 00:09:49
    5. The Move Function 00:16:02
    6. Implementing The Player Movement 00:13:27
    7. Updating The Image On The Screen 00:09:01
    8. Global Variables 00:05:08
    9. Update Function 00:06:37
  7. The Player And The Ball
    1. Making The Player Run At The Ball 00:10:47
    2. The Kicking Motion 00:21:00
    3. Shooting The Ball 00:09:21
  8. Classes
    1. A First Look At Classes 00:14:13
    2. Methods In Classes 00:14:12
    3. Class Inheritance 00:13:53
    4. Creating The Game Class 00:07:13
    5. Creating The Background Class 00:16:48
    6. Creating The Ball Class 00:11:58
    7. Creating The Player Class 00:18:43
    8. Implementing The New Classes Part 1 00:14:20
    9. Implementing The New Classes Part 2 00:07:12
    10. Fixing The Remaining Bugs From Class Implementation 00:07:24
    11. Resetting The Player And The Ball 00:06:28
    12. Creating The Target Class 00:19:59
    13. Implementing The Target 00:10:58
    14. Adding Score To A Class 00:07:15
    15. Implementing The Score In Our Game 00:03:01
    16. User Input 00:08:20