Page 1 of 3

2.0.1 beta

PostPosted: Thu Oct 27, 2011 4:21 pm
by emilk
2.0.0 was received very positively, but there are still some small issues that I would like to correct. Our aim is to release a 2.0.1 update next week, but to make sure it is perfect, I would be very greatful if you could help me pre-test it!

The changes since 2.0.0 so far are:

=== Algodoo 2.0.1 b15, 2011-12-20 ===
* NEW: Object can now have custom script variables that are properly serialized and cloned (they must start with an underscore, e.g. "_size := 15").
* NEW: Both "color" and "colorHSVA" now serialized, making both scriptable.
* NEW: Move selected objects half a pixel at the time using the arrow keys (only when simulation is paused).
* NEW: Move selected objects to front/back with SHIFT + down/up arrow keys.
* NEW: Improved script menu with readables and cmd result.
* NEW: Thyme command Scene.entityByID, (e.g. (Scene.entityByID(21)).color)
* NEW: Thyme command Scene.entityByGeomID
* NEW: Thyme functions Math.log10 and Math.log (natural base).
* NEW: Geometry generation from opaque images (background removal). Works best with clip-art like images.
* NEW: Added check/uncheck all buttons to options->layers as well as to the force visualization menu.
* NEW: Added helpful Thyme command "Scene.MakeModern" to update a scene:s settings to the modern Algodoo version. Will change simulation settings and legacyMode:s.
* NEW: Algodoo now uses CrashRpt (Windows only) to catch most crashes and ask the user to send in a crash report to Algoryx.
* NEW: Ctrl-D now deselects everything in the scene.
* NEW: TAB now toggles hide/show windows.
* NEW: Play mode, accessible with button in menu-bar, or SHIFT-space.
* NEW: When loading a scene, a popup will show the scene description, if any.
* IMP: A polygon with a circular outer shell will now roll much smoother on planes and boxes.
* IMP: Positioning of long undo/redo lists.
* IMP: Loading screen no longer stays on top of all other windows.
* IMP: Spring end-points can now be behind the geometry it is connected to (by popular request).
* IMP: Improved support for drag-and-drop of images from web browser into Algodoo. It now works with Chrome, Firefox and Safari (but NOT Internet Explorer) on both Windows and Mac.
* IMP: Added popup message when failing to rename a file in the file browser.
* IMP: Algodoo now always starts full screen after first install.
* IMP: User textures will now be copied to Algodoo/textures/ directory.
* IMP: Improved culling of small force/velocity/momentum arrows.
* IMP: Sim.positionsLast now true by default, fixing issue where the force arrows of moving objects would be wrong when simulation was paused.
* IMP: Re-enabled undo-merging of certain actions (drag, move, slider, texture, palette) when done within 10 seconds of last action of same type. Control with App.enableUndoMerge.
* IMP: Nicer splash screen/about window with links to algodoo.com/algoryx.se
* FIX: Loading screen translucency now disabled on Windows XP.
* FIX: Turning a circle into a polygon (for instance by scaling or doing CSG) will now conserve its area (used to be off by about 0.1%).
* FIX: Bug causing rotate not to be undoable.
* FIX: Bug where moving a spring would sometimes change it's strength and/or damping.
* FIX: Popups will now steal focus (from e.g. text boxes).
* FIX: Can't drag windows with right mouse button.
* FIX: Some instances where the file browser could crash Algodoo.
* FIX: Loading files with non-ascii letters.
* FIX: Thyme command "readable" now works properly when loading and cloning objects.
* FIX: Sim.targetPenetration for old Phun scenes.
* FIX: Chain tool now previews length when holding down SHIFT.
* FIX: Chain tool now build chain as soon as SHIFT is up.
* FIX: Rare corner-case issue where a laser would pass right through the diagonal of a box or box-like polygon.
* FIX: Better handling of lasers at shallow angle of incidence.
* FIX: Correct preview of laser beam when cloning a laser pen.
* FIX: Random laser pen color will now always be visible against the sky.
* FIX: Bug when calculating rotational kinetic energy for bodies that made it appear as if energy was increasing when in fact it was not.
* FIX: Scene save overwrite dialog's "Save as foo_0000.phz" not working.
* FIX: Chain tool drawing in white even on white background.
* FIX: Some start up issues.
* FIX: Rare source of crash that could occur when unlocking Algodoo on Windows.
* FIX: Entering a bad serial key temporarily re-locking an already unlocked Algodoo.
* FIX: Total force arrow color (once again it is red).
* FIX: Issue with drag-and-drop of components from the component browser.
* FIX: Issue with Algodoo claiming no Internet connection when browsing own scenes/components (caused by failure of finding "My Documents" for whatever reason).
* FIX: When a tutorial highlights a button in the GUI, the window containing the button will be moved on top of other windows.
* FIX: Saving a scene as alternative file name (e.g. "foo_0000.phz") will now change the scene title.
* FIX: Premature culling of hinge force arrows.
* FIX: Issue with invalid characters in scene file name.
* FIX: Issue with expanding force description fields.
* FIX: Rare issue with large text fields not drawing top part.
* FIX: Added ellipsis (...) to large "surface" script menu attribute for polygons.
* FIX: A bug that would sometimes cause Algodoo to crash on startup.
* FIX: Issue where some bad polygons would make Algodoo hang.
* FIX: Startup crash involving http://www.algodoo.com/algobox/details.php?id=59214
* FIX: Issue with fullscreen toggle moving the window outside the monitor.
* FIX: Only one of: Splash, Welcome and About windows will be shown at startup.
* FIX: Issue with clicking a folder in the scene browser when the view has been scrolled down a bit.
* FIX: Opening a sidebar widget will now give keyboard focus to the component (allowing, for instance, selecting the new scene template with arrow keys/enter).
* FIX: Issue with incorrect undo of attraction falloff (and possibly other attributes).
* FIX: Rotating an object around a hinge will no longer re-attach the hinge (or fixate).
* FIX: Bug where using scale tool would change selection after scaling was completed.


Here's the download:
Algodoo 2.0.1 b15, Windows: http://www.algodoo.com/download/Algodoo ... -Win32.exe
Algodoo 2.0.1 b15, Mac: http://www.algodoo.com/download/Algodoo ... -MacOS.dmg

- Emil

Re: 2.0.1 beta

PostPosted: Thu Oct 27, 2011 4:58 pm
by monstertje3
Really nice, however i tested the custom varable and i noticed a bug:
i create a variable on a object (eg _avariable:=0) then i put in text {""+_avariable}
the _avariable gets saved with the scene, but the text is reverted to "" (blank text)
this doesn't happen with {""+collideset}

Re: 2.0.1 beta

PostPosted: Thu Oct 27, 2011 8:57 pm
by KarateBrot
i don't know if this really works but try {""+(_avariable)}

Re: 2.0.1 beta

PostPosted: Thu Oct 27, 2011 11:43 pm
by tatt61880
Thanks for this update!

I found that I had to change Meta_FontFallbacks for Japanese.cfg.
Please use next: Algodoo - 日本語.cfg

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 7:17 am
by monstertje3
KarateBrot wrote:i don't know if this really works but try {""+(_avariable)}

it doesn't gets saved with the scene either :(

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 2:25 pm
by emilk
monstertje3: good find - I'm fixing it right now. Expect updated version later today...

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 2:28 pm
by Banjerboef
I like it that the loading screen doesn't stay on top anymore, it was getting annoying.

I also like it that the scene browser doesn't crash Algodoo anymore.
The crashing scene browser was not only annoying but also stupid.
Why does something so simple cause a crash.

Well, I would love to test the new features with moving half a pixel at the time.
But why half a pixel???
You can't make something move half a pixel, because a pixel consists out of 3 colors (red, green and blue).
Windows can only handle a full pixel movement.
Maybe some futuristic super computer can handle a half a pixel movement, but mine can't.

And it is barely noticable that it moves half a pixel.
The only difference is that the pixel becomes less bright.
http://en.wikipedia.org/wiki/Pixel

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 2:51 pm
by emilk
Banjerboef wrote:I like it that the loading screen doesn't stay on top anymore, it was getting annoying.

I also like it that the scene browser doesn't crash Algodoo anymore.
The crashing scene browser was not only annoying but also stupid.
Why does something so simple cause a crash.

Well, I would love to test the new features with moving half a pixel at the time.
But why half a pixel???
You can't make something move half a pixel, because a pixel consists out of 3 colors (red, green and blue).
Windows can only handle a full pixel movement.
Maybe some futuristic super computer can handle a half a pixel movement, but mine can't.

And it is barely noticable that it moves half a pixel.
The only difference is that the pixel becomes less bright.
http://en.wikipedia.org/wiki/Pixel


Try it before you diss it - just enter "App.GUI.arrowKeysMove = true" in console, select an object and press arrow keys. I guarantee you will notice it!

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 3:46 pm
by emilk
Fixed some issues with the _foo member variables, as well as some problems with chain tool+SHIFT. Link in original post updated!.

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 3:49 pm
by Banjerboef
I wanted to try it on the computer I am currently working on.
But I got a warning that the demo has experied, while I only used 22 minutes.
Maybe that's a bug???

So, I am not able to try it right now, but I will definedly try it out and watch the *miracle* happen!

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 4:27 pm
by monstertje3
Banjerboef wrote:I wanted to try it on the computer I am currently working on.
But I got a warning that the demo has experied, while I only used 22 minutes.
Maybe that's a bug???

So, I am not able to try it right now, but I will definedly try it out and watch the *miracle* happen!


the demo is supposed to be 15 minutes if i remember correctly

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 5:38 pm
by Banjerboef
Okay Emil,

I have to admit ... it does work.
But it the movement is barely noticeable.
In fact it moves 1/4 (or even more precise, but when testing I lost the count) of a pixel each time you press the hot keys.

I also found a bug.
Because the hot keys for undo/redo are Alt + < (or >), you might accidentally undo or redo things that you don't want to undo/redo. It happened to me a few times!!!
So, maybe you could change the hot keys for undo/redo to prevent undo/redo from happening accidentally.


For some weird reason you activate undo/redo if you use this new function for too long (thus after a while the new function suddenly deactivates, while the object is still selected) or by pressing the arrow keys too fast.

I tested it and when I press the < or > a lot of times very very fast (and believe me I have fast fingers, because I am a piano player), after a while Algodoo activated the undo/redo function and deactivated this new function.

So, I think this new function does need to be improvement.
But as a beta function, I think it is pretty good.

When I select a lot of objects and want to align them to the grid, I never get it perfect aligned due to the different shapes of the objects. But with this function I can align the objects, so this function is definitely handy and worth further development.

My apologies for my scepticism about this function.
I was wrong by giving my opinion before I tried it.
The function does work and the movement is visible (barely noticeable, but still).

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 5:45 pm
by Banjerboef
By the way, maybe you could add diagonal movement as well.

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 10:39 pm
by tatt61880
* FIX: Chain tool now previews length when holding down SHIFT.
* FIX: Chain tool now build chain as soon as SHIFT is up.

These issues are not yet solved with my PC.
Both "Algodoo 2.0.1 b" "Algodoo 2.0.1 b2" has same Algodoo.exe for me.
Is this right?

NOTE: I didn't uninstalled "Algodoo 2.0.1 b". This can be the cause. Does anyone have same issue?

Re: 2.0.1 beta

PostPosted: Fri Oct 28, 2011 10:53 pm
by electronicboy
I can also confirm that the bugs arn't solved.

Re: 2.0.1 beta

PostPosted: Sat Oct 29, 2011 9:14 am
by monstertje3
I have no problems with the chains here, it does a nice preview of the length, and when i let SHIFT loose after drawing a straight line, i get the chain i want.
win7 64bit 2.0.1b2

Re: 2.0.1 beta

PostPosted: Sun Oct 30, 2011 3:35 pm
by emilk
tatt is right - I forgot to update the Algodoo.exe in the b2 installer. This is now fixed, and "_foo" member variables should now work.

Re: 2.0.1 beta

PostPosted: Sun Oct 30, 2011 5:51 pm
by tatt61880
emilk wrote:tatt is right - I forgot to update the Algodoo.exe in the b2 installer. This is now fixed, and "_foo" member variables should now work.

Thanks. ;)
And I've improved Japanese translation again.
Please use next: Algodoo - 日本語.cfg

Re: 2.0.1 beta

PostPosted: Mon Oct 31, 2011 4:39 pm
by Banjerboef
neoadn wrote:Would it be possible to add a hydraulic system?

Many people make them themselves!!!

I suggest multiple layers of water!
So, water can flow in different tubes and cross each other without problems.

Re: 2.0.1 beta

PostPosted: Tue Nov 01, 2011 10:16 am
by emilk
This is not a suggestion thread, this is a "let's weed out the last bugs from 2.0" thread.

Re: 2.0.1 beta

PostPosted: Tue Nov 01, 2011 12:08 pm
by Banjerboef
monstertje3 wrote:the demo is supposed to be 15 minutes if i remember correctly


No, the demo is supposed to last 15 hours!

"After installation you can explore both Algodoo Physics and Algodoo for Education for 15 hours before the trial period ends."
http://www.algodoo.com/wiki/Download

So, that's a bug I found!

Re: 2.0.1 beta

PostPosted: Tue Nov 01, 2011 7:04 pm
by emilk
Some more improvement today:

* NEW: Improved script menu with readables and cmd result.
* NEW: Thyme command Scene.entityByID, (e.g. (Scene.entityByID(21)).color)
* FIX: Rare corner-case issue where a laser would pass right through the diagonal of a box or box-like polygon.
* FIX: Better handling of lasers at shallow angle of incidence.
* FIX: Correct preview of laser beam when cloning a laser pen.

Please test and see that the lasers are still working like they should!

First post updated with link.

Re: 2.0.1 beta

PostPosted: Tue Nov 01, 2011 8:06 pm
by Kilinich
Scene.entityByID is cool but Scene.geomByID will be more useful.

Re: 2.0.1 beta

PostPosted: Thu Nov 03, 2011 6:18 pm
by emilk
An updated b4 with:

* NEW: Geometry generation from opaque images (background removal). Works best with clip-art like images.
* IMP: Improved support for drag-and-drop of images from web browser into Algodoo. It now works with Chrome, Firefox and Safari (but NOT Internet Explorer) on both Windows and Mac.
* Minor fixes and tweaks.

Link in original post updated.

Re: 2.0.1 beta

PostPosted: Sat Nov 05, 2011 11:32 am
by Banjerboef
Why is Internet Explorer not supported?
It is the most used web browser.