Is there an easier way to deploy assets?

General

NeoTechni

3 months ago

On Android, I just leave any files in a directory and they get copied over when I run the app. 

From what I've gathered, I either have to copy the files manually to the microSD card, or encode images as code. Which really doesn't appeal to the lazy slob in me.

alxm

NEW 3 months ago

My approach was to write a Makefile with a rule that runs a code generation script on all image files in my game's graphics folder. You could also look into writing a small script to copy files to your game's known location on the SD card, to save time copying things manually.

NeoTechni

NEW 3 months ago

Is there a specific command line for this? The gamebuino sadly doesn't show as a USB hard drive (which would make this much easier)

alxm

NEW 3 months ago

If you want to use BMP files instead of embedding the images in your code, you have to use a card reader to transfer them. The script idea was to just copy the files to where the SD reader shows up on your computer, so you don't have to gather and update them by hand every time.

NeoTechni

NEW 3 months ago

Aww, dang. Thank you.

You must be logged in in order to post a message on the forum

Log in