Browse Search Popular Register Upload Rules User list Login:
Search:
AMR S1 P10

Image:
screenshot of the scene

Author: jellybean78

Group: Default

Filesize: 96.61 kB

Date added: 2018-02-20

Rating: 5

Downloads: 169

Views: 115

Comments: 2

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Welcome back.
30th Silver
31st Lavender
32nd Teal
33rd Ivory
Last edited at 2018/02/20 16:04:27 by jellybean78
Please log in to rate this scene
edit
How to fix elimination bugs:
First elimination:

Safe block PostStep
e.this.colorHSVA = e.this.colorHSVA + [1, 0, 0, 0];
scene.my._spot != 1 ? {
e.this.text = scene.my._spot + " safe spots left!"
} : {
e.this.text = scene.my._spot + " safe spot left!"
}

Second Elimination:

Green block PostStep:
sim.time < 1 ? {
scene.my._spot1 = 25
} : {};
e.this.timeToLive = scene.my._spot1

OnCollide:
scene.my._spot1 = scene.my._spot1 - 1;
e.other.pos = scene.my._telb1;
e.other.vel = [0, 0];
scene.my._text = e.other._marbleName + " is safe!"

Red block onCollide:
scene.my._text = e.other._marbleName + " is out!";
scene.my._legStart1 = 0;
e.other.pos = scene.my._telc1

PostStep:
sim.time < 1 ? {
scene.my._legStart = 1
} : {}
How to fix elimination bugs (continued):
Safe Block PostStep:

e.this.colorHSVA = e.this.colorHSVA + [1, 0, 0, 0];
scene.my._spot1 != 1 ? {
e.this.text = scene.my._spot1 + " safe spots left!"
} : {
e.this.text = scene.my._spot1 + " safe spot left!"
}

Release block PostStep:

scene.my._legStart1 == 0 ? {
e.this.timeToLive = 0
} : {}

Teleports:
Red box:
put a 1 ofter the c in PostStep.
Clone it.
Put it in the safe box.
Change the c to a b.