D
D
DartNyan2016-10-10 03:26:16
Game development
DartNyan, 2016-10-10 03:26:16

What are games currently being developed on?

Hello.
I am generally a web developer (Ruby on Rails), and even a beginner, but I remembered my childhood dreams and thought that at least as a hobby I should get involved in game development.
Keep up to date at least at the level of awareness.
What do they mostly write on?
I read that pluses, C#, Lua.
Maybe statistics? Why does a scripting language come with compiled ones? Different tasks?
What resources (books, articles, screencasts) would you recommend for entering this world?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Rou1997, 2016-10-10
@Rou1997

What do they mostly write on?

Basically , games are written on game "engines" or on OpenGL / DirectX , the language is a secondary matter.
It's right.
Different, Lua is more for "mods".

N
Nexeon, 2016-10-10
@MrNexeon

The game engine (resource management, graphics, animation, physics, collisions, sound, network, keyboard and mouse input, etc.) is written in C++
Game logic (object behavior, artificial intelligence, gameplay) is written in the form of scripts in C++ interpreted languages ​​like Lua or Python.
They write logic in scripts, because it is easier, more convenient and faster, the readability and extensibility of the code increase.
I recommend reading the book Game Development Essentials: An Introduction - it tells what and how in game development, a little bit about everything.

M
Mercury13, 2016-10-10
@Mercury13

Why does a scripting language come with compiled ones? Different tasks?

1. To simplify the internal logic of the game. For example, a program is a monolithic, single-threaded application, but each object behaves like a coroutine. A swinging pendulum can be implemented on state and on coroutines…
// На состоянии
функ Маятник.ПровестиТакт
  ++кадр;
  если (кадр >= 10)
    кадр = 0;
  УстановитьКадр(кадр);

// На сопрограммах
функ Маятник.Жизнь
  для i=[0..10)
    УстановитьКадр(i)
    НовыйТакт

2. So that game designers and other non-professionals (in programming, of course, non-professionals) can freely correct the code.
3. Often the game is written on a ready-made engine. And it has some kind of scripting language wired in - this is the easiest way to write a game engine, complete and usable by a programmer of much less skill. So, for example, the Wintermute Engine (an old but well-known quest engine) is arranged.
• C++: a language with a long tradition in game development. Expressive code (with sufficient professionalism) plus control over destructors - so there will be no FPS drops due to the scavenger. Choice number 1 if you need to write a game from scratch.
• C#: A very easy to learn general purpose language. Libraries for Windows, most likely, the user has initially. A bunch of engines, libraries and frameworks. It's rubbish for nothing - if the game is not too difficult, there will be no FPS drawdowns (although I smashed the last boss of Hyper Light Drifter for a long time - at critical moments the game slowed down).
• Lua: The best known of the scripting languages ​​that can actually be attached to a C program and the script will call functions written in a regular compiled language.

G
GreatRash, 2016-10-10
@GreatRash

Games are now written in anything from C to PHP. It all depends on the platform.

R
Roman, 2016-10-12
@IRomk

There are a lot of development technologies. And everyone has a different entry threshold. First of all, you need to decide what you actually want - to make a game, or write an engine and all related components that were listed by the comrades above. If the first option is closer to you, and you are focused on the result - you want to make a game, then feel free to take a ready-made solution and forget about the pros, just waste your time. This is Unity, where C# lives. If you like Lua, then Love2D, or Cocos2D, is ideal. I repeat, these are ready-made solutions and with their help you can implement your ideas in game development much faster. Without delving into some low-level things (What would you have to face if you wrote the game from scratch, and on the pluses), concentrating on the most important thing - the result. As for study materials. 1) Unity - Official site with documentation and tutorials. 2) YouTube (There are a lot of examples of creating non-trivial things). 3) Lessons from ITVDN (Roman Samchuk) 4) The book "Unity in action". If you are interested in material on the language in Unity, then 1) Schildt / Troelsen C # 2) Richter C # - these two books will be enough to understand the platform and be able to program in C #. As for Love2D and Lua, everything is simpler - All the material and lessons are on the official website and are now being actively translated into Russian. And here is the material on Lua - The book of the author of the language "Programming in Lua" Roberto Jeruzalimski. then 1) Schildt / Troelsen C # 2) Richter C # - these two books will be enough to understand the platform and the ability to program in C #. As for Love2D and Lua, everything is simpler - All the material and lessons are on the official website and are now being actively translated into Russian. And here is the material on Lua - The book of the author of the language "Programming in Lua" Roberto Jeruzalimski. then 1) Schildt / Troelsen C # 2) Richter C # - these two books will be enough to understand the platform and the ability to program in C #. As for Love2D and Lua, everything is simpler - All the material and lessons are on the official website and are now being actively translated into Russian. And here is the material on Lua - The book of the author of the language "Programming in Lua" Roberto Jeruzalimski.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question