Draw Circle around Sprite?

  ... discussions about development with the GLES1 branch of AndEngine.

Draw Circle around Sprite?

Postby Shroomist » Mon Apr 02, 2012 4:36 am

I've searched the forums and Google and still can't find out the proper solution..
I am trying to make it to where when I touch a sprite, it draws a 50% transparent circle around the sprite. I already have the touch event ready, I just need the code to draw the circle around the sprite.

Thanks for any help you can give me.
Posts: 5
Joined: Mon Apr 02, 2012 4:32 am

Re: Draw Circle around Sprite?

Postby OzLark » Mon Apr 02, 2012 5:22 am

I don't know much about GLES1, but I expect its got similar examples - checkout the PolygonExample in the AE examples - they draw an Ellipse in there.
Did this post help you? Feel free to return the gesture by downloading Ninja Bees, creating a level (or more) and sharing it to the Ninja Bees website!

Ninja Bees - Our latest Android game, check it out on Google Play (free) or paid with no ads
Posts: 1130
Joined: Sun Feb 05, 2012 3:19 am

Return to GLES1

Who is online

Users browsing this forum: Miyamoto, oriolbg and 16 guests