Chapters (84)
- 0:00Introduction
- 2:03The GUI libraries with Python (tkinter, QT, pygame...)
- 2:44The course curriculum
- 3:37Prerequisites
- 4:09Project creation and installation of Kivy
- 13:03Download the resources files
- 13:31Introduction
- 16:55Button and Label
- 23:51BoxLayout
- 30:49Size_hint and Pos_hint
- 37:18What can we do with Kivy ?
- 39:23Embed a layout
- 41:10AnchorLayout
- 45:36GridLayout
- 50:15StackLayout
- 59:30ScrollView
- 1:02:28PageLayout
- 1:05:05Conclusion
- 1:07:10Layouts : a practical example
- 1:08:58Introduction
- 1:10:39Button click
- 1:15:42Exercise : Create a counter
- 1:18:06Custom font
- 1:20:09Toggle Button
- 1:24:00Exercise : Enable/disable the counter
- 1:25:41Disabled button
- 1:27:52Switch
- 1:29:55Slider
- 1:32:13Exercise : Display the value of the slider
- 1:35:38Exercise : Enable the slider
- 1:37:34Progress bar
- 1:39:05TextInput
- 1:43:31Images
- 1:46:56Create an application with multiple screens ?
- 1:47:39Introduction
- 1:51:34Rectangle and ellipse
- 1:56:32Line
- 1:58:28Exercise : Cross
- 2:00:32Lines (Circle, ellipse, rectangle) and colors
- 2:04:15Canvas from the code
- 2:07:30Move the rectangle
- 2:10:41Exercise : borders of the screen
- 2:13:25Ball and animation
- 2:19:19Exercise : Make the ball rebound
- 2:23:05Coordinates and RelativeLayout
- 2:28:56Exercise : Flag
- 2:30:32Introduction
- 2:37:40Project creation
- 2:39:09Perspective point
- 2:44:35Vertical lines
- 2:55:11Principle : Perspective transformation
- 3:01:21Perspective transformation
- 3:11:34Exercise : Re-center
- 3:14:37Horizontal lines
- 3:21:52Horizontal lines perspective
- 3:28:33Forward movement
- 3:36:08Delta time
- 3:40:34Exercise : Lateral movement
- 3:44:01Exercise : Key press
- 3:47:58Keyboard
- 3:53:58Introduction
- 3:55:02Structure our code
- 3:57:41Tiles and lines coordinates
- 4:05:24Exercise : Line Y from index
- 4:07:26Display a tile
- 4:13:30Move the tile
- 4:16:22Display several tiles
- 4:20:36Tiles : infinite generation
- 4:28:10Random land generation
- 4:34:16Exercise : Do not exit the land
- 4:36:42Exercise : Start with a straight line
- 4:38:49Exercise : Display the ship
- 4:44:52Exercise : Fix the game speed
- 4:49:13Collisions
- 4:58:34Introduction
- 4:59:34Game over » state
- 5:04:07Create the menu
- 5:08:32Start of the game
- 5:16:25Restart the game
- 5:19:45Finalise the menu
- 5:24:38Exercise : Add the background image
- 5:26:15Exercise : Score
- 5:31:11Exercise : Add the sounds
- 5:40:22Conclusion
Show the creator's full description
In this Kivy tutorial, you will learn to create games and applications with Python for every platform (Windows, Mac, iOS, Android).
First you will learn how to use the Kivy library. You will create graphical user interfaces with buttons, labels, and images. You will learn how to implement many kinds of layouts to create interfaces that can adapt to every screen size from desktop to mobile.
Then you will create a full game with Kivy and Python. The GALAXY project is a perspective game where you need to keep your spaceship on the track.
✏️ Course developed by Jonathan Roux. Check out his channel:
https://www.youtube.com/channel/UCvRpzbxj9iKxFBLuh5qxfzw
💻 Source code and resources files:
https://codewithjonathan.net/resourceskivy
🕹 Try GALAXY on your mobile:
http://onelink.to/6w47wy
❤️ Try interactive Python courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Python (Made possible by a grant from our friends at Scrimba)
⭐️ Course Contents ⭐️
Introduction
0:00:00 Introduction
0:02:03 The GUI libraries with Python (tkinter, QT, pygame...)
0:02:44 The course curriculum
0:03:37 Prerequisites
Setup
0:04:09 Project creation and installation of Kivy
0:13:03 Download the resources files
The Lab project | 1 - Layouts
0:13:31 Introduction
0:16:55 Button and Label
0:23:51 BoxLayout
0:30:49 Size_hint and Pos_hint
0:37:18 What can we do with Kivy ?
0:39:23 Embed a layout
0:41:10 AnchorLayout
0:45:36 GridLayout
0:50:15 StackLayout
0:59:30 ScrollView
1:02:28 PageLayout
1:05:05 Conclusion
1:07:10 Layouts : a practical example
The Lab project | 2 - Widgets
1:08:58 Introduction
1:10:39 Button click
1:15:42 Exercise : Create a counter
1:18:06 Custom font
1:20:09 Toggle Button
1:24:00 Exercise : Enable/disable the counter
1:25:41 Disabled button
1:27:52 Switch
1:29:55 Slider
1:32:13 Exercise : Display the value of the slider
1:35:38 Exercise : Enable the slider
1:37:34 Progress bar
1:39:05 TextInput
1:43:31 Images
1:46:56 Create an application with multiple screens ?
The Lab project | 3 - Canvas
1:47:39 Introduction
1:51:34 Rectangle and ellipse
1:56:32 Line
1:58:28 Exercise : Cross
2:00:32 Lines (Circle, ellipse, rectangle) and colors
2:04:15 Canvas from the code
2:07:30 Move the rectangle
2:10:41 Exercise : borders of the screen
2:13:25 Ball and animation
2:19:19 Exercise : Make the ball rebound
2:23:05 Coordinates and RelativeLayout
2:28:56 Exercise : Flag
The Galaxy project | V1
2:30:32 Introduction
2:37:40 Project creation
2:39:09 Perspective point
2:44:35 Vertical lines
2:55:11 Principle : Perspective transformation
3:01:21 Perspective transformation
3:11:34 Exercise : Re-center
3:14:37 Horizontal lines
3:21:52 Horizontal lines perspective
3:28:33 Forward movement
3:36:08 Delta time
3:40:34 Exercise : Lateral movement
3:44:01 Exercise : Key press
3:47:58 Keyboard
The Galaxy project | V2
3:53:58 Introduction
3:55:02 Structure our code
3:57:41 Tiles and lines coordinates
4:05:24 Exercise : Line Y from index
4:07:26 Display a tile
4:13:30 Move the tile
4:16:22 Display several tiles
4:20:36 Tiles : infinite generation
4:28:10 Random land generation
4:34:16 Exercise : Do not exit the land
4:36:42 Exercise : Start with a straight line
4:38:49 Exercise : Display the ship
4:44:52 Exercise : Fix the game speed
4:49:13 Collisions
The Galaxy project | V3
4:58:34 Introduction
4:59:34 « Game over » state
5:04:07 Create the menu
5:08:32 Start of the game
5:16:25 Restart the game
5:19:45 Finalise the menu
5:24:38 Exercise : Add the background image
5:26:15 Exercise : Score
5:31:11 Exercise : Add the sounds
5:40:22 Conclusion
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.