Browse Search Popular Register Upload Rules User list Login:
Search:
??????????????????????????????????????????????????­?????????
:s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s :s
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!!!!!!!!!!!!!!!!

????????????????????????????­??????????????????????????????????????????????????­??????????????????????????????????????????????
///­//////////////////////////////////////////////////­///////
++++++++++++++++++++++++++++++++++++++++++­++++++++
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@­@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
MyNameIsThis -- It's a satellite named "Sputnik". Look it up on Google if you want to learn more about it.
Thanks s_noonan.
If you want to make the TNT explode without the delay time that the fuse gives you, simply touch the TNT directly with the lit match and it will explode immediately. Just be warned that you will probably lose your hand and even your entire arm if you do that! :o

Kids, don't try this at home! Let your dad do this because he is an adult and he knows how to play with dangerous things. :angel:
Last edited at 2022/03/14 18:52:20 by Xray
Hi Joseph,

I can teach you how to make your scene look more realistic by hiding the vomit behind Yellow so that you will only see it when it comes out of his mouth. If you are interested, just let me know here in the comments and I will give you step-by-step instructions. It's not real difficult at all, and I think you will agree that your scene will look more realistic. If you are not interested, that's Okay too. Just let me know and I won't give you any instructions.

Oh, one other question for you. Do you use a computer with a mouse and keyboard for making and editing your scenes? My instructions will be much easier to follow if you use a standard computer mouse and keyboard.

Xray
Last edited at 2022/03/14 20:57:27 by Xray
Your trigger is curved in the wrong direction. Just look at pictures of any real handgun.
I would need to see exactly what you are trying to do, so could you upload your scene, and in the description explain what it is you want to do? You can title the temporary scene "For Xray" and when we are done with it, you or I can delete it if you no longer need it.
AGC48 -- Are you sure you don't mean "sine"? I checked all of the math functions in the forum here: Thyme Commands/Variables and I could not find a "Sgn" function. Take a look through that list and see for yourself. If you want to find the sine of a number use math.sin(x) or for cosine use math.cos(x).
Yeah, so? I zoomed out and saw a big circle. Big deal. Perfectly normal (if that's what you wanted to do!). :rolleyes:
AGC48 -- There's a discussion about this in the Algodoo Forum, and user Kilinich suggested the following scripts for doing the Sign function and the Absolute Value function:

scene.my.sign = (x) => {x < 0 ? -1 : 1};
scene.my.abs = (x) => {x < 0 ? -x : x}

I haven't confirmed if they work, but they look like they should.

Here's a link to the discussion in the Forum: Optimization Is Important
Last edited at 2022/03/19 18:18:08 by Xray
I just realized that Kilinich's script for signum is not correct because it does not return zero when x is zero, so I corrected it as follows:

scene.my.sign = (x)=>{x < 0 ? -1 : x > 0 ? + 1 : 0}

Now the function returns -1, +1, or 0

By the way, the signum function will never return -0. Only one of the three results shown here is correct.

Oh, one more thing.... If you need a global function (that is, a function that any object in your scene can use) then "scene.my.... is the way to go. BUT if you need to use the function in ONE object (a box, a circle, etc) then use a local (custom) function that begins with an underscore character. For example:
_signum = (x)=>{x < 0 ? -1 : x > 0 ? + 1 : 0}


Hope this works for ya!
Last edited at 2022/03/19 19:00:59 by Xray
@ezpz(fib)5 -- s_noonan's polygon smoothing scene (link shown above) is a perfect example of what you described that you are trying to do. If there is anything in his script that you don't understand or need clarification, just ask him. He knows more about Thyme scripting than anyone else (and that includes me).
You are very welcome! :)
It's because Algodoo scripting was never completed. It has a few known bugs and some things that it should have but doesn't. For example you can directly READ an array value such as: _variable = _array(7) but you cannot directly WRITE to an array variable using the similar format such as: _array(7) = _variable. I use a custom function which gets around this problem and allows you to write to a single array element. Read the following Forum entry, and you will see how I am able to write to a single array element:

Change Array Element
Did you ever need to connect an articulated scavenging pump to a cross-threaded hyperbolic swing-arm? Me neither. Great scene, by the way. Nicely done! :tup:
Would you like me to correct the spelling of the title for you? Yes, I can do that.
DFTL Meaning?

1: Dancing for The Lord
2: Dagger Forst Tools Limited
3: Dawood Family Takaful Limited
4: Don'T Forget The Lyrics

All kidding aside, I am very much interested in your scene and learning about how AI works. Your description states "Instructions in the scene" but there are really no instructions at all. There is a technical specification which names some of the parameters which can be adjusted, but no actual explanation as to WHAT each parameter does, and how it affects the "robot". Sure, I can tweak those parameters all day long, but without an understanding as to what they do, I have no idea what the heck I'm doing! So, would it be much trouble for you to write actual instructions, sorta like "AI For Dummies"?

Thanks!
Last edited at 2022/03/20 21:38:47 by Xray
Read the Forum under the heading "Thyme Scripting". There is a lot more there than what I would be able to tell you here in comments.
He hasn't posted any scenes in over a year, and his last comment is dated December 2021. I don't know why he is no longer active here. He has posted a lot of interesting scenes, and I personally miss him. Hopefully he will return!
Last edited at 2022/03/21 03:26:54 by Xray
Liftingsimulator565 -- Извините, я не понимаю вашего запроса.
Your math is better than mine. :tup:
Why do you need to find him?
UDG04 -- WAKE UP! You are having a nightmare! :o
What are the controls?
I don't have a joystick and so I changed the thruster control to left and right arrow keys. That works just fine. :tup:

That's a cool looking thing you made. Kinda creepy, too!:lol:
Last edited at 2022/03/23 06:12:06 by Xray
The only programming language that I've ever used with Algodoo is the built-in script language called "Thyme". It may be similar to Python or some other similar language but I don't believe that Algodoo "supports" any particular language. If s_noonan wants to add anything to this discussion, he may know something that I don't. :)
That's not a good way to control anything in an Algodoo scene! It's always more convenient to use arrow keys or A and D keys for forward and backward speed controls.
UnityDogGaming04 -- I think Algodoopr is confused because you provide no instructions how to use the scene. I was somewhat confused too, and I understand logic gates very well. For example, what keys are inputs, and what indicators are outputs. Don't assume everyone knows exactly how to use the scene simply because it may be obvious to you. A few instructions are always helpful in every scene that requires user interaction.
previous | 1 … 310 311 312 313 314 … 442 | next