Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Exporting Decks?

A topic by chaak created Nov 16, 2022 Views: 423 Replies: 7
Viewing posts 1 to 3
(+1)

how do i export a deck as something playable? I want to share this neat lil deck I made and I'm not sure if I can share it as an exe or an bundled app? Is the only way to share decks ask the receiver to have Decker too?  I'm sorry if they has this info in the documentation, I couldn't find such details in it. Thanks a lot in advance for your response!

Developer

When you save a deck with a ".deck" extension, Decker will write out a file that can be opened in Decker.

When you save a deck with a ".html" extension, Decker will package the deck as a single HTML file containing a JavaScript payload with everything needed to run (and edit) the deck in a web browser. You can share this HTML file with friends directly, put it on your own website, host it on an itch page, etc.

You can also save a "protected" version of a deck via "File -> Properties... -> Protect...", which really just saves a copy of the deck with the "locked" property set to 1, causing it to hide the menu bar and editing tools; this might be handy for publishing something like a game.

And just to be clear, all of these features work the same whether you're saving a document created from the native version of Decker _or_ the web-based version of Decker.

(+2)

Oh my god! That's so neat! Thanks for taking the time to explain, I tried the protect feature and thought it was some kind of encryption 😅, this clears up a lot, I will definitely participate in Deck-tember and I really want to thank you making decker, it's been really fun playing around with it 🙏 thank you so much, it's been a kind of a mental support thing for me these days as it's raining most of the time here. Really hyped to see what cooler stuff people will make with decker! 🙏🤟

For me, when I try to open a .deck file, it brings up the “Font/Deck Accessory Mover” modal. Is there a way to get it to open the deck for playing/editing?

Developer

If you drag and drop a deck onto decker, it opens the Font/DA mover, and allows you to import resources from that deck.

If you choose File->Open, you can open a deck for playing/editing.

Fun fact: you can use either method with a ".html" or ".deck" file.

Thanks for the answer! Cool that it works for .html files too.

I was hoping for a shortcut for playing/editing - but it’s just laziness on my part, navigating via file > open is a bit slow.

Developer (1 edit) (+1)

Some users have suggested that Decker should remember the most-recently-used path across runs, which might reduce your annoyance with the Open/Save dialogs. The browser version already effectively does that by leveraging the OS open dialog.

I guess I could also prompt for open vs. resource import on file drop, but it makes some things hairier.

If it helps, you can use arrow keys and space/enter to navigate the file listing in the Open dialog.

(1 edit)

I guess this is platform dependant, but would an "open file with Decker" in the packed version (or .html/.deck file as an argument to the binary) be the same as dropping a deck onto the editor? One way of quickly "opening" a deck could otherwise be to simply "open" the file by doubble clicking it in Finder (or other file browser).

(I do find the "drop deck on window to add resource" very intuitive and personaly don't see the need for "opening by dropping" if I could do the above.)