rowett wrote:dvgrn wrote:Icons and multistate rules in general are also much improved, though they're still definitely a little odd-looking. State 1 is almost right... It seems like everything is a little too small, and maybe some of the icon(s) for adjacent states get included in the state-N icon sometimes.
This should be fixed now.
I've just checked in the relevant code changes. Let me know how you get on.
Looks good! Multistate colors and icons seem to be working perfectly now -- can't find any more display glitches.
However, I've either taken a step backwards as far as animations are concerned, or I'm remembering something wrong.
The new version of overlay-demo.lua seems to be mostly in working order. Besides animation-related problems, the only hiccup I've run into so far is that after Test #15 in the "Replacing Pixels" sample, the script doesn't cycle back to Test #1 -- the text just disappears, and I have to stop the script (the Enter key and/or clicking no longer work to get back to the main menu). Haven't tried this on my newer system yet, so maybe it's just a regular bug, not a difference due to OpenGL.
The pop-plot.lua script also works fine, by the way. I'm not seeing anything come up with breakout.lua, though -- the grid lines just gradually fade out and Golly becomes less responsive, though hitting the Escape key does return things to normal eventually.
The Animation and Cell View buttons, however, are now just showing a static rectangle with a squashed copy of the overlay-demo main page -- see below.
rowett wrote:EDIT: The Golly banner should now include the OpenGL version. Please let me know what it says on your system. On mine it says:
Code: Select all
This is Golly version 3.0b1 (64bit, OpenGL 2.1 texture_rectangle 8192). Copyright 2017 The Golly Gang.
When Golly starts up, all I'm seeing is "This is Golly version 3.0b1 (32bit). Copyright 2017 The Golly Gang." Help > About, by the way, is still advertising Golly 2.9b1.
... I'm a little confused now, in a couple of ways. Do you mean the banner in overlay-demo.lua > Animation? The current code seems like it should only display "Golly 3.0":
local bannertext = "Golly 3.0"
However, I can't tell for sure by running the banner, because much more interesting weirdness is going on.
When I reported "The overlay looks to be pretty much in working order" two days ago, I thought I had checked all the sample buttons and was seeing something reasonable for each one. In particular, I remember clicking the Animation button and seeing the two yellow "G"s show up on the right side of the screen -- but they were moving leftward rather slowly (yes, old slow laptop) so I didn't watch for very long.
Now instead of any animation I'm seeing this:
- Thought I remembered the overlay-demo animation working, but now I'm seeing this instead --
- Animation-not-working-now.png (162.84 KiB) Viewed 16248 times
What's strange is that I still have the Golly build I ran two days ago, and I've downloaded the previous two versions of overlay-demo.lua just in case. I'm seeing similar but not identical behavior, using that previous "working" Golly build to run any recent overlay-demo.lua:
- Previous build shows a larger non-distorted copy of the overlay when the animation window is supposed to appear
- overlay-lua-display-with-Golly-build-from-6-15.png (241.58 KiB) Viewed 16248 times
Of course the old 2.9b1 version of Golly can't run the newer overlay-demo.lua versions at all -- "unknown command" -- so I couldn't have gotten confused there. Not sure what else could have changed on my old laptop between two days ago and now -- I certainly didn't intentionally make any changes to settings or drivers.
I'm away from the system that I'm using to build Golly, until Monday. Obviously I would have seen the banner animation working there -- but it also runs much faster, so I wouldn't have seen the two yellow G's crawling painfully slowly onto the display there... Seems like this old laptop is now behaving differently than it was two days ago, with regard to animations only -- the Golly build that must have been showing me animations, now isn't. (?)
I'll try a reboot (sigh).