Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement screen layout configuration #20

Open
haroldo-ok opened this issue Dec 23, 2021 · 3 comments
Open

Implement screen layout configuration #20

haroldo-ok opened this issue Dec 23, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@haroldo-ok
Copy link
Owner

haroldo-ok commented Dec 23, 2021

Original post:

I like how blocklyvn8bit has a bigger picture background than say "DAAD"
https://github.com/daad-adventure-writer/daad but i notice DAAD has text under...is there a way to
maybe move the text down to bottom in blocklyvn8bit to make the picture look bigger/more visual.
Keep up nice work!

Originally posted by @zartan9 in #19 (comment)

@haroldo-ok haroldo-ok added the enhancement New feature or request label Dec 23, 2021
@haroldo-ok
Copy link
Owner Author

Starting to implement on branch https://github.com/haroldo-ok/BlocklyVN8bit/tree/screen-layout

@zartan9
Copy link

zartan9 commented Oct 23, 2022 via email

@haroldo-ok
Copy link
Owner Author

Added blocks to allow setting position and size of dialogs:

  • It is possible to configure text windows and menus separately;
  • It is possible to set the x and y coordinates of the dialogs;
  • It is possible to set the width and height of the dialogs;
  • It is possible to set those informations in characters or in percentage;
  • When a negative value is informed to the x coordinate, it is understood as "count the position from the right, instead of the left";
  • When a negative value is informed to the y coordinate, it is understood as "count the position from the bottom, instead of the top".

Available on v0.3.0: https://github.com/haroldo-ok/BlocklyVN8bit/releases/tag/v0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants