I needed some of the sprites from kenney.nl’s Deluxe Platformer Art Spritepack, so I downloaded them, put some of the sprites on my dropbox, and so I didn’t have to code in the links of every single one, I have a “info.dl_meta” file there with kinda code in it. I just used simple syntax downloadname(url)-description~ and then in Codea used string matching to get all the URLs of the sprites off my dropbox. (the file is at this text.)
Is this okay, or do I have to hard-code in every URL of all those sprites?
@SkyTheCoder in my opinion this should be allowed, since we’re ‘only’ talking about sprites, the only code not allowed to be from the outside is the code that really affects the game I think
It’s only some text, not a real programming language. Just text with special characters that can be looked through by string matching.
And it’s only used to get the links to sprites. With this, I can put a sprite on my Dropbox if I need it, add it to the info.dl_meta and it downloads to my Documents folder in Codea the next time I run my project and adds it to the loading screen queue.
@SkyTheCoder - I think it’s fine. I think @Mark was worried about things like PHP or Obj-C stuff (putting me whimpering in the corner crying “Gimme my Obj-C! It’s Christmas!”
@SkyTheCoder yup I’m in, just had a hard time making a decission on the game, and also don’t have that much time, my parents always start nagging if I’m to much on ipad, but I’ll try to make something decent, during the nights or so xD
@MrScience101, are you asking us to stop doing it, or how it’s done? To do it you have to upload to something like imgur, and embed it using html. Why imgur? Because this gives you a we page with only the image on it, unlike other sites like Dropbox.
Ex:
Is produced by doing <img src='http://i.imgur.com/witgscS.jpg' width='100'/>
If you upload to PhotoBucket, the url gives you just the image rather than a webpage like most other cloud sites. I have code that will download whatever images are required before starting a game, if anyone is interested.