Skip to content

More room editor tweaks (more CE backports)#2064

Merged
colinator27 merged 4 commits intoUnderminersTeam:masterfrom
CST1229:room-editor-tweaks
Mar 21, 2025
Merged

More room editor tweaks (more CE backports)#2064
colinator27 merged 4 commits intoUnderminersTeam:masterfrom
CST1229:room-editor-tweaks

Conversation

@CST1229
Copy link
Copy Markdown
Contributor

@CST1229 CST1229 commented Mar 20, 2025

Description

This mostly backports UTMTCE's other changes to the room editor (first 2 commits), some of being improvements to AwfulNasty's original changes.

  • Ctrl+V paste now snaps to the grid, mainly for GMS1 tile editing (if you don't want to use Alt+Click). Ctrl+Shift+V was added for if you don't want the snapping.
  • Mostly fix middle-click scrolling going way slower (or way faster depending on the zoom) if it needs to expand the scroll viewer. It still has a very minor desync for some reason, but it's better than before.

Other changes:

  • Fix automatic instance layer creation not working when a non-instance layer is selected. The instance layer creation feature itself was actually originally created for UTMTCE, and I guess AwfulNasty added it to his PR. (I was gonna backport it anyways though, so it doesn't matter). Anyways, this fix itself though, was not in UTMTCE.
  • Point the user to the Auto button when trying to edit a 0-sized tilemap. The dialog for when the vertical size is 0 also no longer mistakenly says "horizontal size" instead of "vertical size".

Caveats

The middle-click scrolling fix:

It still has a very minor desync for some reason, but it's better than before.

Notes

CST1229 added 4 commits March 20, 2025 06:19
This is mostly useful for GMS1 tiles. You can use Ctrl+Shift+V to paste without grid snapping still.
Basically, it no longer goes way slower (or way faster depending on the zoom) if it needs to expand the scroll viewer.
It still isn't 100% accurate for some reason, but it's close enough.
…lected

automatic instance layer creation is actually something I did originally for UTMTCE XDOneDude@22d9b31
but i guess it snuck its way into awfulnasty's pr somehow. i ain't complaining though, i was gonna backport it anyway
@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@colinator27 colinator27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, gave it a test and it works well! Thanks!

@colinator27 colinator27 merged commit 0826e88 into UnderminersTeam:master Mar 21, 2025
5 checks passed
@CST1229 CST1229 deleted the room-editor-tweaks branch April 10, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants