coll dude!
I know there has been lot of heat going under game
so let me tell you all something about controls
yes i know screen does scroll when you press up or down arrow or space bar and i am trying to fix it but it does not mean that game is unusable
to begin with upward or downward arrows are not even part of game controls so you dont need to press it while playing the game.
and sometimes pressing space does scroll down screen and i am working on it but till then click on your player with your mouse and your screen wont scroll down on pressing space bar
so CONTROLS
1. SPACE BAR TO JUMP
2. LEFT ARROW TO MOVE IN LEFT DIRECTION
3. RIGHT ARROW TO MOVE IN RIGHT DIRECTION
4. DONT PRESS UPWARD OR DOWNWARD ARROW WHILE PLAYING GAME AS IT WILL SCROLL DOWN SCREEN AND TO BEGIN WITH UPWARD AND DOWNWARD ARROW HAS NOTHING TO DO WITH GAME CONTROLS
5. IF YOU FIND SPACE OR RIGHT OR LEFT KEY NOT WORKING THEN MOVE YOUR CURSOR TO PLAYER AND CLICK ON PLAYER TO ACTIVATE KEYBOARD CONTROLS(LEFT RIGHT AND SPACE BAR)
coll dude!
THANKS
BROTHER
nice
THANKS BROTHER
Sorry, but Newgrounds requires window.event handling javascript so that the page does not scroll when you press keys like the down or up keys or the spacebar. Therefore your game is unusable. Also please change the music. You may want to use Aseprite to make your graphics.
I'm sure you put a lot of effort into this, but you can do better. keep making games!
Add the following code inside your index.html in a script tag
var keys = {};
window.addEventListener("keydown",
function(e){
keys[e.keyCode] = true;
switch(e.keyCode){
case 37: case 39: case 38: case 40: // Arrow keys
case 32: e.preventDefault(); break; // Space
default: break; // do not block other keys
}
},
false);
window.addEventListener('keyup',
function(e){
keys[e.keyCode] = false;
},
false);
Holy shxt! Don't you think I've tried this before I typed a single letter in my comment?
I only bothered to point out this problem and give you the solution because I went through the very same thing when I published my own game here. Next time I won't even bother.
Brother
Game is working fine
I was able to pass through all level
Please exactly elaborate problem
Would work on it
Read note in the description
Maybe you have clicked outside game screen hence keyboard control got deactivated
Will you give a try to following method
Movement controls gets disabled click with module on player and control gets reactivated
Page only gets scrolled when while playing game we clicked outside game screen
So click inside gaming screen on player and then page won't scroll down
It worked for me
And I think it's on all games available here
Movement you click outside game screen controls gets deactivated and then pressing keys scroll page only
So try to click on game screen and please tell me results
brother you misunderstood me
i was actually asking for problem as i actually didnt understand you at first
i am sorry if i sounded rude
check inbox
OK. First I HAVE to know about the number 58. It's on both of your games, but specially on this one. Is it some kind of bug? Is it intentional? Or maybe something from the engine you're using? I have no idea, but it's weird. The gameplay, once again is nicely made, at least speaking about the character control. However i have some points to make. The bouncing box's hitbox is weird(Like bigger than the box itself), and I bounce even if I touch it from the sides. Also on level 2 I can get inside a wall on the left. Level 4 got extremely laggy, I assume it has something to do with the enourmous amount of particles on the background. Also there's no bouncing when I land on an enemy. I don't really like the music. Maybe you should add checkpoints between the levels, for quality of life purposes. I think That's it. Sorry if I've been too harsh or something.
dude i agree with each point of yours
but you literally broke my heart when you say its no. 58
well thats not number 58
its actually SB WHICH IS SMALL NAME FROM MY ACTUAL NAME
LOL DUDE THAT WAS ACTUALLY MY FAVOURITE THING
BUT ANYWAYS ITS FUNNY
I WILL TRY TO EDIT IT
yeah actually about the enemy thing
well actually i didnt made any animation for that
it was my 1st game and hence i didnt knew much
the thing is that you need to jump on enemyto kill it
yeah but in updated version i am gonna make some bouncy animations
and checkpoint
well at first i added checkpoint but then players were able to complete game in 1 minute but i wanted to invest time and hence there are no checkpoint
as about lagging i know man thats actually an issue
i am working on resizing some assets and removing some light particles
though you can also downlaod game from itch
if you have 64bit