I made another game

https://www.newgrounds.com/portal/view/808545 I made this game.
Please suggest things I could do better in other projects I create so I can be better
and enjoy the game!

1 Like

[1]. Add the following code at the end of your main code… at the default tab:

window.addEventListener("keydown", function(e) {
    // space and arrow keys
    if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
        e.preventDefault();
    }
}, false);

That code will prevent the Newgrounds users to use arrow keys to scroll the screen, and it will only works for your game.

[2]. Then, add more velocity to the main character.
[3]. Add limits to the scree for the character when the user try to go to places where the game doesn’t have content.

Thank you for the tips, especially the Screen scrolling one, I have updated the game on newgrounds to include that feature and the increased speed of multiple things like player velocity and enemy speed.