Browse Search Popular Register Upload Rules User list Login:
Search:
Okay, great! :tup:

Here is another helpful script for ya....

You probably noticed that the very first keypress of "a" or "s" it does not work. That's because the scene is always in "edit" mode, and keys a and s are used to trigger built-in functions. You can prevent that by forcing the scene into PLAY mode each time the scene RUNs. Here's how: In the upDate event of any geometry put the following script:
app.gui.playMode = sim.running

I use that in nearly every scene that I make. I think you will like it!
Last edited at 2023/03/11 17:11:24 by Xray
No problem! :tup:
Literally WW2 countrys?:s It looks like a happy monkey to me! :lol:
Last edited at 2023/03/11 22:43:05 by Xray
For what it's worth, the scene works for me but the timing is somewhat erratic. i.e., sometimes the button responds rather quickly and sometimes it takes a few seconds to respond. The timing may be slightly erratic, but it always works.
Thanks, s_noonan. Actually, this scene began as a tutorial for making realistic-looking water. That's why I created all those custom local variables which were totally unnecessary for this particular scene that it ended up being. I lost interest in making a tutorial, and that's when I decided to just make a regular scene out of it. After I was watching the waves for a few minutes, I thought to myself: "This is very relaxing, but it's also very boring. So, I added the "message in a bottle" gimmick. But, as I'm sure you would agree, the bottle needs more than just being a floating object. It needs a "surprise" of some sort, and I may do that in a future update.
T_Reißig -- Enable the grid. You should see where bright vertical and horizontal lines intersect right above the dome at the peak of the Enterprise body. That is the origin coordinates [0.0,0.0] for the Algodoo world. Now zoom in, keeping that intersection in the center of the display. When zoomed in far enough, you should see the laser. The laser is located on layer-1. So, in order to edit objects on a layer other than zero, you need to select that layer. You do that by right-clicking on the background, then hover your cursor on the word "Layers" which will display the Layers control panel. Then left-click on "Layer 1" which should make the word turn red. Once layer 1 has been selected you will be able to copy or edit the laser which is located on that layer.
Chasnia has only 1.2 square miles of land, and the population is 1,659,273 people? Holy cow! According to my calculation, there are slightly over 20 people per square foot! :o That is a VERY crowded country!
Here's a scene you might find helpful. It shows examples of all the random number functions that Thyme script has to offer:

Random Number Generators
Excellent display of Lissajous curves! :tup:

I learned about Lissajous curves when I bought my first oscilloscope many years ago (before most Algodoo users were born!).

For those who don't know, Lissajous is correctly pronounced "liss'-a-joo".
You didn't like the oscilloscope because you didn't understand how to use it! If someone were to teach you how to use it, then you would realize what a valuable tool it is for electronics repair, experimenting, or engineering. There are a lot of YouTube channels that explain how to use an oscilloscope, but they are not as good as a real person right beside you explaining things and answering questions.
YUM! This makes me hungry for popcorn! :lol:

Good job on the scene! :tup:
I do like electronics. It has been my hobby during my entire life since I was old enough to get a shock from the Mains power. :lol: It has also been my profession during most of my adult life. I have made some interesting and dangerous projects over the years, and because of my very strict safety precautions, I have managed to not injure or kill myself! :lol:
That's a great idea, T_ReiBig! I'll play around with it.

Oh, by the way, if you want to select just the spring body and not the end points, hold down the Alt key then left click the spring body. The Alt key also works with items that were glued together but you want to only select one of those items.
Last edited at 2023/03/16 01:56:39 by Xray
I agree with Little. Good job! :tup:

Suggestion: The UP key has no effect because the spring automatically returns the head to home position. You can fix that by deleting the spring, and then enable BRAKE in the axle control panel by clicking the check mark box next to BRAKE. Up and Down keys will then function correctly.
ProfessionalSudo -- Most of the shaking is caused by the front shock absorber. I'm not certain WHY it shakes, but when I deleted it, and made a shock absorber with the axle that is attached to the door, all the shaking stopped. There is another reason for a slight up and down warble, especially at the faster speeds, and that is caused by "run out" on both wheels. Run out means that the axle is not exactly centered on the wheel. If you can adjust the positions of the front and rear wheels with both axles, there should be no run out, and the truck will run as smoothly as a brand new one! :tup:
Last edited at 2023/03/14 21:18:27 by Xray
ProfessionalSudo -- I left you a comment at the scene that you need help with.
It's the same as it was before! Did you make those changes that I suggested? :huh: (You don't have to if you don't want to. They are just suggestions)
Brickwall -- Go ahead and make whatever changes you want to make. You have my permission to do whatever you want to it and then uploaded your own version of this scene. If you do make changes, I hope they are really crazy! :lol:
NP! It's far better to fear something dangerous than to be careless with it! :tup:
Why did it do WHAT? :s Explode? :huh:
If that's what you are asking, it exploded because of how you assembled those objects. Objects that have the same collision layer settings do not like to be held together without any glue. They will forcefully push themselves apart when the scene gets started. Those of us who have been using Algodoo for many years are very familiar with this behavior. If you want them to stay stuck to each other, then do it with "glue". Use "glue to background" or "glue together".

Stick around and you will learn some other interesting things about Algodoo! :tup:
Last edited at 2023/03/15 21:29:41 by Xray
I tried eating an organ when I as a child but I didn't like it because the white keys got stuck between my teeth, and the black keys almost choked me! :o
Last edited at 2023/03/15 21:48:41 by Xray
T_Reißig -- I forgot to mention, if you want to select just the spring body and not the end points, hold down the Alt key then left click the spring body. The Alt key also works with items that were glued together but you want to only select one of those items.
Shroomagonal -- I've never made any crashable or breakable objects but I have seen others do that. In many cases I believe they just cut up an object into a lot of smaller pieces using the knife tool. Not sure how they keep the cut pieces stuck together until someone smashes them with a hammer. Maybe just download a few of those "crashable car" scenes and look and see how they did it. There are hundreds or maybe even thousands of "crashable" or "breakable" scenes in the Algobox archive.
LOL! I KNOW THAT! I MADE A JOKE! :lol:
WOW, this is awesome! Good job! :tup: :tup:
Very impressive, s_noonan! I'm totally blown away by your coding abilities. _o_
Great! That makes me happy! :)
Here's a couple of ideas to embellish the scene if you so desire to do them:

1. Include a button to enable/disable "drawBorder" in your _drawPoly subroutine.
2. Include a button to enable/disable "Auto Rotate". In Auto mode, the cube will rotate randomly on all axes (sort of like a screen saver mode).

3. Make a pair of dice that can be rolled by the user by pressing a button. The rotating and rolling dice will look really cool, especially if you use a Craps table as the backdrop for the dice to roll on! If anyone can make that happen, YOU can! :)
I agree with sombra. This scene is awesome! :tup:
Okay, I'll play around with it and see what I can come up with. (Don't hold your breath! :lol: )
previous | 1 … 343 344 345 346 347 … 352 | next