Beginner here, drowning in the vast API. Can someone please kick me into the right direction for starters?

To learn Godot, I plan to make a little 4x4 slide puzzle game with tiles made from an image: load a square PNG, then chop this up into 4x4=16 parts that can be positioned and moved in a 2D scene.

Ideally each part can be manipulated: increase brightness along the right and top edge, add shade left and bottom for a simple 3D tile effect. I assume this can be done with anything derived from CanvasItem, but how do I get the parts of one image in the first place?

You can also use a the Sprite node with the region_enabled property set to true (documentation). Then you can set the region for the sprite to use in the editor through the region_rect property, and I think the Godot editor also has an editor for setting the region.

Thank you for insightful suggestions. I will check them out but both certainly sound like what I was looking for. Brilliant.

If I'm not mistaken they both effectively recommend the same thing, @TwistedTwigleg was simply elaborating a bit further. That is to say the sprite node with the region_enabled property would be making use of the same underlying things mentioned by @cybereality. :)

3 years later