That is kinda more like a car, the cycle is as fast as the hits seem to be as it were a real wheel, if you could try to make the cycle more realistic it would be for me the prove that its the fastest.
But for now, the fastest "walker" with realistic cycle is this one
If this is about pixels put (or atleast try):
(e)=>{
scene.addBox({
size := [0.2, 0.2];
color := e.other.color / [1, 1, 1, 1.5];
pos := (v, n)=>{
(v * n - v * n % 1) / n
}(e.this.pos, 5);
collideset := 0;
collidewater := false;
density := ∞;
timetolive := 0.1;
layer := 1
})
} on onCollide event
Add heretocollide:=true on onDie event & change to black to Background color.
What I try to say is that if you unglue the rail the box with the hinge will not follow it, your code only works if the rail is glued to the background.
All - It's actually easier than you think, I don't really know why you guys didn't agree with Xrays answer.
Linkage - You don't even need to spawn another block, the texture is changeable
FRA32 - It doesn't have sense if you use 2 textures for a single geometry because while it's impossile, you can simply make one texture one over the other.
alasmyfoe - Just put on postStep:
texture = scene.my.array(_number_of_hits);
_number_of_hits > _max_number_of_hits? {scene.removeEntity(e.this)} : {}
Before this you should have set the scene.my.array variable.
Yeah it's free energy (The Linkage), the rotational force comes from gravity and gravity is infinite
Isodecryptor if you could make a much faster and stronger prototype it woud be wonderful!
Btw, talking about free energy I tried once to build a car wich could be driven by rotational force that in some way could come from suspention friction + wheel friction, this couldn't work realistically in ALgodoo because I would have to script the friction thing to convert it to "electricity" and however use that (not physical) electricity to make an "electric" engine.
What I mean is that I tried to get free energy from the suspension.
FRA32 - Yourwelcome
Yeah I notice there are some bugs (this is the first I've ever made).
And yep great job with the script of those dominoes I think I will use them for any other thing
Hey there guys Im happy to be back here in algobox, I stopped uploading scenes since my last computer broke, like u said xray a year ago, now i bought another new one and Im able to continue uplosding more scenes, but this time I will mot upload many scenes like a year ago because of exams, ilI dont have much time sorry. So yeah its nice to chat with u again
The legs mechanism is from mori-d's scenes ofc and the engine is not very good looking and eficient because its been a year since I dont scripted anything and I think I didnt put work enough to make a good engine, any suggestions to make thr engine better?
Im also thinking on putting a gearbox and some weapons on it.
Oh my god how did I not see this before, this is the best scene ever made and I'm not exaggerating at all. I wanted to make something like this before but never achieved the goal.
This is amazing, my favourite things are the fact that the tank maintains position and corrects the angle also the shooting effect is brilliant, very cool looking, reminded me of playing halo.