Creating a Ping Sprite - NeisesMike/VehicleFramework GitHub Wiki
- Take an image of your subject in profile. The image should be in profile to match all other ping sprites in the game.
- Open the image in GIMP.
3a. Delete the background.
3b. Make sure to catch any stray bytes. Use the "Select by Color Tool" to match against all empty/transparent pixels; this will make the lightly-colored pixels stand out.
- Color the image. Select the image by using the "Select by Color Tool" to match exactly all the transparent pixels, and then do Select > Invert. Then paint the image white.
https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/whitened.png
- Go to Filters > Edge Detect > Difference of Gaussians. Ensure your primary color is white and your secondary color is black.
- Be sure to use the "Merge" option. Check for any weirdly-detected edges.
https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/filter_1.png
- Fine tune the filter. You may need to edit your image to smooth out the edges in order to achieve a more natural result.
https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/filter_2.png
- Use the "Color to Alpha" tool to transform black into transparency.
- Check the final image.
https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/final.png
- Ensure the Image is 128x128. Your vehicle sprite should take up only a small part of that.