Thanks, s_noonan for critiquing my scenes. You usually have good suggestions. I didn't even think about them needing to be saved as a component, so thanks for bringing that to my attention. I'll implement your suggested changes in a day or two.
No, not really. I spent about an hour on it over a couple of days. I don't keep track of my time while working on Algodoo projects so this is just a rough estimation.
No, not easier. You click on the blocks exactly like before but the blocks move differently. If you read my scene description you would see that I explained what changed from my previous scene.
s_noonan -- After making the code changes that you had suggested, I noticed that the largest ring gets skipped (does not change color). So, after spending some time debugging code, I discovered that I could make it work by increasing the sim frequency to 100 Hz. Therefore there must be a timing error that manifests itself in the largest ring. The problem is, most marble races use the default sim frequency of 60 Hz. So, could you please take a look at this issue when you have time and let me know your suggestion for correcting it without needing to change the sim frequency?
1. Before you save your scene and uploading it to Algobox, make sure that the main object in your scene is centered. That way the small thumbnail image that people see on Algobox will show the main object. In this first scene of yours, you saved it with the car on the right side of the image. Because of that, the car does not show in the thumbnail image. In fact the thumbnail image looks like the scene has nothing in it!
2. In both axles for the wheels, uncheck the "toggle" check boxes. Then the left, right, and down control keys will work as expected. With "toggle" checked, control of the direction and brake can become very confusing for people because (for example) they press the "forward" key but nothing happens if the "reverse" key or the "brake" key happens to be toggled ON at that time.
Except for those minor details, you did a very good job on your first scene!
Oh, sorry juniortoz. Maybe call your doctor if the flashbacks become too painful. We don't want anyone to get hurt (mentally) from using Algodoo scenes.
Unfortunately there's no easy fix for that because of how teleporting works. As soon as an object touches a teleporting pad, the object's position immediately shifts to the new position that was specified in the teleporting pad. When that happens the object being teleported violently rips away from other objects that were attached to it. So teleporting only works for single objects (like a marble) that have nothing else attached to them. If I figure out some kind of fix for that I'll let you know about it but don't hold your breath.
What you are asking (text on circles) would require changes to Algodoo (the App). Only the company (Algoryx) can make those kinds of changes, and they won't be making any changes to Algodoo in the foreseeable future. There are many other things that I would like to see changed in Algodoo but I realize they probably will never happen because the company does not make any profits on Algodoo because it's FREE.
Question: There are three objects in the scene that I don't know what they do.
1. The thing that looks like a red egg.
2. The large light-gray circle on the left side.
3. The trapezoidal shaped object under the smiling mouth that moves back and forth like a pendulum.
Quote: Is there going to be a Sliding Block Puzzle DLC?
Reply: Possibly! I'll first need to figure out if DLC is even possible with Algodoo. I can update the game or course, but the idea of making a separate downloadable component of the game may not be possible.
1. CLone the blue circle.
2. In the cloned blue circle change the color to red and change the radius to 1.0.
3. Move the cloned circle to wherever you want it to appear after the blue circle dies.
4. Select the cloned circle then CUT it (Ctrl-X).
5. In the original blue circle PASTE (Ctrl-V) the cloned circle details into the onDie event. Make sure to first delete your old script that doesn't work.
6. Save the scene and then test it to make sure it works as expected.
There are different ways to do that, but I think this is a simple and easy way.
I'll post a scene titled "For scriptadius". After you no longer need it, let me know in a comment and I'll delete it.
Oh, one question: Your scene description says "the blue should become a smaller red circle". In your instructions you say that you want the red circle to have a radius of 1. Well, that would make it LARGER than the blue circle because the blue circle has a radius of 0.77. So let me know if that's what you want. It's very easy to change if it needs to be different.