#How do I store filenames correctly

1 messages · Page 1 of 1 (latest)

fathom trail
#

I have ~30 files used as sprites(.png images). How do I store the files' URLs? In a JSON file? In an array? In a complex enum?

plush valeBOT
#

<@&987246841693360200> please have a look, thanks.

plush valeBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

fathom trail
#

this is really game / code design

fathom trail
#

(i havent the directories yet)

ebon breach
#

you can just have constants - the enum doesn't matter all that much tbh

#

enum lets you switch over all the files

#

which...idk the benefit of

graceful copper