Lags (mouse+Keyboard)

Demkamen

  • Posts: 124
So, I'm released the game on newground and kongregate (http://www.newgrounds.com/portal/view/675508), and got a lot of feedback in PM.

The first problem (happens always in any browsers): If you will shoot a lot (about 100 times or more), game (not level) will freeze in any times when you do next shoot.

The second problem(happens in explorer and firefox on windows only): If you down any key(for example "F" on ladder) and will move mouse, the aim will be move like laggy(drunk) cursor.

Maybe someone know what happens? Is it problem in flash player?

Demkamen

  • Posts: 124
I am increasingly getting bad reviews!!! This kills my game! Is nobody faced with this?

KramerGames

  • Posts: 405
First of all: What an awesome game, I love the graphics! You put a lot of detail into it and the shading makes it more 3d.

Have you considered posting the code that is involved when F is pressed in the "ask a question forum"? As for the bullets it sounds like the beginner mistake of not killing actors that leave the screen, but seeing the game you obviously know what you are doing.
Parasites United  (Idle Parasite Game)

Demkamen

  • Posts: 124
Hi, thanks for feedback)

Is in not problem "F" ability in my game. Is big problem, with any keys (with the exception of "ALT" button).
I made test with empty game:
http://gametrax.eu/game/fdfe27a006
It has the same problem as the game.  Besides. All my previous games have these problems (just there is not used mouse and it is not visible, but it can be seen)
So, stencyl hase a very old bug(Yes, I'm checked stencyl 2 too ). I'm waiting for fix. I need do the next game, but I have to do it without  mouse. BUT why...

KramerGames

  • Posts: 405
strange...I tested with my current game and stencyl version 8868.

when updating
   -if control "left" is down
      -set "cursor" to x of mouse etc...

works fine, even when testing in mozilla, as where opening your game in mozilla the cursor behaves badly when F is down. If you can't fix it can't you just have the player to take out the gun when F is pressed (and he is on a ladder etc.) and when F is pressed again, he puts it back? It sucks not to be able to have it exactly as you want it, but if I as a player would have to choose, Id rather have to press F again than having a cursor that is almost impossible to aim with.


btw with the test game in your previous post, which button is uspposed to be pressed down to make the cursor laggy?
Parasites United  (Idle Parasite Game)

Demkamen

  • Posts: 124
If you down any key on the keyboard (such as Shift) and will spin cursor a couple of seconds (about 10-15), you will see that the cursor (png cross) begins to lag behind. Better bug happens in explorer. I can make a video, if needs.
And it's problem not only when you aim on ladder. You can move right and lead mouse on enemy, and get lags

Demkamen

  • Posts: 124
and if we shoot a lot, we have freezes, but if it was my code mistake, only 1 scene was laggy. But as we see, all game becoming laggy