Creating a Game in Pygame: Collision Detection and Player Attacks

I finished the last post and got super excited to just keep going today. To recap what we have done so far, we have created our space environment and background, loaded our player’s spaceship and added movement, and made two different kinds of enemies for our player, asteroids and enemy space fighters. Let’s get right into the next tutorial and finally give our player a way to fight back! In

Creating a game in Pygame: Player Movement and Enemy AI (1 of 2)

Enemy AI is an important aspect of any game. Graphics, story, and music can all be drowned out if your game contains some wonky or useless AI or gameplay. Sometimes graphics takes a backseat and the developer can create a memorable experience from gameplay and simple graphics. When you decide to make your first game, think about the users’ experience. Try and think about what adventure you want them to

Creating a Game in Pygame: Draw Images in Pygame

That’s my checklist for getting started in making a game. After creating the game window, setting up my character, getting my character to move, …hmmmm… ah, yes! Loading images and a background. First, we’ll need to think about what kind of game we are going to create. Then, we will have to either make our own 2D sprites for the game, or download free ones. Finally, let’s write a little