Lime for Corona SDK - Camera focus on layer

Is there any solution for setting up focus on layer in Lime framework. I would like to use this on game called "keepie uppie" with scrolling background (camera). When you hit the ball the entire frame together with a ball and tennis racket moves up.

The figure below shows how I would like to make it work:


Check out the Camera from Lime. It basically creates a display group and moves everything relative to that. You can focus the camera on one of your game objects. The github repo includes an example of doing just that.

Need Your Help

Java api to encode URL query parameter values?

java url encode query-parameters

I used URLEncoder but this seems URLEncoder does not cover everything of url query parameter encoding (escaped). I searched and someone used URLEncoder to encode whole url. For my case I iust wan...

Do i need to call ?

cocos2d-iphone position

i'm using cocos2d and i have subclassed cccnode (i want to draw circles and that works)

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.