Yup, it takes a long time to create a really awesome game with Algodoo. I have spent many weeks making some of my own scenes like pac-man and a few others. Take a look at some of the games that I have posted on Algobox by clicking on my username. You'll see how complex some of them are!
That example script that you show in the scene description is not correct and will not work: _array = ["A","B","C"] and _arrayslot = 0
That's because the boolean "and" cannot be used for creating custom variables. The correct way is: _array = ["A","B","C"]; _arrayslot = 0
In this corrected script, a semicolon separates the two commands. I also took a look at that link you provided for a Algodoo Wiki that someone created. Many of the tutorials and examples that I read in it are either vague or just plain incorrect. So, I would not rely on the information in it.
In order for onCollide to work, the collision layer of the missile or bullet must have the same collision layer of the object that it hits. For example, if an enemy object has collision layer "A" enabled, and no others, then the projectile hitting it must also have the same collision layer enabled. An object can have multiple layers enabled in order to interact with different other objects.
It should save a new scene separate from your old scene if you click on "Upload". Do not click on "Edit".
More: I hope you are using your regular Internet browser to upload and download scenes instead of the Algodoo built-in browser. The Algodoo browser is very limited functionally, and I do not recommend using it for anything!
Nice game, but it has issues:
1. When the message "Try Again!" shows up, the sim stops running, and it leaves the user wondering, "OK, now what do I do?". It would be nice if you could place a "Reset" or "Restart" button in the game which will either start the game over from the beginning, or will start the sim again, while accumulating points.
2. The "Try again!" message box stays in view and bounces around if I simply restart the sim.
3. How does the player "Win" the game? Do they win when they accumulate a certain number of hp's?
I just noticed another issue: After downloading a fresh game from Algobox, the game begins with red = 20hp and green = 5hp. Is that right?
1. There are a number of ways you can restart an Algodoo scene depending on how complex it is. For simple games you can just set all variables to their initial values and move all moveable objects to a starting position. You can do that with a button if you want, or you can simply tell the player to click the "back step arrow" at the bottom of the scene just to the left of the Algodoo Run/Pause button.
3. Any "How to play" or "How to win" explanations can go in the scene description but it's always better to place them in the actual scene. You can have them disappear when the scene is RUN.
rjoseph -- I don't understand what you mean by "put all the names on Algobox". We can only post scenes on Algobox. As for the names, each user of this scene can store their own list of names in the game. Read the instructions to learn how to do that.
s_noonan -- I have been in contact with Emanuel (from Algoryx) about the possibility of him answering technical questions concerning Thyme Scripting, and he thought that was a good idea. He of course has access to the Algodoo project that Emil Emerfeldt mostly worked on during its early days of software development. I'm waiting back from him concerning details of how we can best handle that (maybe I'll post a scene requesting technical questions in the comments section). So, for now, please be thinking about any questions you might have, and if/when I post a scene asking for questions, you will see it.
This scene is a response to the original scene that was made by user mateo7041. I just copied his scene and slightly modified it to make it look like the airbags deploy at a high speed, but in actuality the airbags are already deployed but cannot be seen because the color transparency value is initially set to zero (totally transparent). Then when the collision with the other car occurs, I simply make the airbags opaque by setting the color transparency value to 1.0. There is also a timer that switches the sim frequency from 60Hz to 1200Hz when the cars are a short distance from each other which causes the slow-motion effect. It's sort of like Hollywood movie magic!
ChipmunkBlaster -- You will need to ask your parents or someone from your church or other religious organization that question. I only deal with right and wrong pertaining to the rules of this website. Sorry I cannot help you.