Thyme bug?

About advanced scenes, and the Thyme scripting language used in Algodoo.

Thyme bug?

Postby griggy » Wed Apr 27, 2016 5:55 pm

I have posted a scene on Algobox demonstrating what seems to be a bug in Thyme. Could anyone confirm that it is a bug and a work-around? I do not know how to best reference the scene from here. In Algobox you can search for author = griggy and forum = bug reports. Thanks in advance.
griggy
 
Posts: 6
Joined: Wed Dec 09, 2015 6:59 pm

Re: Thyme bug?

Postby griggy » Wed Apr 27, 2016 8:25 pm

By trial and error I have solved the problem myself. My error was that I assigned the attributes of the new box using = instead of :=. Even though the code was inside addBox(...) it set pos of "this" object (ie the stop). Sorry for troubling you.
griggy
 
Posts: 6
Joined: Wed Dec 09, 2015 6:59 pm

Re: Thyme bug?

Postby Kilinich » Thu Apr 28, 2016 5:23 pm

:thumbup:
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 12 guests

cron