Dumb-Code / DumbCode-Studio

The complete suite of DumbCode made tools for modeling, animating and managing minecraft style game assets
https://studio.dumbcode.net/
1 stars 1 forks source link

Way to export the current model/texture/animation #210

Open Wyn-Price opened 2 years ago

Wyn-Price commented 2 years ago

Allow exporting of the current state to a URL. The files would be hosted on aws s3, and be given a hash.

Then, going to studio.dumbcode.net/view/<hash> would allow anyone to view the model/texture/animation.

When exporting to the URL, the user can select (via a dropdown box), the Model, the Textures, and the animations.

The easiest way to do this honestly, is to generate a new .dcproj from the selected items, save it to a buffer, and upload the buffer to aws.

The saved location would be /dcexports/<userid>/<hash>.dcproj in s3. For every user, there is a /dcexports/<userid>/posts.json that stores the title/description for every post (this would come eventually)