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

Multiple anchors for room resizing #3225

Open
ElectroDev1 opened this issue Jun 14, 2023 · 6 comments
Open

Multiple anchors for room resizing #3225

ElectroDev1 opened this issue Jun 14, 2023 · 6 comments
Labels
feature request New feature (or a request for one)

Comments

@ElectroDev1
Copy link

Is your feature request related to a problem?

Currently, rooms can only be resized from a top-left anchor, meaning that increasing its size will only add space on the right and bottom sides. This becomes frustrating when making, for example, very vertical levels, as all you can do to add space upwards is increase the room height and move every single asset in the room downwards. Currently the room editor only helps for specific types of games in this regard, which is really not a great thing.

Describe the solution you'd like

The current way to resize rooms (the two input fields in the inspector), would have an additional anchor menu that would look similar to ones found in many painting programs.

Here is a mockup example, with the existing fields more separated to the Persistent and Clear Display Buffer buttons

image

"Anchor" could also be renamed to "Origin point" or "Reference point".

This anchor point would of course only affect room editing, no in-game room resizing.

Describe alternatives you've considered

An alternative solution could be to allow for the room to be resized in a more visual way by dragging points at the edges and vertices of the room to change the room's size (again, similarly to many painting programs). Holding shift would of course allow you to maintain the same proportions of the room while resizing.

Additional context

No response

@ElectroDev1 ElectroDev1 added the feature request New feature (or a request for one) label Jun 14, 2023
@mmMarzban
Copy link

Highly needed addition!

@CarsonKompon
Copy link

Why do we still have a room size? It should just be an infinite canvas starting from the point 0,0
It would make it much more in-line with other engines and cause less confusion in terms of screen size/window size/room size

@VladPavAlex
Copy link

VladPavAlex commented Oct 17, 2023

I really need it

@S1ndn
Copy link

S1ndn commented Oct 29, 2023

Absolutely crazy that we don't have this yet

@TheProgrammer163
Copy link

I've wanted this since forever. Being able to resize a room from various anchor point, just like when editing a sprite, would be game-changing (pun unintended)

@iampremo iampremo transferred this issue from another repository Jan 9, 2024
@YellowAfterlife
Copy link

To those whom it may concern, I made a third-party tool to help with this:

https://github.com/YAL-GameMaker/room-shift

It's not perfect, but it should handle the general "add pixels to left/top" cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature (or a request for one)
Projects
Status: No status
Development

No branches or pull requests

7 participants