-
The selecting object probably would need more description on what specifically you want to do with it and how it is selected, not overally sure on what you want to do.
-
local flash = function(event) if event ~= nil then event.lighting = false event:setFillColor(255, 0, 0, 0.6) local unflash = function(object) if object ~= nil then object.lighting = true object:setFillColor(255, 255, 255) return object end end local closure = function() return unflash(event) end local timer = timer.performWithDelay(80, closure, 1) end return true end
There is a tinting function that flashes red for a small amount of time, for sure you could disable the flashing part and just keep the object tinted…should easily work
3) The dragging stuff should be well documented examples in corona sample projects i’ve seen a lot of stuff like that.
- Setup some type of runtime listener for the dragged object and start tinting tiles it touches making the floors sensors? Could maybe do some type of layer tinting too for other stuff. I’m not sure of any optimized way of approaching this because I think everything will need unique identifiers and that sounds like a pain.
Yes code would help people understand and answer your questions properly, as code explains what you want more