How to create a FPS game?

I would like to know how to create a fps game with SDL lib?

Are there any books explaining with examples?

+3
source share
6 answers

This wins for most open-ended questions. You could literally write a book. But let's dwell on pointing in the right direction ...

Step one, you will need good debugging skills for such a project. Pick Up Code Complete Steve McConnell. Read it all. The time invested will pay more for yourself than anything else that you could read / experiment.

- . . , - , - , , , , , , , -. , .

3D-, THAT , , , , , .. ( 0% )

() 3D- 3D- , ( ) isn , , : , ..

- . SDL , , , .

. . . C ++, , , /, ( , )

AI, "" AI, AI; . FPS.

. , , FPS. , , ; , . - . ( )

. , , 3DS Max. . Maya script , -. , 3DS Max , .

YEARS, , - , , . TRULY 3D, , - , X - , - , .

 xxxxxxxxxxxxxxxxxxxxxxxx
 xx..........P..........x
 xxxxxxx...........I....x
 xR....xxx...........E..x
 xx.................0xxxx
 xxxxxxxxxxxxxxxxxxxxxxxx

. , " ", , , , .

? - , , , , , , . , , , - , , , , (, ). , , , , , .

, , , .

+21
+5

, , . ,

-SDL - 2D- , FPS 2D, 3D-, DirectX, openGL

-SDL "" openGL, ,

Lazyfoo.net, SDL, , , , . , tetris 2D-

3D ( , , ), openGL, NeHe Tutorials, , SDL openGL, , , API (win32)

, , , .

+3

SDL, NeHe OpenGL - , 3D.

If this is your first game, you probably want to aim below FPS. Writing a simple Tetris 2D game using the SDL will teach you everything you need to know about this library.

+1
source

Quite a lot of what TItle says, “Tricks of the Gaming Programming Gurus” will show you how to make an FPS game. LeMothe loves them.

Edit: forgot those headlines.

0
source

I found this site a while ago, when I played with SDL , you will find such examples of programs that you can download here

0
source

Source: https://habr.com/ru/post/1699535/


All Articles