0
I tried to follow the source of a tutorial Metar Gearn Nanna, because I was interested in creating a game in opengl and c++, it could be something simple, with precarious validations, just to understand the concept, I learned to draw triangles and color using opengl (I confess that I could have deduced a little time and effort for this task)but it was very far from being able to make a game like Snake for example. The link with the source was broken. And my knowledge in this area is extremely limited, almost nil, I followed this booklet, but I also had a hard time.
I believe that creating a game is something of interest to many developers by hobby, but many like me end up finding many difficulties. The lack of sample code of something functional was something that limited me a lot. I didn’t post code because I don’t know very well or where to start.
So the real question is: How to make a game in opengl (any game) that accepts user interaction (keyboard keys, mouse or control)?
What I expect in response are things like links with example code, documentation and etc... anything that is useful not only for me, but for everyone who has an interest in building a game. It doesn’t matter that it’s simple. If you have a menu and a frame that walks with the mouse arrows, it’s working! The idea is to give a north for all who want to develop a game read this question and with the answer be able to take the first steps.
Please avoid long discussions in the comments; your talk was moved to the chat
– Maniero