Tag Info

New answers tagged


Looking at the slick-util documentation, it doesn't look like there's a way to just change the x, y, and z positions while a sound is playing. The following is a work-around I could think of off the top of my head, but I don't know how efficient this would be So, every time the camera position changes (or maybe only when the camera position has changed ...


I would simply try: g.drawAnimation(player, 720, 450); I use a lot of animation and this has always worked for me. As a suggestion on the side I would consider using SpriteSheets instead of Image[]s, as they are easier to work with. Hope this helps :) //EDIT I would also check to see if init() is being called because the null pointer exception you are ...

Top 50 recent answers are included