Jump to content

  • Log In with Google      Sign In   
  • Create Account


Making a board game with C++ and SDL


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Tony Sharp   Members   -  Reputation: 100

Like
0Likes
Like

Posted 28 November 2011 - 02:22 PM

The designs and gameplay for my game are done, and the image elements are saved. I have some experience with C++, but very little experience with SDL. To get things started, I'd like to know how to load my board.png file into a window as a background.

Your help would be greatly appreciated.

Sponsor:

#2 bluehailex   Members   -  Reputation: 143

Like
1Likes
Like

Posted 28 November 2011 - 03:16 PM

The designs and gameplay for my game are done, and the image elements are saved. I have some experience with C++, but very little experience with SDL. To get things started, I'd like to know how to load my board.png file into a window as a background.

Your help would be greatly appreciated.


This is a pretty good tutorial that will show you how to get an image on the screen, but if you want support for PNG files you will want to follow up with this tutorial. The site also has other tutorials if you want to learn more about SDL.

#3 Tony Sharp   Members   -  Reputation: 100

Like
0Likes
Like

Posted 28 November 2011 - 05:22 PM


The designs and gameplay for my game are done, and the image elements are saved. I have some experience with C++, but very little experience with SDL. To get things started, I'd like to know how to load my board.png file into a window as a background.

Your help would be greatly appreciated.


This is a pretty good tutorial that will show you how to get an image on the screen, but if you want support for PNG files you will want to follow up with this tutorial. The site also has other tutorials if you want to learn more about SDL.

Thank you for the links.

After I figure out how to get SDL to work in Ubuntu 11.10, I'll get started. :D

Edit: Finally got it working. Woot woot.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS