Distort Sprite

  ... the case you feel the need for a new feature or want to submit one.

Distort Sprite

Postby noelb » Tue Aug 24, 2010 12:14 am

I was wondering if andengine supported a way to "distort" sprites. Something similar to the following:
http://www.blackcj.com/blog/2009/06/24/ ... ionscript/
noelb
 
Posts: 1
Joined: Tue Aug 24, 2010 12:12 am

Re: Distort Sprite

Postby Nicolas Gramlich » Wed Sep 01, 2010 3:27 pm

Hi,

yes you could do that by passing your own subclass of RectangleVertexBuffer to the constructor of a Sprite. You can manipulate the vertices as you wish. The output would be pretty similar the example on the you linked to.

Best Regards,
Nicolas
Nicolas Gramlich
Site Admin
 
Posts: 1734
Joined: Mon Jun 07, 2010 6:20 pm
Location: Schriesheim, Germany


Return to Features

Who is online

Users browsing this forum: No registered users and 5 guests