Skip to content

How long does it take to make a game engine? Considering the following:

  1. I already know c++, unreal engine and sfml. But thats it.
  2. The games i want to make are mostly strategy games, with lots of characters.
0 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 33% up
Kind
Text
ID
149myha

Author

88
posts
124
comments
5
media
View profile

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.

1 points

SDL

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.

1 points

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.

1 points

Longer than you think, but it is a good project

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.