Kivy Course - Create Python Games and Mobile Apps

  Рет қаралды 1,208,856

freeCodeCamp.org

3 жыл бұрын

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:
kzbin.info/door/vRpzbxj9iKxFBLuh5qxfzw
💻 Source code and resources files:
codewithjonathan.net/resourceskivy
🕹 Try GALAXY on your mobile:
onelink.to/6w47wy
⭐️ 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: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
❤️ Support for this channel comes from our friends at Scrimba - the coding platform that's reinvented interactive learning: scrimba.com/freecodecamp

Пікірлер: 1 140
@nickapeed
@nickapeed 3 жыл бұрын
This is possibly the best tutorial on a very difficult topic for me. Thank you so much!!!!
@knowledgeversions4988
@knowledgeversions4988 2 жыл бұрын
Yes really
@thoserandomshredders
@thoserandomshredders Жыл бұрын
Agreed! I Just Started Python Coding So I Started Browsing Around KZbin And I Found This, Clicked On It And Learned More Than My Brain Could Comprehend. Great Tutorial! Keep Them Coming!!
@Mozart_mozart21
@Mozart_mozart21 Жыл бұрын
its not even difficult tho
@yokoruns6180
@yokoruns6180 3 жыл бұрын
This is the most generous channel on KZbin
@programmerBoi
@programmerBoi 3 жыл бұрын
OverPowered
@joshuathomas512
@joshuathomas512 3 жыл бұрын
So grateful
@salihchindo269
@salihchindo269 3 жыл бұрын
This is very true
@kumaramit76
@kumaramit76 3 жыл бұрын
yea ofc who else on youtube provide such good programming tutorials for free :> also you play minecraft judging by ur pfp lmao
@victorwestmann
@victorwestmann 3 жыл бұрын
I could not agree more!
@gillnabiel8385
@gillnabiel8385 3 жыл бұрын
This is the best free tutorial I've ever seen, I'm not paid to say this
@paw2team
@paw2team 3 жыл бұрын
We can make donation on their website if anyone want to support them
@aumhren3480
@aumhren3480 3 жыл бұрын
i am not paid at all, lol
@aaronvond
@aaronvond 3 жыл бұрын
I totally agree!
@sateesh8893
@sateesh8893 3 жыл бұрын
Did someone scold you earlier
@AirmanKolberg
@AirmanKolberg 3 жыл бұрын
Very good, Gill. The cheque should be in your account now.
@1.000M-p7s
@1.000M-p7s 3 жыл бұрын
The art of pronouncing all English words in French way. C'est tres beau
@deanfernandez3118
@deanfernandez3118 3 жыл бұрын
pi son
@justicehack6287
@justicehack6287 3 жыл бұрын
En vrais il a un bon anglais
@dhgerber67
@dhgerber67 3 жыл бұрын
@@justicehack6287 oui mais un accent à couper au couteau :-D
@zcsaba77
@zcsaba77 3 жыл бұрын
This is frenglish, but course is good, its possible learn lot of good thing in kivy.
@mklk7377
@mklk7377 3 жыл бұрын
@@dhgerber67 frérot, couper sur le côté de la fourchette à ce niveau mdrrrrr
@zuhaibahmad2463
@zuhaibahmad2463 3 жыл бұрын
Nice to see Zidane getting into programming post retirement
@Bartek9391
@Bartek9391 3 жыл бұрын
XDD
@victorchulu8033
@victorchulu8033 3 жыл бұрын
Guy really
@JohannBaritono
@JohannBaritono 3 жыл бұрын
Hahahahahahaha
@onurakmese5404
@onurakmese5404 3 жыл бұрын
I agree !
@mlondymadida3427
@mlondymadida3427 3 жыл бұрын
🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
@potschochterpotschochter2403
@potschochterpotschochter2403 2 жыл бұрын
I have just stumbled upon this video. I am at time 50 minutes and have learned so much already. Thank you so much. The option of using nested Layouts of different kinds truly is the answer to my problems. This video pushes me ahead towards my goal. May you be blessed. Thank you so much. Believe me. I wish I could stay home and learn all day long cia this course. My dream really turns into a plastic vivion in my head. I am so fond of coding now. You really cannot fancy. Thank you so much. I am going to reframe my daily routine an add a daily hour to learning kivy an I am going to call int ME-Time in my calendar. Tkinter was so non flexible in my point of view. But this kivy opens up an whole new world for me. Greetings from Austria
@StarFury2
@StarFury2 3 жыл бұрын
Very well organized course. I love how all records of previous work in the lab chapter is always available as we are working same two files. Introduction and progress check list are very helpful to follow what is going on, and Johnathan's small exercise requests are crucial to grasp the concepts.
@MadMrQ
@MadMrQ 10 ай бұрын
I wanted to give up with kivy because there is soooo many different approaches of using it that it's very difficult for the beginner to learn. Your course is the best! Thanks!
@kelemawiguzo9611
@kelemawiguzo9611 9 ай бұрын
So do you continue for kivy after this course?
@user-hh2is9kg9j
@user-hh2is9kg9j 4 ай бұрын
@@kelemawiguzo9611 he is dead
@gregnstuff1118
@gregnstuff1118 2 жыл бұрын
Only part of the way through this course but already got the full Python course. Best tutorial that I have been through in a long time!
@istuart0
@istuart0 3 жыл бұрын
It's such a refreshing change to listen to a teacher who doesn't fill his sentences with "kinda" or ends nearly every sentence with '...right?'. Also I haven't heard him once use 'a bunch of...' like most people on KZbin do. Nor has he called anything either 'awesome' or 'cool' which are the only adjectives almost all other teachers use. Anyway, about the content. Kivy seems to me to be the contemporary method for UI design, similar to Google's Material design. I'm relatively new to Python having started to learn it for my MSc course. I needed to learn a Python UI, so earlier today I spent 4 hours on Tkinter, before realising it was rubbish for modern UI design. Thank you Jonathan for this insight into the proper way to progress with Python UI development.
@vp4673
@vp4673 3 жыл бұрын
I come from mainframe background and I just wanted to learn some new tech. Picked python and started learning. Still a beginner only. But somehow interested in kivy and got to know about your channel. Really appreciate your efforts for sharing your knowledge and even your ideas (the Galaxy project). I am sure quite a good number of people will gain very good knowledge from your tutorial. Thanks a lot!!! Wish more tutorials from you :)
@Zero-wl7oe
@Zero-wl7oe Жыл бұрын
Hi I'm the same as yourself. Wanted to learn some new tech so started learning python a year ago. I'm still a beginner because I haven't put that much time into it. I've only heard of kivy today by stumbling upon this video. I want to create small games for the Playstore/App Store etc. Would I need to be expert level or intermediate in python to get the hang of kivy do you think? Looking forward to hearing back from you.
@muhammedbabou5951
@muhammedbabou5951 2 жыл бұрын
At time 4:36:25, if last_x >= end_index : r = 2 should be changed to: if last_x >= end_index - 1: r = 2 so that the added tiles will not go out of the path. By the way thank you so much for the lecture.
@pointer333
@pointer333 2 жыл бұрын
I had to make the same change! Before adding the -1, I set the speed super high to shorten the time to the first potential error, and did quickly see the tiles go out of the grid, only on the right, and only by a bit. Figured it was an "off by 1" kinda thing. But... This lesson is pretty advanced for me. Like, I probably shouldn't be taking it. Given this, I'm nervous that me having to add the -1 here indicates that there's an 'off by 1' situation somewhere else that I hadn't yet caught, that could have negative effects later, as I increase the complexity of the game.
@JayPatel-hm6vb
@JayPatel-hm6vb 2 жыл бұрын
Yes you are right, i tried it and now it doesn't go out of the path
@derfalschejunge
@derfalschejunge Жыл бұрын
I actually think it's more a feature than a bug. Leaving the track for a bit adds some excitement.
@HybriDPjT31
@HybriDPjT31 Жыл бұрын
Thank you! after spending about an hour going over my code, this comment fixed it lol im very much a python / kivy noob so was not sure where the issue was lol
@bjornverachtert2827
@bjornverachtert2827 5 ай бұрын
thank you so much
@pablogarciamolina7066
@pablogarciamolina7066 3 жыл бұрын
Man I never comment on any video but this one deserves it, this is by far the best kivy course on youtube so far, thanks a lot for this, keep it up!.
@kewtomrao
@kewtomrao 3 жыл бұрын
That intro defines how good the tutorial would be!!
@PeterPopoola
@PeterPopoola 3 жыл бұрын
Thank you, Jonathan. This is a very well-paced and well-taught course. Gotta love the accent!
@LongTitan
@LongTitan 2 жыл бұрын
Certainly one of the top 10 best tutorial videos of all time. I'd like the opportunity to thanks this man personally. Fantastic job!
@pepelajohn1986
@pepelajohn1986 3 жыл бұрын
I just finished the course. This guy is a genius!!
@Nekotico
@Nekotico 2 жыл бұрын
how did u do that, im using the last version of kivy and the commands are quite different at the moment of working on the .kv file :S
@tcarew348
@tcarew348 3 жыл бұрын
You are the best instructor I have seen, I am a sr comp sci curriculum dev and I look for videos where instructors are given with detail. Good work!
@Onparle-de-business
@Onparle-de-business 3 жыл бұрын
Salut Mr Jonathan vous êtes l'un des meilleurs formateur. La différence c'est la simplicité dans l'explication. Vous avez la manière d'expliquer. Bravoo💪
@trashbeansoup2467
@trashbeansoup2467 3 жыл бұрын
ERRATA: Right at the beginning of the UI @17:42 you say that in Kivy you do not use the equal sign [ = ]. you use the "semi-colon" [ ; ] but then you actually use what you meant to say which is a *colon* [ : ]. btw Thank you for a wonderful tutorial. 🤗
@jesusdacoast872
@jesusdacoast872 3 жыл бұрын
Exactly 😁
@syllight9053
@syllight9053 3 жыл бұрын
I never thought that python could be used for desktop and mobile apps. I'm really impressed, maybe I should learn python too...
@MH-jf9mq
@MH-jf9mq 8 күн бұрын
Sensational tutorial. The best I've seen. Almost gave up on learning kivy before finding this gem!
@heyitscole4098
@heyitscole4098 2 жыл бұрын
half an hour and I learned a lot already. Thank you Sir Jonathan
@architchoudhary4782
@architchoudhary4782 Жыл бұрын
Monsieur Jonathan, plutôt ;)
@colton3153
@colton3153 3 жыл бұрын
i have been waiting for this so long finally you guys released it, thanks a lot. you have my deepest gratitude.
@christmastrree
@christmastrree 3 жыл бұрын
I bought this course 3 month ago in Udemy
@christmastrree
@christmastrree 3 жыл бұрын
And now this course for free
@senaysew8231
@senaysew8231 2 жыл бұрын
Anyone who deployed this project??
@sudharsanb9391
@sudharsanb9391 3 жыл бұрын
Thank you Very much sir.I Have been searching for the kivy tutorial on youtube for past many days.Finally i found your video .I am very much happy to see you
@justchris846
@justchris846 Жыл бұрын
I nearly spoke fluent french when he got done! Very well made , well organized tutorial!
@chochochon5464
@chochochon5464 3 жыл бұрын
AWESOME CRASH COURSE!!! I'd had little knowledge about python and with your course, I was able to boost my abilities at work, and currently I'm seeking to become a freelancer and learn more!!! THANKS!!!!!
@50lek
@50lek 2 жыл бұрын
How did you learn?
@pyrotex8
@pyrotex8 3 жыл бұрын
Only an hour in and this is one of the best tutorials I've ever seen!
@fifa20andriodfootballsocce15
@fifa20andriodfootballsocce15 2 жыл бұрын
A very good introduction Which puts the vibe of learning higher
@HenokGashaw
@HenokGashaw 29 күн бұрын
Huge thanks from Ethiopia! Clear, Precise and real tutorial I have ever seen!
@fernandodasilva9305
@fernandodasilva9305 3 жыл бұрын
I cant belive 😍 i always wanted to learn kivy! Hello from Brazil❤️🇧🇷
@fernandodasilva9305
@fernandodasilva9305 3 жыл бұрын
Cade os br??
@paulobaceIar
@paulobaceIar 3 жыл бұрын
@@fernandodasilva9305 aqui
@fernandodasilva9305
@fernandodasilva9305 3 жыл бұрын
@@paulobaceIar 👌👌
@pedrolopesmaia2665
@pedrolopesmaia2665 3 жыл бұрын
Hello from Pernambuco.
@sivasaran4
@sivasaran4 3 жыл бұрын
@@pedrolopesmaia2665 Traceback (most recent call last): File "D:\kivy\main.py", line 11, in kivy().run() File "D:\kivy\venv\lib\site-packages\kivy\app.py", line 949, in run self._run_prepare() File "D:\kivy\venv\lib\site-packages\kivy\app.py", line 918, in _run_prepare self.load_kv(filename=self.kv_file) File "D:\kivy\venv\lib\site-packages\kivy\app.py", line 691, in load_kv root = Builder.load_file(rfilename) File "D:\kivy\venv\lib\site-packages\kivy\lang\builder.py", line 306, in load_file return self.load_string(data, **kwargs) File "D:\kivy\venv\lib\site-packages\kivy\lang\builder.py", line 406, in load_string widget.apply_class_lang_rules( File "D:\kivy\venv\lib\site-packages\kivy\uix\widget.py", line 463, in apply_class_lang_rules Builder.apply( File "D:\kivy\venv\lib\site-packages\kivy\lang\builder.py", line 541, in apply self._apply_rule( File "D:\kivy\venv\lib\site-packages\kivy\lang\builder.py", line 661, in _apply_rule child.apply_class_lang_rules( File "D:\kivy\venv\lib\site-packages\kivy\uix\widget.py", line 463, in apply_class_lang_rules Builder.apply( File "D:\kivy\venv\lib\site-packages\kivy\lang\builder.py", line 541, in apply self._apply_rule( File "D:\kivy\venv\lib\site-packages\kivy\lang\builder.py", line 559, in _apply_rule assert(rule not in self.rulectx) AssertionError solve this error please
@saketthakur1722
@saketthakur1722 2 жыл бұрын
This is amazing. I was searching for kivy tutorials everywhere but didn't know it was available here for free.😍😍
@talhayousuf4599
@talhayousuf4599 3 жыл бұрын
I was waiting for this since a long time... Thanks
@guliverstone
@guliverstone Жыл бұрын
Great work sir, i watched hour and a half in a row. Very well explained and educational. Thank You!
@jackarsenault2216
@jackarsenault2216 3 жыл бұрын
@ 2:11:11 it was easier to do it this way if x < self.width-150: x += dp(10) (Since we know the width of the block to be 150) it will only increment until it touches the edge. Resize and you can move again. Great course!!
@rohancontrives
@rohancontrives 3 жыл бұрын
The method you suggested is good and all but it has a flaw in it. Suppose you resized your window in such a way that the rectangle got out of it. In this case, the rectangle will vanish from the screen even if you keep on pressing the button (through the method you suggested) but if you use the method discussed here, the same rectangle will get back to it's right side once you click your button. Try that... you'll see what I'm talking about
@Kiosky1234
@Kiosky1234 3 жыл бұрын
Many many many thanks for the Patience you have undergone in making this tutorial. From someone with zero experience in python. This is very clear. Merci Jonathan
@nadiyahserrano1264
@nadiyahserrano1264 2 жыл бұрын
Hey, thanks Jonathan! @ 1:01:58 you mention how we can make it scroll horizontally. I am having the worst time figuring out how to do that. it's like a whole different setup. Anyone have any luck with it? ***Update: I figured it out after 2 hours lmao. If you were wondering, change/check the orientation of the items ex: orientation = "tb-lr" will allow you to scroll horizontally and most likely other similar orientations to that. This is what worked for me!
@VJ_Abrand
@VJ_Abrand 3 жыл бұрын
I just finished this tutorial and learned a lot with you. Now I'll try to make my own apps with Python! Thank you very much for provide this for us!
@Harpreet06
@Harpreet06 3 жыл бұрын
Have you made anything yet?
@pranavnyavanandi9710
@pranavnyavanandi9710 3 жыл бұрын
Hello. Have you started anything yet?
@Harpreet06
@Harpreet06 3 жыл бұрын
@@pranavnyavanandi9710 No I've just gotten to the Galaxy app part. Have you?
@AkhilDakur
@AkhilDakur 3 жыл бұрын
Thanks a lot. I have been looking online for kivy tutorials and yours are the best. I will even purchase your course if I need more information and of course a very good explanation. Cheers
@ЭмметтБраун-у3т
@ЭмметтБраун-у3т 10 ай бұрын
Божественное объяснение,спасибо большое!
@doopie7037
@doopie7037 3 жыл бұрын
am i the only one that absolutely loves that accent
@sushilchettri8572
@sushilchettri8572 3 жыл бұрын
I think it's one of the best free courses I have ever see
@sooryadevk9797
@sooryadevk9797 3 жыл бұрын
The best kivy course 😍 Thank you Jonathan
@alemutasa6189
@alemutasa6189 3 жыл бұрын
It's so strange to get a top-notch full course with a non-indian accent lol. Great course, Jonathan has a great way to explain stuff and his way of teaching is perfect for me
@yeyuan3750
@yeyuan3750 2 жыл бұрын
So crystal clear and informative, and often introduces new concepts after us exercising with a hard way!! One of the very best instructors I ever seen.
@WildAhhMarcus
@WildAhhMarcus Жыл бұрын
not really he dosent notice that he pressing buttons that i cannot find and the english is terrible
@douvicndilbe663
@douvicndilbe663 2 жыл бұрын
thanks very much about those free courses, i'm a beginner , i study sofware engineering, this is my first year. This channel is very useful . Merci beaucoup Jonathan pour les cours sur python, c'est le premier langage de programmation que j'suis entrain d'apprendre cette année.
@HaohmaruHL
@HaohmaruHL 3 жыл бұрын
How to tell if someone is a programmer - he looks both 25 and 55 at the same time
@s.dh29
@s.dh29 3 жыл бұрын
LOL, that's facts!
@cpt.sl_pirate
@cpt.sl_pirate 3 жыл бұрын
Ammo Aca
@josebosua1489
@josebosua1489 3 жыл бұрын
And he is 15
@mopz3985
@mopz3985 3 жыл бұрын
The programmer looks like your dad without the swollen head of an alcoholic. Have you noticed that ppl who drink much beer usually have a big red head? :P
@alphainfinitum3445
@alphainfinitum3445 3 жыл бұрын
Thank you very much for putting this effort to make this for us. Like you may be expecting, the natural question on everyone's mind now is 'so how is this a mobile app if it was all done on a PC '. My guess is that you will do that maybe in another video. That's to say you will show how this is installed and run on a mobile device. Again I greatly appreciate your time and efforts at making this free for everyone.
@tasneemameen3460
@tasneemameen3460 2 жыл бұрын
There is still the final step of any kivy project which is the 'Packaging'.. Of course we need to convert the code to an actual app with .apk or .exe ...etc You can find the explaination at Kivy Documentation
@arthasedit
@arthasedit Жыл бұрын
"The Best Tutorial" that I have ever seen!
@taxiblogfr
@taxiblogfr 3 жыл бұрын
laits tarte! lol quel accent merci pour ce cours, je vais sourire pendant 5h40
@yot3605
@yot3605 3 жыл бұрын
J’ai eu la même réaction mdr
@itzdasrijan4899
@itzdasrijan4899 7 ай бұрын
Thanks a lot for this tutorial! I'm very happy that I can improve my programming skills and make my own app now, this is a gem of a video.
@Ni_Bravo
@Ni_Bravo 2 жыл бұрын
Thank you sir, it has taken me more than two months to undergo through entire lessons and you have not only educated but also inspired me to diversify my skills from django to kivy... it was really amazing, the lessons were pretty clear, and the exercises made more impact on my research and my knowledge ... I really appreciate as I officially begin my journey in kivy framework... thanks alot
@senaysew8231
@senaysew8231 2 жыл бұрын
Hey man. Have U deployed a part of game projects to Mobile pls?
@pointer333
@pointer333 2 жыл бұрын
Holy spit, I can't believe I finished this! Thank you to the instructor for taking the immense amount of time it took to prepare and deliver this! I've got everything working as expected except for one thing-- *The audio is not in-sync with events in the game.* I mean, it sure is trying to be. There's a consistent lag between event-that-triggers-sound and sound-play. It's on the order of 1 second, which I find pretty unacceptable (especially as a sound-for-film professional)! Searched these comments, and either no one cares (which is most likely, given what I've seen as a sound pro), or my system is not behaving with Kivy. Mac OS 12.4 / MBP 16" M1 Max (maxed out) / Py 3.10.5 I also noticed that my `delta t` is floating around 0.7 instead of ~1. Not sure if this plays a role... If I find something online, I'll come back to post it!
@vinsonbeduya5434
@vinsonbeduya5434 3 жыл бұрын
mannn. Wish this course was hee 2 years ago when I started learning Kivy as an absolute beginner to programming. Life was tough. lol.
@pskpk258
@pskpk258 3 жыл бұрын
You started learning Kivy 2 years ago? Do you know how to use android services with Kivy?
@vinsonbeduya5434
@vinsonbeduya5434 3 жыл бұрын
@@pskpk258 I made an android app with kivy only once 2 years back. After that I went to Uni and mostly used Java so I never used Kivy again after that. I use Android Studio now for android.
@pskpk258
@pskpk258 3 жыл бұрын
@@vinsonbeduya5434 Oh Okay 👍🏻
@Telugu_reactors
@Telugu_reactors 2 жыл бұрын
btw after 40min of class i want to tell you thissssss forr sure LOVE YOU SIR LOVE YOU CUZ OF YOU WE ARE LEARNING IT FOR FREE GOD bless you sir
@flipflap1523
@flipflap1523 3 жыл бұрын
Wow! I was literally searching for a way to dev an app, what a timing.
@FRANCISCOT00
@FRANCISCOT00 3 жыл бұрын
Great course! Got the full course on Udemy to show my support.
@tejaskumars2816
@tejaskumars2816 3 жыл бұрын
Rich kid
@subhamsaha8409
@subhamsaha8409 3 жыл бұрын
Hi Could you please let me know what is the relevant course name in Udemy.Thanks.
@Harpreet06
@Harpreet06 2 жыл бұрын
At 4:44:50 I notice the white path went outside the game. It happened to me also, so I used -2 for the end_index for generate_tiles_coordinates which fixed it.
@prathameshkhairnar
@prathameshkhairnar 2 жыл бұрын
Do you know how to add 'High score ' in this game??
@Harpreet06
@Harpreet06 2 жыл бұрын
@@prathameshkhairnar I don't but just thinking out loud, you'd have to create a high score variable, set it to 0 at the start then update it at the end of the game (with some kind of if statement - if score > high score: high score = score) then show it at the game over screen.
@prathameshkhairnar
@prathameshkhairnar 2 жыл бұрын
@@Harpreet06 Okie I'll try this one out tysm!! Actually I'm a beginner at this so it's kinda hard for me but still I'll try 💪😤
@Harpreet06
@Harpreet06 2 жыл бұрын
@@prathameshkhairnar I'm a beginner too, just going through different courses but I have finally started getting more of a hang of it and understand it more. I haven't used Kivy since doing this course so can't remember how to make things show up on the screen.
@pointer333
@pointer333 2 жыл бұрын
This is probably more relevant to folks searching around 4:35:00 ish. I had the same issue, but I fixed it so my if statements look like this: if last_x = end_index - 1: r = 2
@manishdhruw5237
@manishdhruw5237 3 жыл бұрын
I have watched the python tutorials but this is my first time watch "Ja" python tutorial Jokes aside it really saved me 100s of hours. Thank You.
@SirGrimGamer
@SirGrimGamer 3 жыл бұрын
Quality tutorial! Easy to follow and explained great. Perfect for a beginner like me who's just getting into Kivy. Thanks!
@palo8818
@palo8818 2 жыл бұрын
The intro is on another level😵
@mphikelelimkhize8650
@mphikelelimkhize8650 3 жыл бұрын
A few weeks after I started learning KIVY then BAMMM... This is uploaded. You no know my level au Gratitude right now. Guts uber fearrr!!!!
@Eria196
@Eria196 3 жыл бұрын
hey hey hey mr dagen ru thank you so much for this tourtoirial its really working out for me am designing a mobile game and am going to start a gaming company
@Maertaugh
@Maertaugh 3 жыл бұрын
You're a great and endurant teacher ! Perfect Now : how to transform the game to play it on an android device if you please?
@xeno2997
@xeno2997 3 жыл бұрын
4:34:00 Random land generation… Thank you so much !!
@billycasbolt2229
@billycasbolt2229 3 жыл бұрын
Hey great tutorial! I noticed that 4:44:50 ish your path goes outside of the vertical lines. I was having a similar issue, is this an issue with the end_index variable in the path generation function? throwing a minus 2 instead of 1 on it seems to stop this issue?
@GiacomoLami
@GiacomoLami 3 жыл бұрын
king!
@GreggityDiggity
@GreggityDiggity 3 жыл бұрын
Ya, just ran into this. It's because the end_index is the last line in the grid. So we need to make sure our end index is the 2nd last line in the grid so our rectangle is drawn inside the grid. You can add a -2 as you said or modify the last_x check as follows: if last_x >= end_index -1: r = 2
@madjedsolt5878
@madjedsolt5878 3 жыл бұрын
This channel is so professional (3.54 m of subscribers and rising) and this guy also and we're waiting for french version. Greetings from Algeria.
@kumarpulivarthi8780
@kumarpulivarthi8780 3 жыл бұрын
Deserves more for sure!
@jenex5608
@jenex5608 3 жыл бұрын
This is a really good content. Kivy really is awesome
@cornstars
@cornstars 2 жыл бұрын
first of all: great tutorial! Very clear and perfect pace! One comment: at 3:08:52 tr_x = x - (x - self.perspective_point_x) * y / self.height works also well, and i found that a bit more intuitive. Don't need the diff statements too. But maybe i should watch the rest of the video first haha
@GameboxW
@GameboxW 3 жыл бұрын
For anyone installing kivy on python 3.10 or above. At this point of time Kivy only supports till 3.9. Hence uninstall and reinstall the correct version of python to avoid errors.
@StarFury2
@StarFury2 3 жыл бұрын
There is no need to uninstall 3.10. Just create new project in venv and select 3.9 interpreter. Packages are installed for each interpreter separately, they can perfectly coexist on the same machine.
@prathameshkhairnar
@prathameshkhairnar 2 жыл бұрын
@@StarFury2 do you know how to add high score in this game??
@changenoways9555
@changenoways9555 Жыл бұрын
That LCD font is straight up bangin'
@szept1988
@szept1988 3 жыл бұрын
Great tutorial. Thank you! I have one comment though. I tried to deploy Galaxy game into my android phone and it crushed every time just after start (I followed instruction from your Udemy course). I found out that the problem is with background image from your source code. It is a progressive jpg and kivy or android for some reason is not handling such file. I simply opened your background image in IrfanView and re-saved it as jpg but with PROGRESSIVE JPG TURNED OFF and it works like a charm :)
@prathameshkhairnar
@prathameshkhairnar 2 жыл бұрын
Did you manage to convert it into apk file? and does it works fine? Without crashing? (I'm struggling with packing it into proper apk... I tried using Google colab but the apk crashes after the kivy loading screen ;-;)
@szept1988
@szept1988 2 жыл бұрын
@@prathameshkhairnar I had the same issue as you. But as I said, after changing background image to NOT progressive it was working perfectly on my Huawei
@prathameshkhairnar
@prathameshkhairnar 2 жыл бұрын
@@szept1988 ok I'll try this ty!
@fablapp
@fablapp 2 жыл бұрын
what I can say, I keep on finding excellent materials.... and it became difficult to prioritise my time here! fantastic app and fantastic tutorial. txs so much for sharing!
@neillunavat
@neillunavat 3 жыл бұрын
I was just wondering how i could use my fresh python skills to obtain total dominance in the app industry with my new app idea. Now I can do so!
@znull3356
@znull3356 3 жыл бұрын
Not sure if sarcasm.
@thehood0279
@thehood0279 3 жыл бұрын
@@znull3356 XD
@neillunavat
@neillunavat 3 жыл бұрын
@@znull3356 ofc it is bro. The app market is so saturated, total dominance?? Not even in my dreams
@neillunavat
@neillunavat 3 жыл бұрын
But i am gonna use it to impress all my family 😉😁
@thehood0279
@thehood0279 3 жыл бұрын
@@neillunavat same XD
@eraybesirli8778
@eraybesirli8778 Жыл бұрын
Teşekkürler.
@azym_equinox
@azym_equinox 3 жыл бұрын
I can't believe this is free
@AnjolaAkinsoyinu
@AnjolaAkinsoyinu 3 жыл бұрын
Yh it kinda sus
@__________Troll__________
@__________Troll__________ 3 жыл бұрын
@@AnjolaAkinsoyinu *I love how KZbin is asking me if I want to translate your comment into English*
@abyoussef734
@abyoussef734 Жыл бұрын
in 3:35:30 the function is not creating new lines above, it is just returning the first line in the bottom to its original position by setting the offset back to zero, just so you don't get confused : if self.CURRENT_OFFSET_y >= spacing_y: self.CURRENT_OFFSET_y = 0
@abyoussef734
@abyoussef734 Жыл бұрын
Edit: not just the first line but all the lines to their original positions
@omegareduck
@omegareduck 3 жыл бұрын
can someone tell me how to enable the highlight import or how to do that its really cool
@emiryigitylmaz7987
@emiryigitylmaz7987 2 жыл бұрын
My second language is English, but I understood you very well. It is a very productive educational video. Thanks for your hard work 👍
@DiT-d2h
@DiT-d2h Жыл бұрын
Nice video. But my kv file doesn't work even if it's in the same direction as my py file. So the whole code doesn't work in my case
@lexxluey
@lexxluey 3 жыл бұрын
Yoooooooooo!!!! Best introduction ever! I got sold within first 2 minutes. 💯💯💯🤣🤣❤️
@dropdar9257
@dropdar9257 3 жыл бұрын
I am using Visual Studio and its saying “You dont have an extension for debugging kivy. Should we find a kivy extension in the Marketplace?”. When I click “Find kivy extension” there are no results. Can someone help?
@lazarusmwangi2025
@lazarusmwangi2025 3 жыл бұрын
Search kvlang
@dropdar9257
@dropdar9257 3 жыл бұрын
@@lazarusmwangi2025 i know this is a little late but none of the widgets are appearing? Can u help
@natnaelhailu
@natnaelhailu 2 жыл бұрын
Just finished this. Amazing tutorial. Thank you so much Jonathan.
@shanesingh6095
@shanesingh6095 3 жыл бұрын
does anyone know how to integrate a for loop into a StackLayout. His code doesn't work for me.
@x1l3f86
@x1l3f86 3 жыл бұрын
I have problems with the stacklayout too...
@merv893
@merv893 Жыл бұрын
Fantastic tutorial, great style and very descriptive. Thank you. Also great accent 😊
@ans7452
@ans7452 3 жыл бұрын
If u make video on converting kivy application to apk it will more appreciated....
@Sanatjha4
@Sanatjha4 3 жыл бұрын
yes, i need the same
@schlechtestergtaspielerdek3851
@schlechtestergtaspielerdek3851 3 жыл бұрын
there are some videos on this. You need to use bulldozer, which is only available on Linux. But you can use a virtual machine to do this compile to an apk
@Sanatjha4
@Sanatjha4 3 жыл бұрын
@@schlechtestergtaspielerdek3851 ik that but i am trying to find a better solution coz i dont have linux and i am unable to set up virtual machine
@Nova-Rift
@Nova-Rift 3 жыл бұрын
OMGOD! This intro is so exciting!
@eindrucksvoll6244
@eindrucksvoll6244 Жыл бұрын
I am learning pyson
@bertinethomas279
@bertinethomas279 8 ай бұрын
Python
@tagobricejunior8179
@tagobricejunior8179 3 жыл бұрын
Amazing , I was looking for a tutorial like this for long
@s.dh29
@s.dh29 3 жыл бұрын
I would like to file a complaint. The guy instructing us is making steps without telling us what they do and he's self promoting. I disagree with this. This is the only video of yours I have ever disliked. This man can't instruct properly, I think that you should get someone else to do it. Sorry for the harsh comment, but I'm just stating facts.
@freedtmg16
@freedtmg16 2 жыл бұрын
that was great! i made it all the way through after a couple days of pausing and restarting.
@portinho199
@portinho199 3 жыл бұрын
The best explanation in all and deep KZbin. Congratulatons Big hug from Brazil!
@francoiscoetzee9452
@francoiscoetzee9452 3 ай бұрын
This training is great. I am at 50min. Looking forward to the rest. 😏
@francoiscoetzee9452
@francoiscoetzee9452 3 ай бұрын
This training is great. I am at 2:30 min. Kivy is very powerful and fairly easy to use.
@alanctnk
@alanctnk Жыл бұрын
This content is priceless! Thanx
@ellyeroms-qy1ym
@ellyeroms-qy1ym Жыл бұрын
feel like my head is going to blow 💫
@abhisekhnayak6245
@abhisekhnayak6245 3 жыл бұрын
Nice to see your course. Please add the subtitles in this course video.
@MrBlackplays
@MrBlackplays 3 жыл бұрын
this video is completly under rated
@naturalmotiv5312
@naturalmotiv5312 3 жыл бұрын
I really liked the course, the intro wow.
@copperchatter6890
@copperchatter6890 11 ай бұрын
This was really nice tutorial. Thank you.