Open adriandpad opened 2 months ago
You can safely ignore Feather as a general rule.
I'm currently using Scribble Jr and Scribble Deluxe in the same project (Sports Sports) and things are working fine. What version of Scribble Deluxe are you using?
I'm using Deluxe 9.3.1 but it also happened with whatever versions were current while Jr was in 1.3.
I opened up this blank project, removed both, re-added them, and Jr started working normally. I don't know why it was giving the same 0s issue, but it went away. I added both to an unrelated test project and it worked without a problem.
Thinking maybe this was it, I removed and added them both to my main project, but that didn't work. On the first use of Jr's Draw() anywhere in the project it momentarily displays the string then changes to 0s. Doesn't matter if it's static text to show or not, or if it has any arguments. I can't find any conflicting names or anything that might be causing it. I might have to rename those 2 lines and accept that my project is bizarre, or not use it.
I'll try to reproduce the issue my end but if you can send me a reproducing project that would help. I suspect the issue is a globally scoped variable etc. is interfering with the internal workings of Scribble Jr.
I couldn't find any conflicting global variables or macros. Since it works fine in other projects and renaming fixes it, we'll just assume I have a weird project lol. Thanks for your help.
When Jr and Deluxe share a project, Jr's .Draw() displays only "0"s in place of every letter/ glyph. A work around seems to be renaming "Draw" in these 2 lines. I changed them to lowercase just to try.
ScribblejrClassWrapper.gml element.draw(_x, _y, _colour, _alpha, _sdfEffects);
__ScribblejrClass.gml draw = (_fontScale == 1)? Draw : DrawScale;
I've had this problem for some time but I never looked into it until now. I saw it sometime around 1.3 but figured it was Beta so I'd come back later. Trying 1.5 It produced the same results. In a fresh 2024.8 project with only Jr it's fine, but once I added deluxe it would no longer render properly. Feather also seems to throw a fit about .Draw() expecting 0 arguments.
Thanks!