I have done in the past. If you can get Pygame installed then everything should work. A game I created originally ran really slowly on the Pi, which is when I discovered the clock.tick()
method that I cover later on.
RE: Game Making with Python and Pygame Part 1
You are viewing a single comment's thread from:
Game Making with Python and Pygame Part 1
Thanks. I am mostly interested in GUI aspects for the Pi programming I hope to start doing, not actually writing a game.
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I've used PyQt a little in the past, and have taught people to use Tkinter too (although it's painful to use). Have you thought about GUI libraries already?
If you use Pygame to do anything but the most basic aspects of GUI stuff (not game stuff per se) then you end up having to implement all of it. So if you want a button, you have to handle the whole way in which the button functions, as opposed to using a dedicated GUI library which handles this for you.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks, I have been considering Tkinter as it is included and I am jumping between my Linux PC and a bunch of Raspberry Pi's.
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Laura and Martin who work at the Raspberry Pi Foundation have a beginners GUI library based on Tkinter called GUIZero that might be worth looking at: https://lawsie.github.io/guizero/
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks, I will check it out.
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit