A simple tutorial to help you get started on the basics of scripting in Algodoo: Phun Edition beta 5.28 Go here for more in depth information on scripting. www.phunland.com/forum/viewtop...
Woaaaaaaah, THANKS ALOT!!! i got just 5 words for the use i immediately thought of after this video: collision based size sorting machine. I would recommend this to ANYONE who wanna make contraptions with phun, it just opens up a WHOLE lot of possibilities! (damn YT for removing stars :\) anyone who dislikes this should get a slap ^^.
Pretty cool paradigm very clear and understandable! you continue to impress me no matter what. I wish i knew what you do. Continue to do what you always :D
(e)=-{Scene.addcircle({pos:=e.pos})} Remember to just press enter once, on some computers, if the scipt that you have typed is auto spaceing it means that the console confirms that it understand the order. To add a box, just type box(not sqare) instead of circle
How do i use multiple if blocks in one "onCollide-field?" I want my marbles collide with three types of objects, that should cause three different score-values to add to the score of this marble. I thried to put the seccond if-block into the else-part of the first, and the third one into the else-part of the seccond. and i thied to put them just one below the other one. i tried to put the conditions of the if-blocks into curly brackets and i tried to use the condition without theese grackets. I tried many combinations of theese variants, but nothing does, what i want.
@300istilmig well it is 1=a 2=b 4=c 8=d 16=e 32=f 64=g and then to make something have collideset abe it would be like 1+2+16=19 (haven´t tried using more than one collideset change scripts yet haven´t needed it :P )
Hey, thank you very much, thank you i now can use some scripts =) But i have a question, do you know which sintax it understand? I cant do complex calculations, can you? like {var1 / ((var2*var2)+1)} i just cant make three operations at once, any tip? Thx! {1 + 1 + 1}cant, {1 +(2*3)}can, {(1+1)+(1+1)}cant
This information was super important to me! Thank you so much!
This is great, im familliar with scripting but i couldnt grasp this that easy, you made me understand it.
Thanks!
Woaaaaaaah, THANKS ALOT!!!
i got just 5 words for the use i immediately thought of after this video: collision based size sorting machine.
I would recommend this to ANYONE who wanna make contraptions with phun, it just opens up a WHOLE lot of possibilities!
(damn YT for removing stars :\)
anyone who dislikes this should get a slap ^^.
damn, this comment was a while ago. i think the people who disliked meant "dis i like".
Pretty cool paradigm very clear and understandable! you continue to impress me no matter what. I wish i knew what you do. Continue to do what you always :D
this is really going to help me make some scenes of my own
Thank you!
(e)=-{Scene.addcircle({pos:=e.pos})}
Remember to just press enter once, on some computers, if the scipt that you have typed is auto spaceing it means that the console confirms that it understand the order. To add a box, just type box(not sqare) instead of circle
Thats awesome, I made a damage script with it, Instead of using +1 I used -1, Thanks for the tutorial.
This really helped me, the variable or damage script help me ALOT wile watching this. THANK YOU 😂
@TheJimcat you have to make sure it understands the order and to press enter/backspace hope it helps
Thanks man!
finally i can start off scripting :)
thank you so much!
Never seen this video, because i still use Phun this will help if i want to do effects on my Algodoo cars!
Thank you very much.
Dude.............................i love you
please make more tutorials like this!
How do i use multiple if blocks in one "onCollide-field?"
I want my marbles collide with three types of objects, that should cause three different score-values to add to the score of this marble.
I thried to put the seccond if-block into the else-part of the first, and the third one into the else-part of the seccond.
and i thied to put them just one below the other one.
i tried to put the conditions of the if-blocks into curly brackets and i tried to use the condition without theese grackets.
I tried many combinations of theese variants, but nothing does, what i want.
@300istilmig well it is 1=a 2=b 4=c 8=d 16=e 32=f 64=g and then to make something have collideset abe it would be like 1+2+16=19 (haven´t tried using more than one collideset change scripts yet haven´t needed it :P )
para.. this is epic :D
great ^^
Hi, can you help me please, how do you can detect with laser a color?
Wow...how have people not taken up with scripting and use of algodoo a bit more?
does {e.other.restitution = 0,1}
change restitution to 0,1?
COOL!
How to make gravity normal while the ball is floating
wat is the red xross tool thing for???
TNX
How do you make for loops?
i know what it means but my head just exploded
Hey, thank you very much, thank you i now can use some scripts =)
But i have a question, do you know which sintax it understand?
I cant do complex calculations, can you? like {var1 / ((var2*var2)+1)} i just cant make three operations at once, any tip? Thx!
{1 + 1 + 1}cant, {1 +(2*3)}can, {(1+1)+(1+1)}cant
tysm
Thanks a lot. Can you make more toturials how to create lot of gears.
does anyone know how to script a laser changing a variable of another object?
ive copyed every thing in you count colision script, but it no work, please explain why
What is the music name/where to download?
now. how do i make a counter??? each hit schold = 100 points
please tell me!!!
what is the song?
make more of these...plz
how to spawn stuff?
and make more of these vids..their awesome
whats the song?
Would you plz teach me the cloning script???
i used this to make a counter for a transportation truck! 35 per truck.
how to make delay script?
THANK YOU SO MUCH NOW MY MARBLE RACES ARE 2X FUNNY
@PivoTMarshaL
yeah use this in on collide
e.this.collideSet = 1-7
1 is a and so on
Replace +1 by +100.
Wait... The "Utility key"? Umm sorry what key is that on an English keyboard?
@H8sH8ers lasers and more advanced changes in material
can you please make a scripting tutorial just like this that explains how to make spawners? 5 stars btw GREAT video :)
@H8sH8ers yes, but you have to pay for algodoo.
Hello! Im from the future!
... yeah or healthbar wich does something if the value arrives 0
:D
that,s what i wana know!
and the next person?
i have to say thanks now if you can teach me how to make a spawner even more thx
if you want to
1:54
press ~
It's e.this.
huh weird
@Ostemorder wtf man are you high.
making sense not you're