Search code examples
javaandengine

how to make Andengine button


Can someone direct me to an example which shows me how to make a button which follows the camera in my game scene?

I am using Andengine.


Solution

  • You can just make the "button" from a sprite. To make the camera follow you simply need to set the button as the chase entity

    camera.setChaseEntity(button);