Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8054179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:05:31+00:00 2026-06-05T08:05:31+00:00

How To Cut The Sprite Into An Irregularly Shape Using Cocos2d Game Engine? I

  • 0

How To Cut The Sprite Into An Irregularly Shape Using Cocos2d Game Engine?
I need to show the picture in an irregularly shape. Not only a rect shape or some regularly shape else,but any shape I want.
Is it any way to cut the sprite,texture or image into an irregularly shape?

As far as I know, there is no API to archive the purpose. Maybe OpenGL is the best way to do this,but I have no idea about how to archive it and make it into a CCSprite.

I hope someone can help me, because I really really need it.Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:05:32+00:00Added an answer on June 5, 2026 at 8:05 am

    I achieved this using this tutorial for Cocos2d 2.0

    http://www.raywenderlich.com/4428/how-to-mask-a-sprite-with-cocos2d-2-0

    If you are using 1.0 you can use this one

    http://www.raywenderlich.com/4421/how-to-mask-a-sprite-with-cocos2d-1-0

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this Cut & Paste Triple Combo script. . This does not
I am creating a game in cocos2d-android. all the images i use in Sprite
I want to cut the string using regexp, but not to cut the regexp
I have just started using sprite sheets in Cocos2D in an attempted to better
I'm using the cut function to convert a numeric variable into a factor with
I have a large sprite library and I'd like to cut GPU memory requirements.
How Can I cut video or audio using Expression Encoder SDK with .net? Ed
Does anyone know how can I cut a string and then assign into an
Sorry, this is a bit of code, but there's not much to cut out
I'm trying to develop an oldschool NES-style video game, with sprite flickering and graphical

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.