im developing in c++

Discussion in 'Game Development (Technical)' started by dregosa, Dec 31, 2015.

  1. dregosa

    dregosa New Member

    Joined:
    Dec 31, 2015
    Messages:
    3
    Likes Received:
    0
    hello im planning to develop a game in c++ a basic 2d game but how can you load in images to openGL from a sprite sheet ?
     
  2. higgipoker

    higgipoker New Member

    Joined:
    Sep 21, 2015
    Messages:
    60
    Likes Received:
    14
    Is there any reason you wish to implement the game using c++ and OpenGL exclusively?

    For example, if your intention is to learn OpenGL, you can ignore my suggestion :)

    Otherwise, I can highly recommend SDL2 which is a cross platform helper library that will, among other things, do the loading of images for you.

    It also simplifies the tasks of setting up OS specific windows, controllers, fonts etc.

    Good luck!
     
  3. dregosa

    dregosa New Member

    Joined:
    Dec 31, 2015
    Messages:
    3
    Likes Received:
    0

    Thank you im looking in to it :)
     
  4. Michael Flad

    Indie Author

    Joined:
    Aug 4, 2004
    Messages:
    190
    Likes Received:
    0
    If you want to work in C++ but are free to use any SDK/middleware you might to have a look at the Marmalade SDK.

    It's a pretty decent SDK with various levels of abstraction depending on what you want to do, there's free (of course slightly limited) option available and you can target quite a few platforms. As far as I know it's the only one supporting iOS builds on Windows.

    https://www.madewithmarmalade.com/
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer