Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 13 Sep 2012
Offline Last Active Jan 21 2015 08:19 PM

Posts I've Made

In Topic: Critique My Implementation Of Pong?

29 November 2014 - 11:33 PM

If you are still interested in relocating magic numbers ...
A simple config file parser: Source Settings Parser from SFML wiki.
A simple JSON parser: JsonCPP. (I go with building my project with the resulting "amalgamated" source files).


This is good stuff! I was actually thinking of doing the key, value pair config files. I was kind of drawing out how I would implement that with a map or something similar. This is almost exactly what I had in mind, it would be a great source to compare my resultant work to. Thanks a lot!

In Topic: Unity or C++?

29 November 2014 - 05:49 PM

I guess my only advice would be to use what feels right and put people's presumptuous comments aside. If you feel like you are learning and are inspired to build your game with whatever technology you pick up you are doing good.




More importantly, should I be focusing on making games with "pure" code, in other words building my own engine/physics? I'm torn here. I'm halfway through the game in Unity, but I'm not sure if it's what I want to be doing.


So there are tons of aspects to game development, if you are interested in coding physics or graphics do that. If you are interested in coding the logic or AI for your game, do that instead. Pure code is an interesting bit of vocabulary, to me if you are writing C# or Javascript or whatever Unity uses for scripting you are building pure code.


There is no right or wrong answer when it comes to what tool you should learn. If you're halfway through a game in unity finish it! Independent of platform and tools, It is awesome to be able to finish a game and say it's done.

In Topic: Critique My Implementation Of Pong?

29 November 2014 - 04:14 PM

Thank you rip-off. I have actually pushed a commit with about half the changes you recommended. I will address the ones that I think will take me a little more time in the future. You have given me by far the most in-depth review on actual source code. I will probably read through your post a few more times as I visit each item one by one. I actually have a ton of really good improvements in this thread I want to address.


There is nothing you said that I have any disagreement with at all, they are all great points and fixing them would make my project much much cleaner.


It's really amazing how quickly I can learn through reading the feedback I've gotten here. This community is pretty awesome; I am really just amazed that you guys are willing to spend time looking at my code and helping me become a better programmer. Thanks!

In Topic: [c++] glew doesn't work

28 November 2014 - 12:05 PM

Not sure if it's the problem but have you tried to set glewExperimental = true before initialize?




"GLEW obtains information on the supported extensions from the graphics driver. Experimental or pre-release drivers, however, might not report every available extension through the standard mechanism, in which case GLEW will report it unsupported. To circumvent this situation, the glewExperimental global switch can be turned on by setting it to GL_TRUE before calling glewInit(), which ensures that all extensions with valid entry points will be exposed."

In Topic: Critique My Implementation Of Pong?

28 November 2014 - 11:49 AM

So I got some of CRYP7IK's points done. The repo looks a lot cleaner now. There exists a Pong3D and Engine subfolder at the root. Each has Include and Src directories with its associated files.


Going to move onto some of the other points made here! This page just got bookmarked. I am hoping to address every point here.