Impressive coding, all done in one object and without any scene.my variables.
P.S. Now that you mention it, I do see the three Scene.my. variables. I can also see that, if you chose to, you could eliminate those variables and insert _Sides, _In_Size, and _Out_Size in the text property. You would need to format the numbers to make them short. It is doable, but probably not worth the effort.
Q: I no longer see the axles. What happened to them?
A: I deleted them. They were used temporarily to determine the target relative position with respect to the box position. The target relative position = geom0pos. The target absolute position = box.pos + geom0pos.
Q: What are "span" and "span color" properties? I've never seen those for text before. Thanks!
A: They are HTML tags that are used for formatting.
I agree with Xray and see that I have made the same mistake with the sliding vane pumps that I have made. I think that sliding vane hydraulic pumps exist, but they definitely don't compress the oil (much). I think the reason they work is that the inlet and outlet ports are designed so that the oil does not get compressed when pumped from inlet to outlet.
P.S.: I have the book and on page 132 it states that "Rotary vane pumps are often used to deliver fuel at gas stations."
Thanks guys. The scene wasn't too involved. Sometimes I have a hard time coming up with ideas, so this time I just piggy backed off of Xray's idea. Someone once said to me "If you can't think of anything to do, then do anything".
Xray - The tip of the arrow cursor on my display matches the [+], [-], and color boxes very precisely. Those items indicate focus whenever the point of the cursor is within the region bounded by the brackets or within the borders of a color box. I had also seen the off-by-one error, but decided to let it slide. If it was off by two then I would certainly say something. Also, if it was your scene, and off by more than 0.000001, then I would almost certainly say something.
What I found interesting is that it took me quite a while before I lost all of my money. I don't know what the average number of plays are if starting out with 100 coins and betting 5 credits each time. The casino eventually gets your money, but I guess they don't take it away all at once.
Xray - Your Hangman Game started me thinking on how to guess any letter in any position. I was going to make a hangman code engine for people to use in their own hangman game, but then added the gallows at the last minute because it was relatively simple to do so. I tried not to copy any of your code, but I'm sure I was influenced by your scene. You or anybody else (including you-know-who) can use the code to modify or make your own scene. A theme based hangman or a better looking hanged man might be good.
Below is an example on how the dictionary was created:
scene.my.words = "THIS IS MY BIG TEST";
scene.my.dictionary = String.Split(scene.my.words, " ");
P.S. The dictionary contains 2000 of the most common words in the English language.
"If you imagine that every bottle of water you drink is about three-quarters water and one-quarter oil, you’ll have a pretty accurate picture of how much energy it takes to put that bottle of water in your hand"
This is a great idea. If shower water was filtered and reused, than a tremendous amount of energy could be saved. Estimate energy usage of a non-recycled shower using the following:
WATTS = TEMPERATURE RISE (°F) x GALLONS PER MINUTE x 147
WATTS = TEMPERATURE RISE (°C) x LITERS PER MINUTE x 69.8
For a 2.5 gpm shower using water heated 60°F greater than ambient, the energy usage is 22,000 watts. There is probably no appliance in your house that comes close to using that much energy. That's 22kW going right down the drain.
"I believe that this is the highest it can possibly be without falling"
Now that's a bold statement. I believe it can be made higher by putting the blocks directly over each other. Maybe the goal should be to see who can get the stack to lean the most without falling.
Not a problem. I have a killer floor that automatically cleans up everything. Also,I just noticed that somebody already made a Toilet That Reuses its Water!
Q: What does the user need to do with it?
A: I haven't quite figured that out yet. Maybe the screen can be used to automatically put the solid waste into a compartment with sawdust and worms in order to be vermicomposted. Maybe the tank above the toilet can be a big terrarium. The waste can be filtered by the dirt and broken down biologically. Another possibility would be to have a large rotating compost bin so that fully composted material would cover the new stinky stuff. Perforations in the compost bin would allow the liquid to recycle.
This scene was initially made as a joke, but maybe some Algodooers can come up with some realistic ideas (or even some crazy ideas that may lead to good ideas).
P.S. Probably the best may to save water is not to use any to begin with by using a composting toilet.