Painting tiling textures with wrap-around mode in Paint by Zaweba
Wrap-around mode in Paint by Zaweba tiles the artboard three by three so strokes, clone, bucket and filters wrap at the edges for tiling textures.

Textures for games, website backgrounds, fabric and wallpaper all have to repeat without a visible join. Painting one in an ordinary canvas is fiddly, because you can't see what happens where the right edge meets the left. Wrap-around mode solves that by showing the picture tiled and letting your brush cross the edges freely.
In Paint by Zaweba you turn it on with View > Wrap-Around Mode. It has no default key, so if you make a lot of textures, assign one yourself in the shortcuts.
What it does
The artboard is shown tiled 3 x 3, with your picture in the middle and copies around it. When you paint past one edge, the paint continues on the opposite edge. Because you can see the neighbouring tiles, any join that doesn't match is obvious straight away, and you can paint over it as if it were any other part of the picture.
The wrapping goes well beyond basic strokes. Smudge, clone, the bucket fill, filters and live filter layers all wrap across the edges too. That last part is easy to overlook and makes a real difference: a blur or noise filter in an ordinary canvas treats the edge as a hard border, which leaves a faint line when the image tiles. With wrap-around on, the filter treats the picture as endless, so the result tiles cleanly.
It works on single-artboard documents. If your file has several artboards, move the texture into its own document first.
Making a texture from a photo
Crop a photo of stone, grass, bark or fabric to a square, ideally with even lighting. Turn on wrap-around mode and you will immediately see the joins where the edges don't match, and probably some uneven light that makes a grid show across the tiles.
Fix the lighting first. A large, soft adjustment or a high pass approach to evening out brightness reduces the checkerboard look more than anything else. Then use the clone and healing tools across the joins. Because cloning wraps, you can sample from the middle of the picture and paint right over an edge in one stroke.
Finally, look for repeated features. A single distinctive stone or flower shows up as an obvious pattern when tiled. Clone over it with plainer texture so the eye can't find the repeat.
Painting a texture from scratch
Start with a base colour fill, then paint shapes and strokes freely across the edges. Use textured brushes and smudge for variation. A noise filter or a live filter layer adds grain that tiles perfectly. Keep the contrast of large shapes fairly even, since one dark patch will repeat as a regular dark grid.
Checking your work
Zoom out so you can see all nine tiles at once. Joins are easier to spot at a distance than up close, and so are repeating features. If something stands out, it needs breaking up.
Turn wrap-around off when you are finished and export the single tile. The result is ordinary pixels with nothing special about them, so it will tile in any game engine, website or 3D app that repeats textures.
Fitting it into other work
Wrap-around mode pairs well with Define Pattern under the Fill command, which shows a 3 x 3 preview with a half-tile offset so you can check seams on a pattern you have made. A texture painted in wrap-around mode can become a pattern for fills, Layer Art and the bucket in Paint by Zaweba, ready to use in your own designs.
It is a simple switch, but it turns texture work from guesswork into painting, which is exactly how it should feel.