okay so I bet you're wondering why i have stopped posting a ridiculous amount of revision updates per day?
Because of a couple of rather huge and complicated updates is why.
such an update it deserved a version number change.
Now 1.3
Upgrade 1.
I finally added multi-selection to the board editor
And after doing that I then had to completely debug and modify all the functions using undo to support multiple objects. (what a headache that was)
There's still a couple of little bugs i think, nothing major.
You can multi-select blocks by either holding Ctrl and clicking them or holding control and dragging the mouse.
When selecting with control you do not have to place the mouse in a blank board area, it will give the selection rectangle even if on a block.
If pressing Ctrl the previously selected blocks remain selected.
Or if you drag the mouse from a blank board area not pressing control a new selection begins.
Upgrade 2
Another big and noticeable upgrade (especially when playing) is in the board view and how blocks were painted.
Previously each block was painted every time with their Paint method in a board refresh.
This constructed and painted each block with each board refresh and on larger boards i noticed a bit of a lag.
Now when a block is initially created or modified in the editor it creates an Image of itself and with each board refresh it simply paints the ready made image. massively decreasing lag.
Upgrade 3
I have changed how the board selector works.
Previously the preview of the board was an actual Board.class that loaded the game.
This has turned out to be slow especially with the big boards my gf created.
Now the thumbnail generation process makes a larger image and the preview shows this image instead of loading the board each time.
Downside is the thumbnail dir needs renewing. (it should detect and do it automatically)
If you have set the thumbnail dir to be in $HOME then it will work the fastest at first.
if set to XDG (memory) or Gambas (/tmp/Gambas.1000) it will generate thumbs that died with the last reboot when first run, and they will survive till next reboot.
Other upgrades include...
If the Updater is set to development branch it checks if the file "./.public/LastCompile.txt" matches the online copy as version numbers will likely be the same.