Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi. Cool mod! One question: How do you code to add a custom sprite?

I write this, but none of them works:


#define init 

global.cwepsprite = sprite_add_weapon("drifter/Bomb/Bomb.png", 0, 6);

global.sprite = sprite_add_weapon("drifter/Bomb/Bomb.png", 0, 6);


Could you put the right code please?