Mouse Game
bearbearmo (184)

About


This is a top down shooter that only requires a mouse to play. A mouse is required, if you're not using a mouse it's likely you'll have difficulty moving and shooting at the same time. Enemies constantly spawn and attack you as you kill them. see how long you can last and comment your high score!

How To Play


To move just right click and move your cursor to where you want to go. To shoot just move your cursor and left click.

Thankyou


If you enjoyed the game please upvote. Thankyou!

You are viewing a single comment. View All
PowerCoder (455)

Cool! I love the concept and the simple graphics!
1. I would suggest having a "new game" button though, so I don't have to refresh my tab all of the time.
2. Also, change the content of your title tag on line 7, so that it doesn't just say "repl.it."
3. In addition to that, if possible, make it less impossible. This game is really hard.
4. Thirdly, if you can, add health bars.
5. Lastly, make it so that I can get a high score.

Here's a quick way to get a high score:

if (window.localStorage.get("visited")) {
    //The player has been here before
} else {
    //The player has not been here before
    window.localStorage.setItem("visited", "true");
    window.localStorage.setItem("highscore", "0");
}

function checkScore() {
    if (score>JSON.parse(window.localStorage.get("highscore"))) {
        window.localStorage.setItem("highscore", JSON.stringify(score));
    }
}

setInterval(checkScore, 30);
bearbearmo (184)

@PowerCoder thanks for the advise, i had considered adding a few of your suggestions before, but i decided to leave it as a very hard simple game. Although I will add a high score and a new game button. I have made a game thats a lot easier and has health bars - I'll put a link when I post it. link