Python Kivy Game Tutorial 2 - Moving (basic)

preview_player
Показать описание
We learn how to move in a very basic way. This method of moving isn't good for games (but it teaches us how to respond to the keyboard), so in the next tutorial we will do it the right way.

Code for the *complete* game is in the description of the last video. I'm sorry, but I forgot to save and upload the code for each individual tutorial.
Рекомендации по теме
Комментарии
Автор

Thank you man!! I was getting mad to start with kivy... great help!
Please continue to teach this basic things.:)

danielleal
Автор

bro i just found this channel. i love this, am politely asking if you can teach us how to do mobile touch apps.

omudugavu
Автор

Pretty cool! But how would you bind user input on a mobile phone, with tap or swipe ?

HairyFrigginPlotter
Автор

The video I was looking for! Thanks for your help bro

r--gurmandeepsinghbhath
Автор

very cool, but..how would one use touch inputs here instead of keyboard?

ppimentell
Автор

Hey what if I want to make a mobile game, how do I write the code of the touch screen as the input instead of the keyboard? Please reply, really urgent!

roshbit
Автор

But how did you managed to run your program continuously without using any loop ??

satyamkumar
Автор

Hey!! Great tutorial dude! But i have a bit of an issue... right after the last steps you have shown us, by making the rectangle move according to the WADS keys that are assigned, as soon as i run the program, it opens the window with my rectangular image, but when i push any of the WADS keys, instead of moving like it should, it just closes the window... what now? How do i fix this? Someone please help!

NNO
Автор

Thanks sir but I want a help from you . Please give the code of this game using separate kivy file with python file please sir I have taken this game as college project I want to improve it using levels and player selection but I don't know how I can implement using this code if you will give me tha kivy file code with python separate then I can do this please sir

KapilKumar-oghz
Автор

Very nice video but I need Hindi video

drivingschooludaipurwati
Автор

thanks for the your help but I get an error when I use your code "AttributeError: 'GameWidget' object has no attribute '_on_keyboard_closed'"! thank you for your time <3

NiekHM