1,426 reputation
513
bio website http://-
location Switzerland
age 29
visits member for 2 years, 7 months
seen yesterday

i like turtles... and music, games, coding... and dungeons and dragons XD


Oct
7
comment How do you set the movement speed of a sprite?
This won't fix the issue. It is a good improvement to the code but the problem is still there. Slick2d uses a variable update rate, which means that the movement speed will differ depending on the FPS of the target system. Justin Skiles answer should help to fix the problem.
Oct
7
comment Rotate an image in a scaled context
I'm not entirely sure if I understand you right but if you want to scale the image, I would apply the same scale to the halved width / height. Something like this: g.rotate(loc.x + (width / 2) * sx, loc.y + (height / 2)*sy, angle);
Oct
5
comment Open source level editor for HTML5 platform game?
Just for information. You can set properties for every tile in Tiled. So if you want to add special information, like the platform distance, you can simply add a property stating the distance... As far as I know, you can define these properties on the map par tile position and also in the sprite sheet selector, where the property will be used for every drawn tile.
Oct
5
comment How do I make time?
Like said before, store a variable with time left. When the text should be shown then set it to 1000, if you want to display it for a second. Every update, you subtract the delta time from the time left variable. If it reaches 0 or below, you can hide the text...
Sep
27
comment How do I create a Loading Scene in SLick?
You just have to make sure, that you only start using the resources, when they are loaded and not before. This means you need to track the state of the resource loading and skip actions, where the resources are needed, until they are loaded...
Sep
27
comment How do I create a Loading Scene in SLick?
To complete the answer. What deffered loading does in slick is, that the resource objects are instanciated directly, but not loaded. Every update frame only one resource is loaded. Normally the resource would load directly... This is a problem, when you want to display an animation or a progress bar, as normally the process is blocked (and therefore no render or update takes place) during the loading. With deffered loading, it may be that you experience some hangers (when loading big files), but generally you can display a loading bar animation in this way.
Sep
27
comment How do I create a Loading Scene in SLick?
Nice links. Think I have to take a look at launch4j. But I think this does not answers the question. If I understood right, SystemNetworks wants to display a loading screen / animation in the context of slick2d / opengl.
Sep
26
reviewed Reviewed Drawing graphics in Java game
Sep
26
reviewed Reviewed sprite animation system height recalculating has some issues
Sep
26
awarded  Citizen Patrol
Sep
26
reviewed Reviewed Which all are the best Android 2D Java based gaming libraries / frameworks?
Sep
26
comment Which all are the best Android 2D Java based gaming libraries / frameworks?
This question has already been asked multiple times. See this post for some answers: gamedev.stackexchange.com/questions/89/…
Sep
26
awarded  Good Answer
Sep
25
awarded  Mortarboard
Sep
25
awarded  Custodian
Sep
25
reviewed Reviewed How to get more than one window in Java LWJGL
Sep
25
reviewed Reviewed As an indie game dev, what processes are the best for soliciting feedback on my design/spec/idea?
Sep
25
reviewed Reviewed sprite animation in openGL
Sep
25
awarded  Nice Answer
Sep
25
answered How can you put all images from a game to 1 file?