L2L2L

visible in a specific area

Recommended Posts

How to make a sprite/image/bitmapText visible only in a specific area.

 

like the canvas is a specific area; it's a rectangular area. And if anything go pass it's width, or height, it is cut/crop off.

 

I want that effect. How do I get that effect.

 

The only thing I came close to getting that effect is calculating and manipulating the  sprite/image/bitmapText texture.crop property, and a few other property like the width, height, x,  y, etc.

 

But other problem raise do to this.

 

Can anyone help me?

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.