Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Kivy Course - Create Python Games and Mobile Apps

via freeCodeCamp

Overview

Learn to create games and applications using Python with the Kivy library. Develop graphical user interfaces with buttons, labels, and images, and implement various layouts to adapt to different screen sizes. Create a full game project called GALAXY, involving perspective gameplay with spaceship navigation. The course covers topics such as layouts, widgets, canvas drawing, game development, and user interaction. Intended for individuals interested in Python programming, game development, and mobile app creation.

Syllabus

Introduction.
The GUI libraries with Python (tkinter, QT, pygame...).
The course curriculum.
Prerequisites.
Project creation and installation of Kivy.
Download the resources files.
Introduction.
Button and Label.
BoxLayout.
Size_hint and Pos_hint.
What can we do with Kivy ?.
Embed a layout.
AnchorLayout.
GridLayout.
StackLayout.
ScrollView.
PageLayout.
Conclusion.
Layouts : a practical example.
Introduction.
Button click.
Exercise : Create a counter.
Custom font.
Toggle Button.
Exercise : Enable/disable the counter.
Disabled button.
Switch.
Slider.
Exercise : Display the value of the slider.
Exercise : Enable the slider.
Progress bar.
TextInput.
Images.
Create an application with multiple screens ?.
Introduction.
Rectangle and ellipse.
Line.
Exercise : Cross.
Lines (Circle, ellipse, rectangle) and colors.
Canvas from the code.
Move the rectangle.
Exercise : borders of the screen.
Ball and animation.
Exercise : Make the ball rebound.
Coordinates and RelativeLayout.
Exercise : Flag.
Introduction.
Project creation.
Perspective point.
Vertical lines.
Principle : Perspective transformation.
Perspective transformation.
Exercise : Re-center.
Horizontal lines.
Horizontal lines perspective.
Forward movement.
Delta time.
Exercise : Lateral movement.
Exercise : Key press.
Keyboard.
Introduction.
Structure our code.
Tiles and lines coordinates.
Exercise : Line Y from index.
Display a tile.
Move the tile.
Display several tiles.
Tiles : infinite generation.
Random land generation.
Exercise : Do not exit the land.
Exercise : Start with a straight line.
Exercise : Display the ship.
Exercise : Fix the game speed.
Collisions.
Introduction.
« Game over » state.
Create the menu.
Start of the game.
Restart the game.
Finalise the menu.
Exercise : Add the background image.
Exercise : Score.
Exercise : Add the sounds.
Conclusion.

Taught by

freeCodeCamp.org

Reviews

Start your review of Kivy Course - Create Python Games and Mobile Apps

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.