Question:
What programming language should I learn for making games?
?
2017-10-11 21:53:15 UTC
I want to make games in the future, I have some ideas. I want to make a 2d pixel rpg type game (similar to undertale or games like that) but I don t know what programming language I should learn that would be best for that sort of thing. I already know some basic python, should I continue learning that or would something else be better?
Five answers:
sergio armando h
2017-10-15 18:50:48 UTC
C++ or C#

https://en.wikipedia.org/wiki/Unity_(game_engine)
Chris
2017-10-12 08:22:39 UTC
I'd rather start with an engine. That way you can focus on creating the game. For a beginner, that's a big enough challenge anyway.



Imagine you want to become a race car driver, but you also have to learn how to build the car yourself first...



Untertale was actually made with GameMaker Studio, afaik.
husoski
2017-10-11 23:18:57 UTC
Python is as good a language as any to start with, for 2D games anyway. The pygame package encapsulates the SDL library, giving platform-independent high-speed 2D graphics, plus sound/music output and game controller input.

website: http://pygame.org/news

python package index: https://pypi.python.org/pypi/Pygame



If you haven't done any sort of game programming before, the Invent With Python books might help you get started.

http://inventwithpython.com/



(Note the "Invent Your Own Computer Games with Python" is mostly a text-based introduction to games, with an introduction to graphics with pygame at the end. Depending on how far along you are, this might be a good review. You might want to skip to the second book on "Making Games with Python and Pygame" if the first is too simple for you.)
anonymous
2017-10-11 22:25:14 UTC
try using LUA, its the best easy to understand programming language
anonymous
2017-10-11 21:59:44 UTC
If you already started with Python you can stick to it if you want it doesn't really matter that much what language you choose for a 2d game. You could try Godot engine, it has a very similar language to python and I think they were planning on supporting Python in the future as well.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...