r/learnpython • • Sep 05 '24

Is python recommended for coding games?

Because I think it’s only good for coding like websites or some shit if it is recommended for coding games, sign me up where do I start because I’m starting out coding and programming

0 Upvotes

65 comments sorted by

View all comments

3

u/Zephanin Sep 05 '24 edited Sep 05 '24

I beg to differ from other comments. I've used python to code my version of the classic Snake Game, and I'm currently using it to code my own Life Simulator. It's great as far as text-based and 2D games with hardly any complexity go. Otherwise, try Twine which is a story based game either linear or non-linear which is very easy to use, you create your own stories and it follows an order etc. Otherwise, your best bet is Godot or Unity, you can also try Ren'py for VN type of games too.

If you ever struggle, use Claude or Jasper which are by far the two most amazing coding bots. However, you will need some type of previous coding experience and don't just copy and paste it, see the difference and test all the time. I've been spending about 4 weeks coding my life simulator, and I've honestly tested it several thousands times and after every update, bots also allow you to debug using python which makes it so much easier to see what's wrong etc.

1

u/No_Molasses_7224 Sep 05 '24

So I have to not use game maker?

4

u/Zephanin Sep 05 '24

You don't need game maker. Python is standalone. You just have to install it right and pip install what you need and you can work from there.

0

u/No_Molasses_7224 Sep 05 '24

So it’s basically its own game engine? That’s also a coding language? I’m extremely confused.

3

u/[deleted] Sep 05 '24

Python is a programming language, but you can get game engines that work with it.

Same as C++ is a programming language, and you can get game engines for it.