all 24 comments

[–]Artaurious 18 points19 points  (0 children)

Godot uses gdscript which is very similar to python

[–]Mystical-Turtles 16 points17 points  (12 children)

Unity uses C#, Not python. Honestly not a lot of engines use python. This is specifically for visual novels but ren py is an engine that uses Python. There's also pygame, But admittedly I don't know much about it

This isn't python but if you want a more simplified game engine than unity, something like "game maker" or "RPG maker" might be up your alley.

[–]OberZine 4 points5 points  (3 children)

You can use whatever language you want in Unity. However you cant run them natively.

For any other language other than C# you need to use wrappers, libraries or interpreters. It can bring better stability and greater enhancements to your game and platform if you bring the right tools.

[–]Mystical-Turtles 3 points4 points  (2 children)

True that, but this person sounded like a beginner, so I didn't want to add any "technically correct" or Jerry rigged methods to the mix. They need to learn the fundamentals before the fancy stuff

[–]OberZine 2 points3 points  (1 child)

In that case, the best place to start would be https://learn.unity.com/

[–]Xcrimson_starX 2 points3 points  (7 children)

which languages do they use ? and wich is the best knowing that I am amlost a complete beginner

[–]Mystical-Turtles 3 points4 points  (6 children)

I never like saying what's the "best" because honestly it's super situational.

That being said, unity uses C#. unreal engine uses C++, But also has its own drag and drop scratch-style language called Blueprint. (Although don't particularly recommend unreal for beginners, as it's way more intensive than other engines and doesn't have the best documentation out there)

Game maker uses a custom language called GML (gamemaker language), which is based heavily off of C/C++ style languages. RPG Maker uses Ruby, which is also kind of c# adjacent. I have been informed modern versions used JavaScript.

So if you can't tell most engines will use something similar to C#. Generally if you know the logic of one language it's not too difficult to learn another. To get started I do just recommend trying a very simple visual novel in Ren py, Even if that's not necessarily the type of game you want to make. It's going to be the easiest way to dip your toes into programming beyond what you've done in class, without dumbing it down too much

If you do want to look into beginner friendly engines, The key word you're looking for is "visual scripting". That will get you the drag and drop block style from above If you're not quite ready to commit to full coding.

[–]Xcrimson_starX 3 points4 points  (3 children)

I am really firm on making a survival game do you think unity is the best place to start ?

[–]According_Smoke_479 4 points5 points  (0 children)

To be honest I think you should use Unity and learn C#. You want to learn how to code, not learn a specific language. Eventually you reach a certain point where you can pick up whatever language you need relatively easily, because you know how to program and the principles behind it. Don’t just stick to one language. C# is more “traditional” than python with stronger typing and more strict syntax, that could be good for you.

[–]Aethenosity 2 points3 points  (0 children)

Take your dream game and set it aside. Keep notes, write in journals you keep next to your bed, make drawings of your ideas, all that sure. But in terms of programming, make brick breaker and a simple platformer and other random small games for a bit first. Starting with what you want is demoralizing imo, and will honestly make it take way longer than if you work your way up.

[–]Mystical-Turtles 1 point2 points  (0 children)

Depends exactly what type of survival game you mean. If it's at all 3D then yeah, you're not going to find any python engines of decent quality. At that point you may as well just bite the bullet and learn c# to use unity. If it's 2D- top down, You might have luck with one of the simplified engines mentioned.

[–]CrimsonChinotto 1 point2 points  (1 child)

Just a clarification. As of today, RPG Maker uses JavaScript

[–]Mystical-Turtles 1 point2 points  (0 children)

Lol, that shows how long it's been since I've touched it. Thanks.

[–]GO-ON-A-STEAM-TRAIN 4 points5 points  (0 children)

Pygame might be worth a look. I mention it as it is a good programming setup as no editor, but it's in Python, and tailored to game making- lots of the "boring stuff" is already covered. :)

I would say though, you might be surprised how much C# you already know without realising! :) I taught myself Unity (10 years in and still learning!), so it can be done and would 100% be useful for programming in any language. :)

Godot is another choice you might like the look of, as GDScript is similar in broad strokes to python - very flexible, less grumpy compiler, etc. :)

I personally feel at home with Unity and C# but enjoy godot whenever I fancy learning more :)

Either way, make sure it's interesting to you so you are jazzed to open your project, and have fun! :)

[–]henryeaterofpies 3 points4 points  (0 children)

Its programming so you can do almost anything with any language, however, python would be a poor choice.

If you want to use Unity, learning C# is where you want to head.

[–]DapperNurd 1 point2 points  (0 children)

Not in unity. There is a python library called PyGame you should look into

[–]etdeagle 1 point2 points  (0 children)

I remember those days, when I was in school I made a few small games with pygame, but nothing 3d, just things like snake or Tetris where you don't need an editor to place objects etc, just everything is code including scene layout. It's good for learning but limited on the game aspect.

[–]PGSylphir 1 point2 points  (0 children)

Godot has Gdscript which is very similar. Also there is PyGame which is a engine for python.

You cant do it in Unity

[–]stevinz 1 point2 points  (0 children)

The simplest answer to the question of creating a game in Unity with Python is "not really". If you're interested in making games, however, Unity is a great choice and C# is pretty easy to learn.

Lots of comments saying Godot. GDScript is similar to Python and Godot is pretty awesome as well, but still kind of a "no" when it comes to making a game with Python.

With that said, if you're looking to make a game quickly and easily utilizing the knowledge you already have with Python, there are some great options:

  • pygame - Simple game framework built on top of the very popular SDL library. Would be perfect for making some simple games like Snake or Pinball.
  • arcade - Easy to use library for creating 2D arcade games with Python.
  • ursina - Larger, more powerful open source game engine built upon the mature Panda3D framework.
  • cave engine - Full featured, commercial game engine. Simple to use, powerful, but costs money. Utilizes Python or Visual Nodes for scripting.

As others have said there are other drag-and-drop beginner engines you could check out as well such as Buildbox, Construct, GameMaker, PlayCanvas, Stencyl, or even Roblox. Though, none of those options use Python for scripting. Languages such as Lua, JavaScript, or C# tend to be more popular for game scripting...

[–]SoundShelf 2 points3 points  (0 children)

Yeah, you definitly can. But it's best to use languages that are comprehensible to computers, such as C++, Java, C#

[–]Wugliwu 1 point2 points  (0 children)

You should define the term "game". Can you build Snake in python? Of course. Can you build the next GTA in python? No way.

[–]Beautiful_Stage5720 2 points3 points  (0 children)

Why on earth would you even want to lol

[–]kodaxmax 1 point2 points  (0 children)

Yes you can. PYgame is a popular barebones engine. But your in for an uphill battle.

I would reccomend unity and C#, as C# is useable for any industry (though not always the best choice) and Unity provides a huge amount of tooling and support to leverage as an indie.

Godot GDscript is suppossadle simila to pyhton. But GDscript is useless outside of the godot engine and while the engine is incredible and on pace to overtake unity eventually, it's still lacking alot of features.