Feel free to clone and contribute. Assets are free to use in the CodinGame SDK (or for any project). Most of the resources are licensed and distributed under the terms of CC0 (or accompagned with a dedicated licence file if different)
The pack folder contains ready to use assets for different type of games / universes.
Browse the content of the packs folder for a full list of packs
Some examples:
The assets folder contains a set of mixed backgrounds, icons and sprites
The assets on this github is a small subset of the free resources that you can find on internet. Some links to help you find assets for your games:
- Top quality assets packs on Kenney.nl
- RPG Makers style by Sithjester - http://untamed.wild-refuge.net/rmxpresources.php?characters
- Character generator by Gaurav Munjal - http://gaurav.munjal.us/Universal-LPC-Spritesheet-Character-Generator
- Hundreds of CC0 sprites on Superpowers
- Free 2D assets (use the price filtering) on the Unity Asset Store
- Free 2D assets on itch.io - https://itch.io/game-assets/free
- Free 2D assets on Game 2D Art - https://www.gameart2d.com/freebies.html
- Isometric assets on reinerstilesets.de - http://www.reinerstilesets.de/graphics/2d-grafiken/2d-animals/
- Free 2D assets on Craftpix.net - https://craftpix.net/freebies/
- Free 2D assets on MobileGraphics.com - https://mobilegamegraphics.com/product-category/all_products/freestuff
You can integrate assets in your games by adding them in the /src/main/resources/view/assets
folder of your project.
Then, you can reference Sprites in your game with the GraphicalEntityModule.
With sprites:
@Inject GraphicEntityModule graphics;
...
Sprite sprite = graphics.createSprite().setImage("background.jpg");
Or with SpriteSheets (Images including multiple sprites)
@Inject GraphicEntityModule graphics;
...
String[] images = graphics.createSpriteSheetSplitter()
.setSourceImage("character.png")
.setName("run")
.setWidth(32)
.setHeight(32)
.setImageCount(4)
.setImagesPerRow(4)
.setOrigRow(1)
.setOrigCol(0)
.split();
SpriteAnimation runAnimation = graphics.createSpriteAnimation().setImages(images);