Is there any docs for display.setDrawMode()? Other than "forceUpdate" as a parameter, what other options are there?
Jump to content
The docs still need updating.
If you use a filter that's time-based (e.g. "filter.wobble"), there's technically no invalidation of any display object, so Corona doesn't know it needs to render the scene to let the filter vary over time. "forceUpdate" is a very heavy hammer for the following situation. Eventually, we'd like to make it smarter so that if there is a filter that's time based, Corona knows to update, but for now, we're pushing the responsibility to you all
The other mode that's interesting is "wireframe". It's very similar to the physics debug draw modes, which we're also considering adding as parameters, but we haven't decided if they are orthogonal to these draw modes yet.
Community Forum Software by IP.Board