Initial development game in C ++ and lua

I am a complete newbie in C ++ and programming.

I watched a couple of hours of C ++ mentors and read a lot about it (could you recommend some lessons?), But what I met and didn't understand was Librarys.

I want to develop games in C ++ (I think this seems like the most interesting atm). I can understand that I need a library for programming games in C ++, but I know little about what a library is, and where to find these libraries.

In addition, I read that Lua should be good for scripting games with. I would like to know if this is true? If this is true, I would like to know where to find tutorials for Lua? If not true, then what is good?

Thank you for your time. This is my first question. We apologize if this was not the right question for this site, or if English was bad. I still hope you can give me some kind of answer and / or answer.

+5
source share
6 answers

A good library to start the game is SDL. http://lazyfoo.net/SDL_tutorials contains several useful guides that will help you get started (the most comprehensive and understandable that I found), but you need to understand the structure of the program, etc., in order to get practical application from textbooks.

OpenGL 3D-, , SDL. , ++, ... http://cplusplus.com/doc/tutorial .

+1

Löve2d, Windows, Linux MacOS X Lua. , , .., , .

+3

cs

+1

, - , , .

- , . . , , , , , , / ..

Lua script. C/++. Lua .

+1

, ++, , , .

@TheBuzzSaw , , , . , WHERE, , . , ( ), ( ). , , AI .., , . "" , , (, , .., ). - , , , . - SDL is low. Allegro is another one.

In addition, I read that Lua should be good for scripting games with. I would like to know if this is true? If this is true, I would like to know where to find tutorials for Lua? If not true, then what is good?

Lua is good, and he used a lot in games. Ruby is good, some games use it. Python is good too. Basically, most scripting languages ​​are good for game scripts. You just need to think about which language you need, how fast you want it to usually contradict its syntactic flexibility, etc.

0
source

All Articles