SDL tiles

Started by
1 comment, last by Thc-03_Berserk 14 years, 11 months ago
Hello everyone. This is my first post in this forum. I'm trying to develop a C++ tetris clone, I would need to split an image in tiles and paste them onto the screen. How do I split an image in tiles? How do I paste a single tile on the screen? Please post code samples as I'm a total noob with SDL (not with C++ tough). Bye, Berserk. .
Advertisement
Welcome to GameDev.net, Thc-03_Berserk. [smile]

One of GameDev's users has a excellant set of SDL-related tutorials, which you can find here.

He explains how to do what you want, in his 6th lesson.
Thank you very much.

Bye, Berserk.
.

This topic is closed to new replies.

Advertisement