Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+7)

The Lockbox Contraption

A simple, unobtrusive contraption that both indicates whether a deck is locked and allows the user to lock or unlock their deck by clicking on it:


Many decks benefit presentationally from being locked, but leaving your decks unlocked helps other deckbuilders learn from your work and (when appropriate) modify it for their own needs. Including this little contraption offers a nice compromise: in a game, you might add this button to the credits screen as a reward for succeeding. Tools and tutorials might offer it on the front page!

%%WGT0{"w":[{"name":"lockbox1","type":"contraption","size":[20,20],"pos":[210,146],"def":"lockbox","widgets":{"c":{},"b":{},"ims":{}}}],"d":{"lockbox":{"name":"lockbox","size":[20,20],"margin":[1,1,2,2],"description":"Make your deck manually lockable and unlockable.","script":"on view do\n i:ims.images[deck.locked]\n c.clear[]\n c.paste[i .5*c.size-i.size]\nend","attributes":{"name":[],"label":[],"type":[]},"widgets":{"c":{"type":"canvas","size":[20,20],"pos":[0,0],"locked":1,"volatile":1,"border":0,"scale":1},"b":{"type":"button","size":[20,20],"pos":[0,0],"script":"on click do\n deck.locked:!deck.locked\n view[]\nend\n","show":"transparent","style":"invisible"},"ims":{"type":"field","size":[100,20],"pos":[154,-5],"locked":1,"show":"none","value":{"text":["","i","i"],"font":["","",""],"arg":["","%%IMG0ABAAEAAAP/xAAkPCR+JGYkZiQGJP8k/yT/JP8k/yQAI//AAA","%%IMG0ABAAEAAAP/xAAkACQ8JH4kZiRmJP8k/yT/JP8k/yQAI//AAA"]}}}}}}
(+2)

ooooooh, this looks simple and nice!

(+2)

This is fantastic; thank you!