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.
Making a board game with C++ and SDL
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.
[quote name='Tony Sharp' timestamp='1322511720' post='4888562']
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.
[/quote]
Thank you for the links.
After I figure out how to get SDL to work in Ubuntu 11.10, I'll get started.
Edit: Finally got it working. Woot woot.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement