How long does it take to make a game engine? Considering the following:
- I already know c++, unreal engine and sfml. But thats it.
- The games i want to make are mostly strategy games, with lots of characters.
About this post
- Posted
- Archived
- Score
- 0 · 33% up
- Kind
- Text
- ID
- 149myha
8 comments
Making a 2d game engine is not that long Assuming you do OpenGL and SDL. You basically just need to setup shaders, sprites, transformations, fonts and cameras. 3d is more challenging since you need to load meshes, implement hierachical modeling, have light and shadows working, and all of these things take time. There's an added complexity of working in 3 dimensions. Making a 3d game engine in opengl is a common Computer Graphics final project at university. Normally it doesnt include porting to multiple platforms and a bunch of things that might be desired.
I know sfml. Can i not just work with SFML instead of SDL?
I made some games in SFML it was quite fun. Didnt finish them though.
I think your comment answers the question the best.
I might be just fine with SFML.
The only challenge here might be the shaders. Dont know how to do that in sfml.
Just know how to make sprites and move them around.
I made many games in SFML and it's my goto actually for game jams. I'm a bit confused now because you want to use SFML to make a game engine but SFML already provides sprites, textures, camera, fonts, viewports, shaders, sounds and porting to multiple operating systems etc. So almost all the job is done for 2d (I've only used SFML in 2d).
I'm a bit confused because when you want to "create your own engine" I assumed you meant starting off from OpenGL or Vulkan which is the common engine creation starting point. SDL is just used to make a window and to draw the OpenGL context.
learnopengl.com
Longer than you think, but it is a good project
You know Unreal Engine but ask how long it takes to create an engine. Sounds a bit contradictory to me. If you really knew the unreal engine you would know what a colossal task it is to write an engine.
It mostly depends on the feature scope and how user friendly the engine is supposed to be. Its a huge difference if you write code that is ugly af but somehow works on your machine or write portable code with a clean API easily usable by others.