Stencyl – Moving the mouse cursor is slowing down my game

In Stencyl Moving the mouse cursor is slowing down my game. Why is that? Here is what I found and how I fixed it from slowing down my game.

I noticed all animation slows down when moving your mouse cursor over the flash player game. There was only a few lines of code in the game and just a few events. So I tried to look over the code, but couldn’t find anything that would slow down the game from just moving the mouse cursor around.

After some google searches, I found another guy who had the same problem using Action Script 3 on a Mac. I was also developing on a Mac. Then I tried to run my game in a web browser instead and the game ran perfectly.

So if you have the same problem, try running your game in your browser instead.

Happy game developing!

About Author

Related Posts

stencyl scrolltext

Stencyl Scrolltext – How to move / scroll text

Stencyl Scrolltext I could not find any tutorials on how to do scroll text with Stencyl. If you have lived as long as me, you might remember…

Stencyl – Create a simple starfield

Stencyl simple star field A short and direct video on how to create a simple star field in Stencyl. Enjoy! If you need to download Stencyl, please…

stencyl game folder

Stencyl game folder mac

The default location for your stencyl game folder is /users/username/stencylworks/games So if your username is john it would be something like /users/john/stencylworks/games This can easily be changed…

Stencyl Parallax Scrolling

Stencyl Parallax Scrolling

Stencyl Parallax Scrolling Here is a short description on how to do Stencyl parallax scrolling. From Wikipedia: Parallax scrolling is a technique in computer graphics and…

Leave a Reply