2

I want to know is their any sub-library of Andengine that can morph two different images? or in Android? I have been looking for it but i haven't found anything. Help me out...

Usama Aftab
  • 99
  • 1
  • 14
  • can you describe "morph" a bit? Do you mean the effect in Michael Jackson's Black or White video? Or the liquid metal from Terminator 3? Or just doing an alpha crossfade? – Plastic Sturgeon May 17 '12 at 22:32
  • yes exactly, that MJ's black and white video is morphing...i dont know how to do it in Android (more specifically in andengine)? – Usama Aftab May 29 '12 at 08:32

1 Answers1

3

There is nothing native to andengine that will do that.

To morph images, you need a bitmap manipulation library that does that: javamorph For example this one.

Then in andengine, you assign a texture to a Sprite, and as the bitmap updates, you will need to update the texture region.

Or, render the morph frames and make an animatedSpritetexture.

kyogs
  • 6,766
  • 1
  • 34
  • 50
Plastic Sturgeon
  • 12,527
  • 4
  • 33
  • 47