Kivy Course - Create Python Games and Mobile Apps

freeCodeCamp.org · 1.3M views · 2021 · 5:41:27

Open on YouTube

Python, Ruby & scripting languagesGame programming & enginesEducation & learningcourse

Why Stack Overflow recommends it

Stack Overflow users link it as the Kivy tutorial they are following, and point to specific timestamps such as the ScrollView section when illustrating an answer or explaining their setup.

Recommended by 1 people across 1 different months, 2021 to 2023.

What it is

A 5h41m freeCodeCamp course by Jonathan Roux that teaches the Kivy library for building Python GUIs, covering buttons, labels, images, and many layouts that adapt from desktop to mobile. It then builds a full perspective-style game called GALAXY, and the app can be packaged for Windows, Mac, iOS, and Android.

What people said

Recommends user16271811 · 2021-06 · Stack Overflow · on “Kivy Infinite Looping ScrollView”

i think this helpful but not the Answer and this will help [this video] in minute 59:30 from kivy.app import App from kivy.uix.label import Label from kivy.lang.builder import Builder kv=Builder.load_string(''' ScrollView: do_scroll_x:False scroll_type:['bars', 'content'] bar_width:'20dp' GridLayout: id:g cols:1 size_hint:(1,None) height:self.minimum_height ''') class a(App): def build(self): return kv def on_start(self): for i in range(100):self.root.ids.g.add_widget(Label(text=str(i),size_hint=(1, None),size=(1, 20))) a().run()

Cites docros3 · 2021-07 · Stack Overflow · on “How do you get kivy to work on a windows subsystem for linux?”

I just installed Kivy and I tried follow a youtube tutorial to set it up on VScode, but when I try to run the tutorial (which is just supposed to be a black screen) I get the following error: [ERROR ] [Input ] MTDev is not supported by your version of linux Traceback (most recent call last): File "/mnt/c/Users/Bryan/Documents/CIS Docs/kivy-lab/kivy_venv/lib/python3.8/site-packages/kivy/input/providers/__init__.py", line 41, in <module> import kivy.input.providers.mtdev File "/mnt/c/Users/Bryan/Documents/CIS Docs/kivy-lab/kivy_venv/lib/python3.8/site-packages/kivy/input/providers/mtdev.py", line 84, in <module> from kivy.lib.mtdev import Device, \ File "/mnt/c/Users/Bryan/Documents/CIS Docs/k

Cites Marcus Peterson · 2021-11 · Stack Overflow · on “Why do I get Syntax error when trying to use .kv file, even though I have kivy installed?”

So I am following this Kivy course: Kivy Course - Create Python Games and Mobile Apps [this video] And the peculiar thing is that I don't experience this issue when I am creating .kv files on my windows PC. But I am on my Mac and this error occurs whenever I try to run my .kv file in my terminal: #Code for reference #This is the .kv file MainWidget: <MainWidget>: Button: text: "Hello" #This is the main.py file from kivy.app import App from kivy.uix.widget import Widget class MainWidget(Widget): pass class ThelabApp(App): pass ThelabApp().run() #This is the error message when I try to run my .kv file:# File "/Users/marcus/Desktop/kivy-thelab/TheLab.kv", line 3 <MainWidget>: ^ SyntaxError: invalid

Cites PRADDYUMN YADAV · 2022-03 · Stack Overflow · on “Convert Large Scale Kivy Applications to APK With Buildozer Using Google Colab”

Yesterday I Build A Compleate Game With Kivy and KivyMD Then I Convert It To APK But When I Open And Install That APK Then While Opening It Start With The Kivy Loding Screen And Then It Crashes . Watch That Video Of The Projects and Kivy Lerning Video That I Have Made [this video]

Cites py_programmer_47845 · 2023-04 · Stack Overflow · on “What do you need **kwargs for in Kivy when you create the __init__(self, **kwargs) method?”

I asked ChatGPT for the code to implement a Kivy Hangman App and I got the following code. However, even after extensive research, I don't understand why the **kwargs is necessary in this specific case. Because you don't pass any arguments when instantiating the object. My question differs from other questions asked in this regard in one obvious point. However, since my question was closed for reasons that were not explained, I guess I will have to explain it again here. I asked why Kivy needs this for its internal work. I could not find a single question about this here. If you found an answer to that, I would be happy if you could maybe link the question. Because I really didn't find an an