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

FEATURE REQUEST: Dynamic Allocation of Portals #413

Open
1 task done
jansuz opened this issue Feb 8, 2025 · 0 comments
Open
1 task done

FEATURE REQUEST: Dynamic Allocation of Portals #413

jansuz opened this issue Feb 8, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jansuz
Copy link

jansuz commented Feb 8, 2025

Check the Help Site and GitHub Issues/Discussions

  • I have checked and found nothing.

What is the enhancement/feature you would like to see?

Hello, thank you for writing and maintaining Portals.

Scenario:
Laptops moving between locations and monitors. (Example)

Idea:
Would it be possible to reference the boundaries on the right hand side and bottom of a presentable area (Max X-Res, Max Y-Res) for portal placement? In the same manner that arrays can be referenced from the end-of-array by specifying negative numbers to indicate the end-of-array or in this case from-the-top-of-max-resolution.

Eg,
Array items 1,2 of 1,2,3,4,5 = 1 and 2.
Array items -1,-2 of 1,2,3,4,5 = 5 and 4.

Config:

with a 1000*1000 screen area.
with a portal dimension of 200*200
When using positive X,Y co-ordinates, they refer to the TOP of portal and LEFT hand side of portal
When using negative X,Y co-ordinates, they refer to the BOTTOM of portal and RIGHT hand side of portal

Example:
A portal located 10,10 from the Top Left of screen would have respective settings of 10,10,200,200.
A portal located 10,10 from the Bottom Right of screen would have repsctive settings of -10,-10,200,200

Food for thought, I hope it's realisable.

J.

@jansuz jansuz added the enhancement New feature or request label Feb 8, 2025
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

1 participant