Browse Search Popular Register Upload Rules User list Login:
Search:
logusedtools8

Image:
screenshot of the scene

Author: DrBalk

Group: Educational

Filesize: 131.87 kB

Date added: 2019-01-01

Rating: 5.6

Downloads: 1185

Views: 328

Comments: 3

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

The aim of this scene is to log the tools which are used by the user.
For this, own icons are made, a click on them activates the tool.

GUI.skin.toolIconSize = 0.01;
GUI.skin.borders.toolIcon.width = 0;
App.Gui.Rebuild;
and removal of all hotkeys
is used to shrink, (click on Hide-mode on)
GUI.skin.toolIconSize = 24;
GUI.skin.borders.toolIcon.width = 6;
App.Gui.Rebuild;
and recovering all hotkeys
to expand back to original mode (click on Hide-mode off).

After each click on a new iconobject
the name of the tool you clicked on
is appended to a file called "usedtools.txt"
Thanks to FRA32 and s_noonan!

---
In this version each click on a tool will be recorded sequentially and
saved in a file, usefull to check wether or not a student was able
to really fulfill a quest, which was set by the teacher.

Now we have good answers to the question of dobili in the forum
http://www.algodoo.com/forum/viewtopic.php?f=11&t=11127
have fun!:)
Last edited at 2019/01/01 23:29:38 by DrBalk
Please log in to rate this scene
edit
Looks good. Glad I could help.
Nice job, DrBalk!

I do have a couple of suggestions for your consideration:

1. Disable the Algodoo clouds. They serve no purpose for this type of scene, and they can be quite distracting.

2. Show a running total of tools used similar to the way s_noonan did it in his version of the scene. I suggest this because it could be a nuisance for a teacher to search through the Algodoo directories in order to try to find the desired file each time. Make things easy and convenient for the users!
One thing you should also, albeit this likely already exists in s_noonan's implementation:

New Hotkeys. By activating "hide-mode", you disable all hotkeys, even tho you still imply them on the tool icons. You should add an onKey event in one of the buttons(or one in each button for each key) checking if

e.keyCode == hotkeyForThisTool && e.pressed ? {Tools.x.selectTool} : {}

for each hotkey that is active in the scene. By making each hotkey check in each individual button, removing a button(disabling the tool) also disables the hotkey.