I wonder how i can make a game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I wonder how i can make a game

3rd Aug 2019, 9:24 AM
AlexTheKing™️
4 Answers
0
Follow first link I gave, it guides you by hand :)
3rd Aug 2019, 12:22 PM
Mateusz R
Mateusz R - avatar
0
You can take 2 approaches, create your own engine (a lot more work to do, but also very satisfying) or use already existing engine. If you want to jump straight into the game with already existing engine: Very popular choice recently is Unity. You can use C# and javascript in it to make stuff work. You can also get Unreal Engine. Popular choice too. You can use in it C++. For both engines you can find full documentation and plenty of tutorials. They are also free to use, but if you want to sell your game, you must pay some percentage of your game (5% for unreal engine I think) If you want to create your own engine and If you are very familiar with programming already, you can jump straight to getting to know libraries that give "lower" access GLEW/GLFW - libraries with which you can create windows, OpenGL context etc. This basically make rendering on screen possible. There are multiple example usage on the Internet. But this one needs low level programming of scenery. GLM - library with multiple different mathematical functions which help focus on game itself instead of math. Although basic knowledge of math will be useful especially if you want to create 3D game. Freeimmage - to load images which you use later on in your game ode (for 3D) or Box2D (for 2D) for collision detection Assimp - to load 3D models Above libraries are not everything which you can find regarding game development, but if you are green, its great starting point. You might think this is a lot you must to take in, but remember you don't always need all this stuff. If you are making very simple game you might as well end up using one library and have good results. One of my first games were "Snake" written in Pascal, I remember that I used only one library for Pascal and that was sufficient and game was pretty playable :) There are even stuff to progam games in python: https://www.raywenderlich.com/2795-beginning-game-programming-for-teens-with-python http://programarcadegames.com/index.php?chapter=example_code
3rd Aug 2019, 11:29 AM
Mateusz R
Mateusz R - avatar
0
Thanks but I don't still comprehend🙂
3rd Aug 2019, 12:21 PM
AlexTheKing™️
0
Ok thanks
3rd Aug 2019, 12:24 PM
AlexTheKing™️