[DISCUSSION][PLAYER] Using available screen space to show more of level

Started by namida, January 30, 2017, 03:56:51 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

namida

Issue 3 was occuring because, what was kicking in wasn't "increase the window size upon increasing the zoom", but rather the more-general check of "make sure the window size is at least 320x200 x <zoom>". A window that was already this size or larger would not have resized.

I've changed this so that upon changing the zoom, the window always gets resized.

Also - I've now made it so that the change occurs as soon as the config menu is exited, rather than delaying it until the main menu screen is exited. And even better, I fixed that bug that made the game stop working upon a change between windowed and fullscreen mode, so it is now possible to change between the two without restarting NeoLemmix.

A change to the "Use Smooth Resampling In Menus" still doesn't get applied until leaving the main screen - which now that I think about it, could have been why you thought there was a bug there?
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Added settings to allow zoom levels lower than (maximum that fits on screen) in fullscreen mode.

On a 1080p display, I can (just!) fit the entirity of LPIV's Insane 20 on the screen at once... while still having a 2x zoom. In fullscreen mode. w00t! :D

The obvious next step would be to allow changing the zoom while in-game.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

First step towards in-game zoom changing: Mouse wheels can now be used as hotkeys. This is, of course, intended for the purpose of using them for zooming. But, since NeoLemmix is very flexible on any hotkey (/ hot mouse button) apart from left-click, there is of course nothing stopping someone from instead deciding that, perhaps, they want to use Q and W for in-game zooming, and instead assign the mouse wheel to skill selection or release rate changing or anything else they like.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Alright, it's now fully working, and an experimental version with support for it has been released!

http://www.neolemmix.com/download.php?id=75 NOTE: The new stable release V10.12.15-C has these features, get it instead.

There are some very minor graphical glitches - this is limited to a bit of flickering when changing the zoom during gameplay, no long-term effects. I will look into what can be done to fix this.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Nepster

Quote from: namida on February 02, 2017, 10:39:05 AM
A change to the "Use Smooth Resampling In Menus" still doesn't get applied until leaving the main screen - which now that I think about it, could have been why you thought there was a bug there?
You are right, I only checked the main screen and did not change to other screens. If I move to a new screen, the correct option gets applied.

namida

Even so, it's better that it takes effect right away, which is why the latest commit makes it do so. :)

Here's the latest experimental (note: does NOT include the fix to make the resampler options take effect immediately).
http://www.neolemmix.com/download.php?id=76 NOTE: The new stable release V10.12.15-C has these features, get it instead.

Let me know if you encounter any issues. Apart from hopefully fixing the flickering, if no further issues are reported this is probably ready for a stable release.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Please note that there's now a stable release which includes the features from these experimentals, V10.12.15-C. If you wanted to try out the feature, you should get that rather than the experimentals. (I'll probably take the exp versions down fairly soon, actually.)
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)