Simple Platformer#
This tutorial shows how to use Python and the Arcade library to create a 2D platformer game. You’ll learn to work with Sprites and the Tiled Map Editor to create your own games. You can add coins, ramps, moving platforms, enemies, and more.
At the end of each chapter of this tutorial there is a link to the full source code. The tutorial is divided into these parts:
- Step 1 - Install and Open a Window
- Step 2 - Add Sprites
- Step 3 - Scene Object
- Step 4 - Add User Control
- Step 5 - Add Gravity
- Step 6 - Add a Camera
- Step 7 - Add Coins And Sound
- Step 8 - Display The Score
- Step 9 - Use Tiled Map Editor
- Step 10 - Multiple Levels and Other Layers
- Step 11 - Add Ladders, Properties, and a Moving Platform
- Step 12 - Add Character Animations, and Better Keyboard Control
- Step 13 - Add Enemies
- Step 14 - Moving Enemies
- Step 15 - Collision with Enemies
- Step 16 - Shooting Bullets
- Step 17 - Views
Currently there are a few more examples that expand beyond where the tutorial leaves off. You can see the source code for those examples as well as every chapter in the tutorial on the Arcade Github at https://github.com/pythonarcade/arcade/tree/development/arcade/examples/platform_tutorial
This tutorial is also being expanded into a fully featured game developed by the Arcade community. You can check out that project on Github at https://github.com/pythonarcade/community-platformer