Overview
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