why the button under the map???

4 replies [Last post]
wpp1983
User offline. Last seen 5 years 39 weeks ago. Offline
Joined: 14 Nov 2012

I creat a button (“local button = widget.newButton”,but the button is under the map。 how can i set the button cover the map layer???

Replies

Brent Sorrentino
User offline. Last seen 1 year 3 weeks ago. Offline
Staff
Joined: 28 Nov 2012

Hello @wpp1983,
I think you just need to place the button widget in a new display group that resides above the map layer. If you need some guidance about display groups, creating them, and ordering them, I can provide you with some sample code and a better explanation.

Thanks,
Brent

wpp1983
User offline. Last seen 5 years 39 weeks ago. Offline
Joined: 14 Nov 2012

thank you very much.
I'm newer to the corona and lime.
so where can i find the sample code ??
And can i ask another question ?
I want to build a 45-degree map. But when I create one in the Tiles-editor, it can't load by lime.
how can i do that?

Brent Sorrentino
User offline. Last seen 1 year 3 weeks ago. Offline
Staff
Joined: 28 Nov 2012

Hello,
Unfortunately, I don't think Lime supports 45-degree or "isometric" maps. Also, I think Lime is currently unsupported by the original creator (Graham Ranson)... however, another Corona developer has apparently adopted the project and he plans to work on it, releasing a new version sometime early in 2013.

Hope this helps somewhat,
Brent Sorrentino

wpp1983
User offline. Last seen 5 years 39 weeks ago. Offline
Joined: 14 Nov 2012

thanks, but I find the isometric sample in lime....

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.