YoVDO

Kivy Course - Create Python Games and Mobile Apps

Offered By: freeCodeCamp

Tags

Kivy Courses Game Development Courses Python Courses

Course Description

Overview

Learn to create cross-platform games and mobile applications using Python and the Kivy library in this comprehensive 6-hour course. Begin by mastering Kivy's fundamentals, including creating graphical user interfaces with buttons, labels, and images, and implementing various layouts for adaptive screen sizes. Progress to building a complete game called GALAXY, where you'll control a spaceship on a perspective track. Explore topics such as layouts, widgets, canvas drawing, animations, keyboard input, and game logic. By the end of the course, you'll have the skills to develop your own Python-based games and applications for Windows, Mac, iOS, and Android platforms.

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

Related Courses

Artificial Intelligence for Robotics
Stanford University via Udacity
Intro to Computer Science
University of Virginia via Udacity
Design of Computer Programs
Stanford University via Udacity
Web Development
Udacity
Programming Languages
University of Virginia via Udacity