Move multiple objects with Blocky

132 views
Skip to first unread message

BEN YEMNA RAMZI

unread,
Dec 2, 2013, 5:24:01 AM12/2/13
to blo...@googlegroups.com
Hello all,
First i appreciate your hard work and your contributions to the opensource family.
i convinced my team leader to use blockly for an educational website to help students through physics and mathematics and i'm trying to develop a "proof Of Concept".
i was able to use blockly for one object, to add my own blocks,....
my main problem now is that i didn't find any sample where blockly is used to move multiple objects in multiple canvas (canvas per object).
In case where Blockly doesn't support multiple objects, what do you suggest?
thx in advance!!  



BEN YEMNA RAMZI

unread,
Dec 3, 2013, 4:00:22 AM12/3/13
to blo...@googlegroups.com
Hello again!
The things i tried todo:
1- use multiple iframes : iframe(workspace) per tab (tab per object) and all the canvas are in the parent page = problem: only one instance of blocky is accepted in the parent window window.parent.blocklyLoaded(Blockly);
2- replace every Blockly.functionName by this.functionName and make var Blockly1 = jQuery.extend(true, {}, Blockly); it didn't work for me :(
3- use a Collection of animated objects and use one blockly to animate all the subObjects : i'll test this today

Other ideas?? plz 
Reply all
Reply to author
Forward
0 new messages