Is it set to pre-draw? i.e. this._info.SetMustPreDraw(true);
this._info.SetMustPreDraw(true);
That will fully render the object normally to a texture then process the effects from that. Otherwise it draws directly with the first effect, which only works for trivial quads (like Sprite does).
Global layers are designed to solve this problem. It means you just have a single layer which is repeated across other layouts, so you only need to make changes in one place. See Layers in the manual.
In the runtime, the blend mode, color (including opacity) and Z elevation are applied automatically before the Draw() call.
It's not possible with global variables. Instead try using a global Dictionary object. You can use expressions for the key names with that.
Yes, there's very little we can do about it, as I mentioned previously:
There's nothing much we can do about app vs. browser performance - the performance is determined by the Android System Webview, so this would be something to report directly to Google.
The Text and SpriteFont objects don't use CSS, so none of the CSS styling considerations are relevant. They render directly in to the canvas instead of using DOM elements.
You can probably use special characters like a non-breaking space to get blank spaces which still fill the background color. You could also try the [hide] tag.
[hide]
Often people run in to issues with layout scroll bounds. Try turning on "unbounded scrolling" on the layout and that will get out of your way.
This and other changes are documented in the manual entry on the C3 runtime.
Develop games in your browser. Powerful, performant & highly capable.
Check the issue tracker.
You should look in the console tab in dev tools. That's where any errors that occur are logged.
We have important fixes for both iOS and Android in the next beta release, so it should be worth checking there once that's out.
Wrap it in float() to keep the fraction: float(tokenat(text, 0, "|"))
If you set text to a number, then what you're trying to do is invalid. It might convert it and it might not - it seems minor since it's just a different kind of error fallback.
Ashley Thank you for the reply. I've tried both r136 stable and the new r139.
And...? Were they the same? Different?
Member since 21 May, 2007
The official blog for all things Construct and Scirra run by our employees!
Wider technology issues from Ashley's perspective.