Jump to content

Separate 2D rendering areas?


Pastaspace
 Share

Recommended Posts

After a few tries on my own, with no luck, I've decided to ask for help.

What I'm trying to do is have a separate and smaller context/render area out on the screen. Basically anything drawn outside of the area gets cut off. So for example, drawing a 200x200 image inside of this area, if it was 100x100, would only render part of the image. I'd be using this for minimaps and similar.

 

p29EIqn.png

Basically this. I have a general idea of how do to this, but then again, not really.

So what do I do? My main guess is that it involves creating and drawing to a separate buffer, but there's limited documentation on buffers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...