+ 1

How do I add basic movement code into the pthyon engine

I just started using the app and I wondering how to do this as since I am in grade 7 and I found a cool new hobby i like because I like making games I used scratch at home and school now something called co spaces and it's like a 3d scratch but there is a pthyon code that is in beta and I like to make a more advanced game in ether pthyon or cospaces also currently I am trying to make a game in pthyon for my personal benefit and entertainment and enjoy your day

7th Nov 2023, 9:09 AM
Logan
Logan - avatar
3 Respostas
+ 5
Awesome! I also started coding when I was about your age 👍 Check out this tut on Pygame. It shows you how to do basic movements. https://www.google.com/amp/s/www.geeksforgeeks.org/how-to-move-your-game-character-around-in-pygame/amp/
7th Nov 2023, 12:45 PM
Keith
Keith - avatar
+ 3
Pygame main advantage is that there are many tutorials for it. Also can be a disadvantage because some of those tutorials can be very old and outdated, written for Python 2. Here is a good one: https://realpython.com/pygame-a-primer/ Another option is the arcade library that is a more modern approach. https://realpython.com/arcade-python-game-framework/ (these contents are free but require a login... realpython has also many other useful resources, articles about Python features) And one more option you can check is Ren'Py which can be used to create Japanese style visual novel games - this is a quite specialized piece, but easy to get into, if you have a good story. https://www.renpy.org/doc/html/index.html
8th Nov 2023, 5:17 AM
Tibor Santa
Tibor Santa - avatar
+ 3
Thanks enjoy your day
8th Nov 2023, 5:44 AM
Logan
Logan - avatar