Sign in to follow this  

It's set up perfect but it lacks a feature

This topic is 2960 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Language: C++ IDE: MSV C++ Using: SDL, SDL image, SDL mixer, SDL ttf I created a 'Surface' Handler. It gathers all the surfaces that needs to be shown and sets them on the screen. The surfaces can be deleted from the list and nothing will get shifted or misplaced. I got this working but I noticed something; I created it without the clipping feature. The surfaces will clip the part that's on the screen and show it but It will not clip sections of the Surface(such as a sprite on a sprite sheet). I don't see how I can have both features. Is there a way to 'clip' a clip? Should I set the section of the image that I need in a new Surface(using get and set pixel)? I really don't want to go back and edit my code. Any motivation on this would be helpful(or painful). Thanks EDIT: I guess it wouldn't really be perfect if it wasn't really perfect. >.< [Edited by - rpg gamer 17 on November 7, 2009 10:17:48 PM]

Share this post


Link to post
Share on other sites

This topic is 2960 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this