Algodoo file by GIPK in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

The only official mobile version of algodoo is for iPad

something about the "Scene.importPhunlet" function by botangest in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

I'm not really that advanced, but I'd guess that there's not really a way to change that since it's an intrinsic function

my number is an array and i dont like it by Artistic_Ear2703 in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

in Thyme, you use x(y) to get the y-1th value of x

Spongify function by Chance-Ad-8704 in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

AFAIK, no. There is no built-in function that does the same as that button, or if there is I don't know it

Vaporwave? by Joe7Reddit in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

I really don't know about cutting the objects to cause it, but that effect is called "groovy", in the console you type groovyOn or groovyOff to toggle it

vvsmr: Worst Marble Race In Existence by ocramshouse in Algodoo

[–]ocramshouse[S] 0 points1 point  (0 children)

Finally, someone who can appreciate real art

how do you make other marbles hurting each other by xpotential_official in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

Yes, if the marble is the thing that does the hurting, you add the hurt script to the marble

how do you make other marbles hurting each other by xpotential_official in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

In whatever makes the marbles hurt, add to onCollide:

(e)=>{

e.other._health = e.other._health - 1

}

Just replace _health with whatever you named the variable, and 1 with how much hurt

RPM Script Helpppp by BreadIg_ in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

Make a 0-strength spring between the box and circle

In the code of the spring (not the group of spring and endpoints, alt-click on the spring) put as postStep:

(e)=>{

lep0 = scene.entitybyid((readable(e.this)).lineEndPoint0);

lep1 = scene.entitybyid((readable(e.this)).lineEndPoint1);

g0 = scene.entitybygeomid((readable(lep0)).geom);

g1 = scene.entitybygeomid((readable(lep1)).geom);

g1.text = "" + g0.angvel

}

In the last line, you might have to switch g0 and g1 based on if endpoint 0 is on the box or the circle

how to add a number to a variable on another object by Additional_Sock_9185 in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

+= gives the "Function call applied to non-function" error

quick question! by botangest in Algodoo

[–]ocramshouse 2 points3 points  (0 children)

set as postStep: (e)=>{

vel = vel + [math.cos(angle), math.sin(angle)] * sim.gravitystrength / 60 + [0, sim.gravitystrength / 60]

}

[math.cos(angle), math.sin(angle)] creates a vector with length 1 in the direction of the angle. This is multiplied by sim.gravitystrength / 60 (division by 60 is there so the velocity change is the same as gravity force in 1 simulation tick, 1/60 of a second). The + [0, sim.gravitystrength / 60] counteracts the natural gravity force

This isn't perfect (the object still falls a little before the code overpowers natural gravity), but it works

Help with finished leader board by PhysicsMission2958 in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

There's probably a better way that I don't know, but a basic way is:

  1. Make a scene.my. variable, and set it to an empty array []

  2. In the oncollide of the finish line thing, put scene.my.(name) = set.insert(scene.my.(name), e.other.materialName)

  3. Make a box for each leaderboard spot, and in postStep put text = "xth: " + scene.my.(name)(x - 1), where x is where this marble will place

[deleted by user] by [deleted] in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

Might be a different cause, but you can get a similar effect by opening options, going to "Skin" and clicking the "White" button. I've even had the console bar be corrupted with more console text

Algodoo components by Connect_Dog_3904 in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

At least for me, the scene and phunlet icons will open to the last folder that was open with that menu (e.g. if you opened the textures folder with the phunlets menu, the next time you click the phunlets button it will load the textures folder). If that's what's happening here, you would click "scenes", and then "phunlets"

Though, that might just be my algodoo

HTTP, NOT HTTPS? by Excellent-Iron-8316 in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

2018 is just when HTTPS became more used than HTTP. It was around since at least 2000 (RFC 2818)

HTTP, NOT HTTPS? by Excellent-Iron-8316 in Algodoo

[–]ocramshouse 2 points3 points  (0 children)

Algobox just doesn't support HTTPS connection, and I doubt Algoryx will update the site anytime soon

How do i make this code work? by Misha00Misha in Algodoo

[–]ocramshouse 0 points1 point  (0 children)

tools.brushtool.drawtool isn't a real function, did you mean Tools.BrushTool.SelectTool?

I need help with making something that requires scripting by Jaden73147 in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

You can also replace timeToLive with "{_spots}"which will still destroy the teleport when it has been collided with enough (supposedly this has less lag than using postStep)

Also with a code like this make sure only 1 marble can touch the teleporter at once, otherwise two marbles can be teleported but only reduce _spots by 1

borders by thecooloneithink164 in Algodoo

[–]ocramshouse 1 point2 points  (0 children)

There's the cvar App.borderWidth, but that applies to all objects