Skip to main content

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

Non-sandboxed 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: 258 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.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy