i have finally finished nearly finished my shooting game but need a way to give the player a rank. The current code doesn’t work but i’m sure its something like this.
onLoad = function () {
if (time<60) {
rank = "OMG!!";
break;
}
if (time<65) {
rank = "woooo";
break;
}
if (time<70) {
rank = "It's a good-a";
break;
}
if (time>75) {
rank = "don't quit your day job";
break;
}
if (time<80) {
rank = "practice was made for people like you";
break;
}
if (time<95) {
rank = "press ALT+F4. NOW";
break;
}
};[as/]
It is supposed to work like if you get a time less than 60 then it says the first one.