+ 13

Kivy question

I have a problem with kivy, i want to after every 1 sec the label changes it text Like, the label is a field and i want to the player walk to the right for every 1 sec I have searched it and looking for tutorials but i never saw someone explaining it prorpely

5th Nov 2018, 3:37 PM
I Am Arthur
I Am Arthur - avatar
21 Respostas
+ 10
I think the clock object os what you need to accomplish your goal https://kivy.org/doc/stable/api-kivy.clock.html
5th Nov 2018, 4:44 PM
Luiz Santos
Luiz Santos - avatar
+ 4
Segue aĆ­ um exemplo. https://pythontic.com/app/kivy/clock
5th Nov 2018, 11:54 PM
Luiz Santos
Luiz Santos - avatar
+ 2
https://code.sololearn.com/cn0xyVZ0a6Du/#py You can use pydroid3 on playstore to run this code.
6th Nov 2018, 2:25 AM
danvetio
danvetio - avatar
+ 2
Luiz Santos Tkinter is arealdy on pydroid...
6th Nov 2018, 3:11 PM
I Am Arthur
I Am Arthur - avatar
+ 2
PRO Its in a mobile, so it have some limitations Place any widget and it will work
7th Nov 2018, 11:48 AM
I Am Arthur
I Am Arthur - avatar
+ 1
Luiz Santos Tu pode me mostrar um exemplo usando kivy.clock?
5th Nov 2018, 9:26 PM
I Am Arthur
I Am Arthur - avatar
+ 1
hey....can we use tkinter on pydroid 3
6th Nov 2018, 7:06 AM
PRO
PRO - avatar
+ 1
PRO you can
6th Nov 2018, 7:08 AM
danvetio
danvetio - avatar
+ 1
but i m not able to
6th Nov 2018, 7:08 AM
PRO
PRO - avatar
+ 1
it gives an error
6th Nov 2018, 7:08 AM
PRO
PRO - avatar
+ 1
PyDan how r u able to use tkinter in pydroid
6th Nov 2018, 7:09 AM
PRO
PRO - avatar
+ 1
I has tested my phone. Its still active
6th Nov 2018, 7:19 AM
danvetio
danvetio - avatar
+ 1
PRO Its possible, maybe you have to download the newest version of it
6th Nov 2018, 12:15 PM
I Am Arthur
I Am Arthur - avatar
+ 1
To use tkinter you have to install It using the Pip option in your Pydroid3 App
6th Nov 2018, 12:23 PM
Luiz Santos
Luiz Santos - avatar
+ 1
Hello guys this is my first post here and I wish you can help I have downloaded the kivy launcher and QPython to run kivy file and execute it But QPython won't installation kivy I used the command (pip install kivy-u4-qpython)
7th Aug 2020, 6:39 PM
Mar Man
Mar Man - avatar
0
i pasted this code in my pydroid 3: from tkinter import * window = Tk() window.title("Hello world") window.mainloop() but the screen just became white and nothing happened
7th Nov 2018, 11:22 AM
PRO
PRO - avatar
0
what to do
7th Nov 2018, 11:22 AM
PRO
PRO - avatar
0
oh...i will surely try it....
7th Nov 2018, 1:54 PM
PRO
PRO - avatar
0
bro time.sleep (sec) use kro
3rd Aug 2020, 4:12 PM
Himanshu Mahajan
Himanshu Mahajan - avatar