0
votes
1answer
250 views

Java Slick2D - Problem using ScalableGame class

I am having a problem adjusting the size of the screen while using the ScalableGame class from the Slick2D library. I would like the background and objects (images and graphic shapes) to adjust to ...
1
vote
1answer
196 views

Slick2D : translate -> scale -> translate doesn't return to the old position

I am trying to implement zoom using Slick2D library. As I understand, to zoom something on non (0,0) coordinates, we need: translate so the target point is in (0,0) apply scale factor translate the ...
0
votes
3answers
970 views

How do you make bullets move at an angle in different angles using delta

I'm having trouble making my bullets move at a steady pace using delta. I have the formula I used outside of slick2d, but it doesn't take delta into account. My bullets fly fast. How do I make them go ...