Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm gonna make a game and I think C++ would be perfect for it. I think I'm gonna use SDL and OpenGL but I need help with making the code manageable.

These were my ideas:
1. Making A DLL File With Commands Such A CreateScreen(640, 480); Which Binds SDL And OpenGL Commands For A Manageable Setup
2. Making It Harder To Mod (Like UnCompiling My Code) Like Encrypting Save Files That Only My Program Can Read

Any Suggestions?

share|improve this question
1  
"how to get started making a game" is not considered a good question for this site: gamedev.stackexchange.com/faq It's also hard to get what is really asked here. Look at other (well rated) questions on the site to get the idea. – Markus von Broady Oct 27 '12 at 10:29
This question isn't really answerable - good architecture makes your code manageable, but beyond that you haven't made it clear what you mean. Point #1 is (possibly) just good architecture. Point #2 is a security issue and it's not going to make your code more manageable (in fact, because it's extra complexity, even doing it extremely well will make your code slightly less manageable). – Jonathan Hobbs Oct 27 '12 at 10:32
3  
SDL and OpenGL are already seperate libraries, nothing to win by putting another library in between. Why would somebody be interested in modding your game. Seriously, first step first, write a game – Maik Semder Oct 27 '12 at 10:33

closed as not a real question by Jonathan Hobbs, Maik Semder, Roy T., Byte56, Noctrine Oct 27 '12 at 20:39

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

Take a peek at the NEHE tutorials, which would help get you started in C++ and OpenGL. As for asset management and code secrecy, there isn't too much you can do in reality as everything can be decompiled and cracked open to see what's on the inside. Perhaps take a look at placing your assets into an uncompressed archive/zip-like file.

share|improve this answer
-1 .. dont even bother with secracy because a) nobody cares about the game or b) its famous and gets hacked anyway, so either case its worthless – Maik Semder Oct 27 '12 at 11:37
isn't that what I stated? did you read my answer at all? – scape Oct 27 '12 at 11:38
The last sentence suggests to look into uncompressed zip archives for security by obscurity, that defeats the message of the beginning of your post – Maik Semder Oct 27 '12 at 11:43
security through obscurity reduces the chances of assets getting immediately stolen, and has a purpose to discourage attempts from novice individuals; but like i said "there isn't too much you can do in reality as everything can be decompiled and cracked open to see what's on the inside." – scape Oct 27 '12 at 11:50
3  
NeHe's tutorials are sorely out of date at this point. – ktodisco Oct 27 '12 at 16:52
show 1 more comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.