Forum Archive

SpriteNode built-in images

gblauer

Can’t find where they’re listed. (Sorry. Brand new here.)

cvp

@gblauer see here but instead of emoji, see Puzzle Game Art

mikael

@gblauer, do you need them listed, or have you not found the picker behind the ”plus in a circle” icon?

cvp

@gblauer this code can print the list of all built in images but you have to know there are 8476 files 😅

import os
import sys
appdir = os.path.dirname(sys.executable)
x = appdir + '/Media/Images'
y = os.path.realpath(os.path.expandvars(os.path.expanduser(x)))
dirs = os.listdir(y)
for dir in dirs:
    files = os.listdir(y+'/'+dir)
    for file in files:
        print(dir,file)
gblauer

@mikael haven’t found the “picker”. Where is the “plus in a circle” you reference. Thanks for responding.

cvp

@gblauer as shown here, just above the keyboard

gblauer

@cvp Thank you!