Doh, have a new problem, SO close. I'm not sure if this is an error without how I'm doing my layout, or a bug with the mac version and word_wrap, but it's causing a hard crash.
I'm modifying Cools layout as my starting point. One thing I want to add is a description of the game, about a paragraph long description at the bottom. I am pulling this from the Extra field like this:
// Description
local desc = fe.add_text( "Blah", 32, 940, lw, 25 );
desc.align = Align.Left;
And adding this line to the transition callback function:
desc.msg = fe.game_info (Info.Extra, var);
That's working great, EXCEPT visually it looks like this:
You can see the description at the bottom is cutting off on the right hand side, not wrapping. So I revise my layout.nut to add word_wrap:
// Description
local desc = fe.add_text( "Blah", 32, 940, lw, 25 );
desc.word_wrap = true;
desc.align = Align.Left;
And then...Attract Mode crashes on launch. If I comment out word_wrap, it launches fine but look like above.
No error that I can see. But here is a crashlog:
https://gist.github.com/ianfitzpatrick/bff9747f2e576e173329421842b3d624And here is my full custom layout.nut file:
https://gist.github.com/ianfitzpatrick/7e0c8e19b54f5f39c4b233fa114e92b4Any help is greatly appreciated!
-Ian
Edit:
Also, here is my console.log. I cleared it right before launching, so should only contain data related this launch/crash of Attract Mode (I hope).
https://gist.github.com/ianfitzpatrick/3bb226469171e6c52fc0fc5d1e6d7636It seems like this is the last line before the crash:
MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280642 device: 0x7fc961c14490 isBackBuffered: 1 numComp: 3 numDisp: 3
Maybe this means something to you?