back

by gregsadetsky·3mo ago·view on hn ↗
Are you interested in the graphics (how to render 3d, opengl/directx, shaders etc), in the “game engine” aspect (all of the various parts of a game coming together), game design, networking, or something else? All of it?

As people used to say on stack overflow - what have you tried so far?

Also - this might be a good starting point: https://www.gameenginebook.com/

1 comments
- i have started brushing my c++ and learning 3d math for now

- i am interested to know for starters what does the 10000 ft landscape look like

- what are the major steps involved?

- what have I tried? I spent a lot of time looking into what kind of libraries exist. Rust has something called bevy which I would not touch given it is new and I dont want to work with double unknowns

- C++ has a library called raylib that seems to have a lot of functions for basic stuff.

- There seems to be a library called jolt which claims to handle physics well

- how is rendering / graphics pipeline stuff handled in c++. what libraries do we have for loading models, working with shaders, handling networking for gaming etc?

- the thing is i need to get a complete picture inside my head of how a 3d game is put together like how this https://visualrambling.space/neural-network/ gives you the picture you need to understand how a neural network works

A 3D game, like any interactive program, is a REPL over a state machine:

1. Setup initial game state

2. Render graphics in accordance to game state

3. Read input and update state in accordance with it

4. GOTO 2

The purpose of C++ is to prevent you from realizing this. Don't use it and don't talk to anyone who uses it. Same for Java, C#.