1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Game programming

Discussion in 'Games' started by Aleksander, Apr 4, 2012.

  1. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.91/day)
    Thanks Received:
    304
    Hello guys!
    I want to learn game programming for a period of time and i know where to start!
    C++ --> Sdl and Allegro
    But the question is... These two are the only ones?
    I want to make a 2D game and i want to learn as much as possible before making the game
    (and sharing it free as last time! :) )
    So if anyone can help at least with sources (i mean tutorials) of allegro or sfml, or even suggest a new game engine,
    but with tutorials so i have enough time to learn a lot instead of researching for tutorials, that would be GREAT!
    Any help would be aprechiated! :toast:
    Last edited: Apr 4, 2012
  2. Chevalr1c

    Chevalr1c

    Joined:
    Sep 3, 2010
    Messages:
    3,149 (2.21/day)
    Thanks Received:
    1,348
    What kind of game, actually? It might help those in the know to help you.
    Crunching for Team TPU
  3. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.91/day)
    Thanks Received:
    304
    Well, I want to make a platformer this time (like super mario)
    It is too early to start rpg like final fantasy 1 :p
  4. razaron

    razaron

    Joined:
    Apr 26, 2008
    Messages:
    1,107 (0.48/day)
    Thanks Received:
    177
    Location:
    london
    For a platformer, look up the separating axis theorem. It's what pretty much all games use for collision detection. Use that with some basic physics (projectile motion) and you'll have a simple platformer.
    Aleksander says thanks.
  5. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (5.08/day)
    Thanks Received:
    5,615
    Location:
    Cheeseland (Wisconsin, USA)
    Many 2D games are sprite based which is relatively easy to code and animate. You could probably even write you own little game engine without too much trouble as a lot of the functions are built into the languages now days.

    My first ever grapphical game was a pseudo-3D hallway shooter. It was going well until the collision detection algorithm pushed me over the 16K VRam limit on my TI-99/4A :laugh:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page