Algodoo
Download
What is it?
Learn it
Algobox
Forum
Browse
Search
Popular
Register
Upload
Rules
User list
Login:
Search:
WillTheGameDesigner
2016/07/03 05:44:24
It's pretty great, but one of the circles is broken
WillTheGameDesigner
2016/07/05 02:51:05
You can use this script for both directions and resetting: (e)=>{
e.this.vel = [0, 0];
keys.isdown("left") ? {
e.this.vel = [-4, 0]
} : {};
keys.isdown("right") ? {
e.this.vel = [4, 0]
} : {};
keys.isdown("r") ? {
e.this.pos = [-974.5, 9.5]
} : {
collideSet = 1
}
}