Image:
 Author: BG03 Group: Default Filesize: 325.31 kB Date added: 2020-07-16 Rating: 5 Downloads: 665 Views: 208 Comments: 0 Ratings: 1 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
think about ("rainbow`s adventures")..
this is better than that ( (!)not thinking of start a war(!) )
you can create your own testventure/tendventure genre with the next scripts:
(move):
keys.isdown("Up") ? {
vel = [0, 1]
} : {
vel = [0, 0]
};
keys.isdown("Down") ? {
vel = [0, -1]
} : {};
keys.isdown("Right") ? {
vel = [1, 0]
} : {};
keys.isdown("Left") ? {
vel = [-1, 0]
} : {};
keys.isdown("Up") && keys.isdown("Right") ? {
vel = [1, 1]
} : {};
keys.isdown("Down") && keys.isdown("Right") ? {
vel = [1, -1]
} : {};
keys.isdown("Up") && keys.isdown("Left") ? {
vel = [-1, 1]
} : {};
keys.isdown("Down") && keys.isdown("Left") ? {
vel = [-1, -1]
} : {}
(spike/enemy):
e.other.materialName == "(player name)" ? {
e.other.pos = scene.my._check1;
e.other.vel = [0, 0];
scene.my._deaths = scene.my._deaths + 1
} : {}
(checkpoint):
scene.my._check1 = pos
} : {}
other script in game:
inspect in script box |