Just saying Hello!

Just registered at the site as I have spent the last three days ravenously watching every JAVA game tutorial I could find, and now have a game screen with Samus flying around it shooting at a flying saucer that keeps track of hits ( using Rectangle intersect method ). Think I got the basics down, and now moving towards spritesheets and getting my images animated… been a bit difficult as the number of slick2d tutorials on spritesheets seem to be very few, but I am getting it regardless.

Anyway just wanted to say hello to everyone and hope I will not be too much of a nuisance. ;D

Welcome to JGO!


SpriteSheet spriteSheet = new SpriteSheet("res/YourSheet.png", rows, cols);
Image sprite = spriteSheet.getSubImage(x , y , width, height);

Hi! Nice you joined us :slight_smile:

As you see, you quickly get help here ;D

Well, depends on your problem and provided info :slight_smile:

Actually that was easier than I expected. :smiley:

Just loaded the sprite sheet with the SpriteSheet, and then loaded that object into the Animation class. I now have an animated guy running across my screen. Time to get some level design and physics now.