Skip to main content

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

Empty bar on top when saving as protected/without menu bar.

A topic by Soralyee created 37 days ago Views: 188 Replies: 4
Viewing posts 1 to 3
(+2)

Loving the program so far!

There's one thing. When you make your project and save it without the menubar, the project will have empty space on top of the project because the top menu bar will be on top of the canvas and I cannot see where the canvas ends.

Like so:

Is there a way to fix this?

(+1)

Yeah, you've found that there's a bit more card up under the menu bar which becomes fully visible in a locked deck.

There's a couple ways to handle this. 


One is to adjust/re-import your artwork using the normal tools.

If you hit "m" on your keyboard while in drawing mode it will hide the menu and you can adjust/re-import your background artwork to go up all the way up to the top of the card. 

If you don't have the toolbars on yet, they help a lot while the menu is hidden. Decker > Toolbars

If adjusting your artwork really won't work, then another option is to resize the deck to be shorter.

You'll need to move your current art all the way up to the top so the empty white bar is at the bottom instead. 

Then you can snip the bottom off by resizing the deck. 

(Resizing doesn't work for snipping off the top part of card, because the size of everything always starts at the top left corner)

The current method to resize a deck is by opening the .deck file in a text editor:

{deck}
version:1
card:1
size:[512,342]
name:"mydeck.deck"

At the top of your file you'll see something like this.  size: [ ] defines the size of the cards in your deck. The second number is the height.

You can reduce the height by a few pixels by lowering that second number. It's not as many pixels as you think. 15 or 16 pixels, probably.

Then reopen your file and see how it looks.

Be warned: Any artwork on the background that is outside of the new size will be lost forever, so only do this if you're sure you've prepared your project to be resized. Maybe save a second copy of your file if you're unsure. All your widgets will still exist where you left them.

Hopefully this has been helpful. :D

(+1)

Thank you, this was really helpful!

Developer(+3)

Decker 1.72's new "esize" setting alters Decker's editor window size, which offers another way to avoid the problem of the main menu obscuring part of the card. If this works well in practice, I may change the default setting in a future release.

(+2)

Ugh! This is so exciting. It’s gonna save so much time switching between modes and re-hiding the menu bar.