Making a 3D Game Engine

Split from necro

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

47 Replies - 2865 Views - Last Post: 30 October 2013 - 03:46 PM Rate Topic: ***-- 6 Votes

#1 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Making a 3D Game Engine

Posted 28 October 2013 - 08:46 AM

Well I have been searching for game creation help and have found that an engine based on what you want in you next couple is what you need to do so try first to build the idea. Think of your next couple games that you plan to do and build your engine based on that so build the features and surroundings of your engine behind you games so you have to build very little many great and easy suggestions that I have found go in this order if you want to use them

  • - GLFW - For opening an OpenGL window. It's a great little C library
    that opens windows on pretty much anything. Which is great because
    that's one less thing to worry about.

  • - GLEW - Managing OpenGL extensions. If you're gonna do OpenGL, there's really no getting around this one.

  • - Lua - Scripting. Although not yet used in my game, it's pretty much the go-to language for scripting in the industry because of its fast virtual machine implementation.

  • - Protobuf - Managing external state. You can find a documentation it here. The short of
    it is that you could use protobuf wherever you'd normally use XML.

  • - Qt - For standard containers and string manipulation. you don't need to use the entire Qt set of libraries, only the QtCore one. This gives you access to QList (std::vector), QHash (optimized std::map), QString
    (std::string with multiple encoding support) and lots of other
    goodies. Part of the reason you should go with it is because the
    documentation is superb.

  • - GLM - Math library. If you just want math in your game, this is the library for you.

  • - freetype-gl - Text rendering. It's a very well-written library for rendering text in OpenGL, you could do
    a whole lot worse.

  • libRocket - GUI library based on HTML and CSS. It's great when you just want a UI on the screen, but gets problematic if you want to
    add animations.


Find the list here

These are great ideas for an engine just combine the libraries and build the game off of the engine you build from theses although it will take you sometime to finish if you dont have a fine team. Also I have read over this list and many others and this is the best 2d list. Also you don't need to build an engine UI because you only need the basics of the engine and build a separate project for each game. Here is how to do it right.

You could do them inseperate projects but it really doesn't matter if you know a sufficient amount of c++ and/or c



  • Engine.h
    • enginepart1.h
    • enginepart2.h
    • enginepart3.h (ect.)

    (use .h not .cpp for engine because you can not reference engine.cpp but you can reference engine.h)
    after building that

  • Game.cpp
    • gameresources.h (resources include referencing Engine.h)
    • - gamepart1.h
    • - gamepart2.h (etc.)



And build the engine in a fashion like this but not 100% like this would be optimal


  • Framework: Math, Random, Utility, Asset, Network, Window, Graphics, Audio, ...
  • Player: AbstractPlayer, Score, Input, Collision, Reaction, Skill, Inventory, ...
  • Map: AbstractMap, Area, Town, NPC, ...
  • Enemy: AbstractEnemy, Creep, Boss, BaseAI, FuzzyAI, ...
  • State: IntroScreen, MainMenu, LoginScreen, Game, PauseMenu, ...
  • Interface: Button, Text, InputBox, ...


Found this here

Build it like this kind of

  • Framework: Math, Random, Utility, Asset, Network, Window, Graphics, Audio, ...
  • Entities/Characters: Player, Enemy NPCs, Friendly NPCs, BaseAI ...
  • Map: Map/Level Editor (if you want), Map Objects (can be placed here), Special Map Features, ...
  • State Control: Intro Screen, Main Menu, Logic Screen, Game State, Pause Menu(s), ...
  • Interface: Button, Text, Input Box, ...


Is This A Good Question/Topic? 2
  • +

Replies To: Making a 3D Game Engine

#2 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12148
  • View blog
  • Posts: 45,165
  • Joined: 27-December 08

Re: Making a 3D Game Engine

Posted 28 October 2013 - 12:58 PM

I've split this thread from a necro. It seems like a good start for a discussion on how to make 3D game engines!
Was This Post Helpful? 0
  • +
  • -

#3 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 28 October 2013 - 01:09 PM

View Postmacosxnerd101, on 28 October 2013 - 12:58 PM, said:

I've split this thread from a necro. It seems like a good start for a discussion on how to make 3D game engines!

Thanks for this but I just want to inform. I'm just hoping people can find this through google easily and respond to this topic too. I want to help so many with the issues I had but I just want those with issues to find this. Hopeful (:])

Also is it possible to change the name now
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12148
  • View blog
  • Posts: 45,165
  • Joined: 27-December 08

Re: Making a 3D Game Engine

Posted 28 October 2013 - 01:14 PM

Quote

Thanks for this but I just want to inform. I'm just hoping people can find this through google easily and respond to this topic too.

Hopefully with a new thread in the more appropriate forum, more people will respond and increase the value of the thread! :)
Was This Post Helpful? 1
  • +
  • -

#5 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 06:23 AM

I would like some feedback if you can spare some for things I missed or how good it was
Was This Post Helpful? 0
  • +
  • -

#6 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 07:37 AM

Hmm
Was This Post Helpful? -1
  • +
  • -

#7 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13489
  • View blog
  • Posts: 53,887
  • Joined: 12-June 08

Re: Making a 3D Game Engine

Posted 29 October 2013 - 07:43 AM

Was that a thread bump, or did the post not get fully.. er.. posted?
Was This Post Helpful? 0
  • +
  • -

#8 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 08:02 AM

It was more ofa bump but not really sure
Was This Post Helpful? 0
  • +
  • -

#9 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13489
  • View blog
  • Posts: 53,887
  • Joined: 12-June 08

Re: Making a 3D Game Engine

Posted 29 October 2013 - 08:10 AM

Okay - just a friendly reminder that you don't need to bump your threads - especially when they are still on the front page of the subforum and fresh and new.. folks will get to it (assuming the question/discussion is clear).
Was This Post Helpful? 0
  • +
  • -

#10 aidenkael  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 59
  • View blog
  • Posts: 275
  • Joined: 22-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 08:15 AM

View Postmodi123_1, on 29 October 2013 - 07:43 AM, said:

Was that a thread bump, or did the post not get fully.. er.. posted?


Looks like a glitch. The post times are the exact same. Ignore that, I was looking at the wrong thing :P It's early :surrender:

As for the thread, great idea making this a discussion thread on 3D game engine building. One of the first things people ask when they first start a game design or game programming degree is how to make an engine. Should be very helpful!

This post has been edited by aidenkael: 29 October 2013 - 08:19 AM

Was This Post Helpful? 1
  • +
  • -

#11 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 10:33 AM

View Postaidenkael, on 29 October 2013 - 08:15 AM, said:

View Postmodi123_1, on 29 October 2013 - 07:43 AM, said:

--SNIP--


--SNIP--

Thank you for that because I was aiming for a tutorial that inexperienced people could get as people always have a problem or at least I did with building the framework correctly because they/I can't/couldn't (seem to) understand the tutorials sometimes and I had trouble making or even understanding any of the stuff because those people have a different mindset when they do one than before.
Was This Post Helpful? 0
  • +
  • -

#12 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 10:43 AM

I will start doing code to help with this tutorial when I get to a presentable engine

This also doesn't surrently explain how to do 3d engines but they are similar.

This tutorial is a little incomplete
Was This Post Helpful? 0
  • +
  • -

#13 axel1994  Icon User is offline

  • D.I.C Head

Reputation: 86
  • View blog
  • Posts: 169
  • Joined: 27-May 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 01:17 PM

one to read book on game engine's is "game engine architecture"

Really good book.
It explains the architecture and design (it's not a step-by step tutorial).

I would also mention math books. (especially linear algebra)

This post has been edited by axel1994: 29 October 2013 - 01:18 PM

Was This Post Helpful? 1
  • +
  • -

#14 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 03:44 PM

I was aiming for an engine that doesn't take over you for long periods of time just something that would teach those who don't know where to start making one to come up with one but thanks for the suggestion and I will complete parts of the tutorial when I get the chances
Was This Post Helpful? 0
  • +
  • -

#15 spartan322  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 28-October 13

Re: Making a 3D Game Engine

Posted 29 October 2013 - 04:02 PM

This might not be the best place to ask for an opinion for this or if it has reason to be here or even if it is a good idea to ask this but:

Would I be able to make a server that sends information to another server but is connected to other servers through a bigger server which is connected to other servers are connected to an even bigger server and it keeps climbing for a while like one server would be for one room while the big server would handle a ship-wide property that in the viewable areas that the client only renders the servers within a viewable area blocked by doors or walls or even distance that wouldn't lag as much.

I am asking this because this has been an idea I don't plan on doing soon but more of an item that I have longed to know and it may not be right to ask it at least here but could I possibly do that?
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »