Skip to content

Considering switching to Unity from Python.

I have only been learning python for a month for game development and I feel like I am not making much progress. There is a lot of frustration on my end because I feel that python is not very well-suited for making games, neither is it user friendly.

I am not very familiar with Unity as of yet, but I have been perusing some tutorials and it seems much more intuitive.

Without giving too much away:

My plans right now are to make short, quick, and simple 2d games of various types aimed at a very specific market, using only mouse controls (mouse controls because of the type of technology available to this company's "customers") . I am planning to build a library of games targeting this market, and pitch my work as part of my skill repertoire in the future to the HQ of a company that does not deal in games per se, but might find a use for them in the future. I even plan on starting the first of many in-house "game studios" this company has in the country I am working in (this is a world-wide business), which I hope replicates throughout the world.

This might sound like something more suitable for Godot or Python and not worth the investment in Unity, but I feel like I can get more work done on a tried-and-true game engine rather than reinvent the wheel with Python. I bought a second-hand, 7 year old macbook as my workhorse, and I hope it will suffice with the kind of projects I will be working on.

Thoughts?

2 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
hj4cdv

Author

11
posts
1
comments
5
media
View profile

10 comments

Re: user friendly nature of python. I agree that python is not a great language with which to code games. You’re sacrificing quite a bit of speed and control for a higher level of abstraction. And there are very few resources in python for game development. That said I am very glad I’ve not written malloc in a decade.

As a CS teacher, I taught high school students python first and had great results. If you’re learning how to think about programming, python is a very good choice. It has been the backend and data processing language I’ve used at now five or six startups. It’s an excellent choice if you’re learning to code for both its simplicity (python reads almost like pseudocode) and its consistency of design. I believe as of a few years ago it is also the most popular backend language amount tech companies. Can’t hurt your job prospects.

I learned C first as a teenager, and I hated programming for much of my high school days because of its inscrutability to my nascent brain. Python was fun and easy and I could get into real trouble faster.

Every subsequent language I’ve learned took about a week to feel comfortable.

Agree you should develop games elsewhere, but python really is great as a first language.

2 points

C# is better for game dev because of static typing and some compilation features. But boy if you think "user friendliness" is one of those features you are in for a ruse awakening.

Python is probably the single most user friendly language there is

1 points

It is not so much that I am looking for an easier language, but I like the editing capability and tools of Unity, which are hard to replicate when making python games.

1 points

So just use Unity. Idk if I've just mucked around in it so long that I kinda feel comfortable, but C# isn't that bad just somewhat more verbose than Python and certainly not a reason to prefer Godot to Unity.

1 points

I love python, but if your goal is faster work time a game engine is the way to go. C# is great for games, quick and easy, I prefer unity for 2d over Godot and unreal. You can also change the native language for unity, if you decide you still want to use python. I still recommend C# with unity. Also if you are fairly new to game design, remember mechanics before level design, saves a bunch of time, for me at least. Hope this helped.

1 points

I would recommend switching if you aren't comfortable with python, but at the same time you must choose what Engine to practice i.e. don't switch from unity to godot to another 2D engine... When you are comfortable that you have mastered 2D games then maybe you can proceed to Unreal for making better Indie games...

1 points

Why do you think Godot would not be a good for this? If you think the syntax of python is not user friendly, then that makes sense, but if you think python's features are not ideal for you, then you should definitely give Godot a try. GDScript uses the same syntax as Python, but it's MUCH faster and has a completely different way of handling objects and code structure that is pretty similar to stuff like Unity and Unreal. It even has strict typing, though you have to turn it on in your settings. It's much better than Unity, and perfect for your use case, give it a try. One caveat is that there isn't much low level control, which is the same for Unity too, so if you need that I'd suggest Love2D or Raylib

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.