After downloading and then running this scene, my brain almost exploded from the extreme confusion that occurred! What is this scene supposed to be about, and what are we supposed to do to make it work?
Helpful hint: Add this script to "update' in any box or circle in the scene (only ONE place), and it will prevent the script menu from showing up when clicking on things: app.gui.playmode = sim.running
You did not define the variable scene.my.textureName, and that's why it shows as being "undefined". You initially define a variable by writing a value to it either in the script console, or in the script text box in the upper left corner of any geometry. So, in this case you can define it with any text such as scene.my.textureName := "Boy" (or whatever name you want to give it).
TBB - This looks like a good concept for a game, and the overall plan of how things work sounds good, but the way those two guys move is horrible. They flop around like a helium balloon in a hurricane, and are totally uncontrollable. Trying to laser-cut something with the chaotic motion that those ragdolls have is impossible. So, in my humble opinion, those two ragdolls need to be much more controllable. Unfortunately, the built-in movement control functions that Algodoo provides for moving things around is poor at best, so you will need to implement something better.
There are a number of ways this can be done, and I suggest that you search other scenes that have controllable people that you can possibly copy their method. I will look at some older scenes too and see if I can come up with something that might work or you. But please let me know if you are not interested in changing the method that you currently use. I should not assume that you WANT to change it!
Thanks guys! Yes, the one on the right is a dinosaur. Most 3D stereogram images are very low resolution, and therefore are difficult to make out what they are. I originally learned about stereograms many (probably 10) years ago when I discovered that I was able to easily view them without the help of anything except my own eyes. I believe the one on the left is a bull fighter. If you look for it, you should find a bull tossing him up in the air. I'm not sure what the one in the middle is, but I was able to make out some of the letters which are "AGCTAGCT" which I think are how the genes on DNA are labeled. I have no idea about the rest of the image.
There are similarities between this type of 3D animation and the type in my scene. That is, two slightly offset images are alternately displayed. And because of that fact, I found that I could carefully drag the top image in your scene with the Move tool left and right to change the "pivot point" of the shifting images. At a certain point, the metal poles in the foreground appear to not shift at all, but the boat and other things in the background will shift. At another point, the cabin of the boat appears to be stationary while other things closer and farther appear to shift.
I plan on taking photos of things around my house and making animated 3D images of them. If I get any really interesting ones, I'll upload them in a scene.
Nice job, and I'm glad that you found this technique!
That's what my mamma warned me about when I was six! Luckily for me, I obeyed her, and now that I'm a little older, my eyes are not stuck in the crossed position.
1. When the brushes that are not being used get bumped, they tumble, spin, and float around uncontrollably.
2. The drag tool should be configured with the "Disable Rotation" check box checked. Otherwise, the brushes being dragged for painting will spin around uncontrollably.
Well, if you did it, then it's not working. I looked all through the scene and I cannot find app.gui.playmode = sim.running so you must not have added that script.
Edit: OH, WAIT.... You made the change at the same time I was writing this comment!!! BUT you put the script in the wrong place! It must go in "update" not in onCLick!
Um... You've been a member since 2010, and you made a few other scenes since then, so this is NOT your first project made in Algodoo. Why would you lie about that?
When I start Algodoo immediately after launching the program, my score is around 1390 (average). If I undo, and then restart Algodoo, then the score is a little lower: 1226. I've noticed over the years playing Algodoo that the program seems to run slower the longer it stays active. But then when I shut it down and launch it again, it somehow gets a boost and runs faster.
By the way, why do you write to your variables twice? For example, your script is: scene.my.blue = scene.my.blue = [0.0, 0.0, 1.0, 1.0]. You only need to write to a variable ONE TIME, such as: scene.my.blue = [0.0, 0.0, 1.0, 1.0].
Things can happen in Algodoo that cannot happen in real life. In this particular case, the balls rotate around the poles while the springs become disconnected and then reattached. I hope that explains it.
There are lots of script tutorials in the Algodoo forum. Unfortunately, it's not all in one big post. It's scattered in many different places in the forum, and so you'll have to just search and read, search and read, search and read!