Page 1 of 1

Changing a BGO's Size

Posted: 23 Dec 2015, 2:20
by Sambo
I tried to change a BGO's size so it would be bigger using LunaLua, but it doesn't really work. It only changes the physical size, not the image size. Is there a way to change the image size, or is this not yet implemented?

One other thing: For some reason, the Layer:show and Layer:hide functions don't work. It says "attempt to call method "hide", a nil value" when I try to use them. I have the newest version of lunaLua installed.

Posted: 23 Dec 2015, 9:00
by Kevsoft
Yes, changing the size is planned.

About the Layer thing: Be sure that "Layer" is a variable returned by Layer.get or Layer.find.

Posted: 24 Dec 2015, 2:09
by Sambo
It was a variable returned with one of those functions, but for some reason, it isn't working. But it's not really a big deal. I was going to see if hiding, then showing the layer would force an image reload. That's probably not even how it works, though.