• Content count

  • Joined

  • Last visited

Community Reputation

334 Neutral

About nhatkthanh

  • Rank
  1. Have a look at CsGL http://csgl.sourceforge.net/ I used this a couple years ago for our game, where the simulation codes is written in C++.  The codes were use for both the game and on the tool side.  On the tool side, it was exported to DLLs, and our C# tool would import it.  The tool rendering were done on the tool side with CsGL.
  2. Starting with Pygame

    Also I think it's great to start with Python and Pygame, python will be useful later on for future game development even if it's you don't use it as the main language.  Once you grasp the basic of games with Python and Pygame then you can move on to something like C# with XNA or C++ with SDL2 or SFML.
  3. Starting with Pygame

    Take a look at this link, there are two books that might get you start with making game with python and pygame, and they're free.   http://inventwithpython.com/
  4. This one is pretty good http://www.arcsynthesis.org/gltut/
  5. When you leave the drawing to the individual object to handle, then you're limited to draw for only that object.  It does make thing easier to read, organize and understand.  But with the manager with more information on multiple objects, it can organize to draw many in one swoop.  Imagine if you have 1000 bullet sprites on screen, you could have individual bullet draw itself or have the some render manager issue a single draw call to draw 1000 quads with the same texture at 1000 locations.  I hope that I interpret what you're asking correctly.
  6. Exclude varying files from build

    Look into build configuration, there are tools like jam, cmake, premake, etc...  They will allow you to generate your project base on configuration settings.  For instance in your source, you could have a folder for OpenGL and Directx implementations, then base on the configuration your project would build different files.  This is to control which files to build, you still need to work with macros to handle platform specific includes and implementations.
  7. Perhaps consider putting external lib even higher up the chain, as you could have multiple project use the same external SFML library.    something like:   ./dev ./dev/external/sfml ./dev/external/box2d ./dev/projects/pong ./dev/projects/tetris
  8. C++ game development?

    If you prefer, here is the setup with the sfml framework for OSX, and it's straight forward http://www.sfml-dev.org/tutorials/2.0/start-osx.php
  9. Create a manager with various rendering buckets, base on materials, shaders etc...  Then whichever bucket the object belong to, add it to that bucket (probably some sort of reference, id or something, as you might have another manager that manage all the objects).  When it time to render, you can render all the objects from different buckets.
  10. I made a snake

    Maybe refactor it up a bit, with functions and objects.
  11. Collision detection is not accurate

    What are the order of your process inputs, update collision and draw?
  12. Making a 2d side-scrolling MMORPG like "MapleStory"

      Actually I wouldn't be too discouraging about multiplayer game difficulty. While it is certainly more difficult to create a multiplayer game than a single player game, I don't think it is by an order of magnitude. Or at least, it doesn't have to be.   That being said, scaling up to MASSIVELY is definitely not for the feint of heart. Technical issues aside, generating appropriate content for players who are not necessarily "playing together" and enough of it for massive numbers playing in the world at the same time without stepping all over each other is an enormous challenge.   I agree, I was trying to illustrate a picture, guess it didn't comes out quite right.
  13. Making a 2d side-scrolling MMORPG like "MapleStory"

    Let me sumarize it this way:   difficulty, cost and resource for making single player game = 1 multi player game of similar calibur with added multiplayer = 10 mmo = 100
  14. Check out Marmalade and cocos2d-x. 
  15. Getting frustrated with programming.

    Starting with a text base game to teach you the language is great, and you probably should complete it.  You just need the understanding of the language and the compiler.  Start with the basic and get that to completion.  As it will teach you the fundementals and principles that will apply later on.  Once you're comfortable and ready to move on to the basic 2d games, try out python and pygame.  There are a lot of libraries and engine out there, but to start out I would suggest going straight with the language and compiler/interpreter and once you understand the basic and fundementals then you can tackle slighly bigger project using other libraries and/or engines.