kahaanS -- Yeah, that's common with people who use Algodoo like a drawing or sketching app instead of like the awesome physics simulation app that it is. They don't bother to stick objects to the background because they don't intend for their scenes to run and so the objects fly apart when people click the run button.
Okay, I'm glad that you got it to work! One issue is that you should not be using the beta version (v2.2.0 b2) of Algodoo for uploading scenes. There are a few people, including me, who are testing it on their computers and reporting bugs to Algoryx, but for uploading scenes we all should still be using the latest version of Algodoo for your particular device. For Windows the latest authorized version is V2.1.0
It's funny how many people know about that undocumented feature!
I found out about it shortly after I posted my comment asking about it. One important thing that people should understand is, when Algodoo gets placed into god mode, it stays in that mode until it gets turned off. So, even when opening a different scene, Algodoo will remain in god mode. I don't know if that can cause performance issues or glitches.
1. Disable the clouds. They make no sense in a scene like this one.
2. Move your script App.enableScriptMenu = true to "onClick" or "onSpawn" because it only needs to run once. By putting it in "postStep" the script will keep running while the scene is in RUN mode unnecessarily eating up resources.
No! It worked earlier today but something changed. Now the 3D cube disappears after pressing the Y key.
WAIT! I just realized after pressing the Y key I then had to click that text box above the instruction. That is a weird set of instructions! Why is it necessary to click and press stuff just to show the 3D cube? Make it simpler to use!
Yes I did but it plots only one half of the fractal. Is that what it's supposed to do? If so, what parameters can I change to make it plot the entire fractal?
@s_noonan -- In regards to your suggestion: "Add a "New Game" button to the scene that changes the game's initial configuration...." I did that and I found that by creating a random configuration of marbles there is a high likelihood of randomly creating unplayable configurations! What I mean by that is, some initial configurations do not allow any legal moves. I did not run stats on it to determine how bad it is, but I believe that I can greatly improve the chances of randomly generating "legal moves" if I slightly modify the rules of the game by allowing a marble to move into an empty container. That will allow a much greater opportunity for random configurations that are playable.
Many decades ago when I worked at a company that made electronic instruments that were used for nuclear spectroscopy, I recall that one of the instruments used a data smoothing algorithm known as Savitsky-Golay filter. I don't know if that algorithm would be useful for scenes like this one that needs a data smoothing filter but it might be worth taking a look at it.
Thanks! Most of the games that I have made and published here on Algobox are intended for older kids and young teens. They are not especially difficult for adults and smart people like you. I enjoy making them and I can only hope that other people enjoy playing them!