enginmanap / limonEngine

3D FPS game engine with full dynamic lighting and shadows
http://www.limonengine.com
GNU Lesser General Public License v3.0
580 stars 57 forks source link

openGL 2.0 support ? + 3rd person view #109

Closed abasgames closed 9 months ago

abasgames commented 5 years ago

can i run it on openGL 2.0 and its possible to make 3rd person on it ?

enginmanap commented 5 years ago

Architecturally OpenGL 2.0 is possible, because all OpenGL related code is seperated to GLHelper + GLSLProgram. But I never planned for it, so implementing a GLHelper with 2.0 might not be that straight forward. I can't think of any hardware that can be used for gaming that doesn't support OpenGL 3.3. If you can elaborate maybe we can find another solution like OpenGL ES.

3rd person is rather easy. There is a Camera class that takes position and direction from Player, You can create a new player that passes these values not directly at the same position but a little up and a little back. The hard part of it is avoiding things between player and camera, which can be achived by using API for raycasting. If you want to look into is I can help out, you can find me at Discord.