Slick Forums

Discuss the Slick 2D Library
It is currently Fri Jan 17, 2020 10:05 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Keyboard input freezing
PostPosted: Thu Nov 21, 2013 7:33 am 

Joined: Sun May 29, 2011 11:41 am
Posts: 20
I recently updated my applet game with the latest Slick/LWJGL libraries.
It works great on Windows but on OSX when i press any key they seem to lag or freeze.
So when pressing the right key the worm (player) continues turning right even after i release the key and soon it gets impossible to press any key at all. It's like they get stuck in pressed mode.
If you have OSX you can test it yourself at Just press the big red button or the "Play" tag at the top.
I first though that i might have missed a important library so i included every library i could find in LWJGL and in Slick so that's why so many libraries are downloaded when you start the game. I am running out of ideas on how to fix this.

Here is my applet info:

<applet code="org.lwjgl.util.applet.AppletLoader" archive="lwjgl_util_applet.jar" codebase="." width="800" height="600">
                <param name="al_title" value="achtungonline">
                <param name="al_main" value="org.newdawn.slick.AppletGameContainer">
                <param name="al_debug" value="false">
                <param name="game" value="client.core.Engine">
                <param name="al_logo" value="appletlogo.gif">
                <param name="al_progressbar" value="appletprogress.gif">
                <param name="al_jars" value="game.jar, lwjgl.jar, slick.jar, jogg-0.0.7.jar, jorbis-0.0.15.jar, kryonet-1.04-all.jar, jinput.jar, asm-debug-all.jar, ibxm.jar, jnlp.jar, lwjgl_util.jar, AppleJavaExtensions.jar, tinylinepp.jar, lzma.jar">
                <param name="al_windows" value="windows_natives.jar">
                <param name="al_linux" value="linux_natives.jar">
                <param name="al_mac" value="macosx_natives.jar">
                <param name="al_solaris" value="solaris_natives.jar">
                <param name="al_version" value="0.7">
                <!-- <param name="al_cache" value="true"> -->
                <param name="al_prepend_host" value="true">
                <!-- <param name="java_arguments" value="-Djava.library.path=/nativestest"> -->

                <param name="separate_jvm" value="true">
                <!-- <param name="codebase_lookup" value="false"> -->

Thanks in advance. /Mathias L

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group