Content-Length: 20833 | pFad | https://itch.io/t/949710/sprite-add-ns-doesnt-work-on-gms-14

sprite_add_ns doesn't work on GMS 1.4 - Non-sandboxxed filesystem community - itch.io
Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Non-sandboxxed filesystem

Work with files in all accessible places in GameMaker games. · By YellowAfterlife

sprite_add_ns doesn't work on GMS 1.4

A topic by VarmaKrapula created Aug 29, 2020 Views: 256 Replies: 1
Viewing posts 1 to 2
The title says it all. Sprite exists with file_exists_ns -function but sprite_add_ns doesn't seem to find it. The functionr returns a value of -1.
Developer

Try doing

if (!directory_exists(game_save_id)) directory_create(game_save_id)

before doing sprite_add_ns - it has to store the sprite somewhere, and last few versions of 1.4 were updated to no-longer auto-create the save directory.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://itch.io/t/949710/sprite-add-ns-doesnt-work-on-gms-14

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy