Author Topic: [SUG][PLAYER] Resizable terrain  (Read 176 times)

0 Members and 1 Guest are viewing this topic.

Online namida

  • Administrator
  • Posts: 8896
    • View Profile
    • NeoLemmix Website
[SUG][PLAYER] Resizable terrain
« on: May 08, 2019, 08:25:06 pm »
We already have resizable objects. The most important code for making this happen for terrain - the actual resizable rendering - is very easily reused.

With this in mind, is there any reason not to implement resizable terrain pieces that anyone can think of? (The work involved is not an issue - I'm happy to implement this one.)
My released level packs:
Lemmings Plus Series | Doomsday Lemmings

Offline GigaLem

  • Discord Server Owner
  • Posts: 1243
  • Graphic Set Enthusiast
    • View Profile
Re: [SUG][PLAYER] Resizable terrain
« Reply #1 on: May 08, 2019, 08:44:33 pm »
I thought of this too, but I feel it would've been shot down.
I have a feeling if it were implemented, it'd have a .nxmi file attached containing the strings of text saying
Quote
RESIZABLE_VERTICAL
RESIZABLE_HORIZONTAL

Offline IchoTolot

  • Moderator
  • Posts: 1983
    • View Profile
Re: [SUG][PLAYER] Resizable terrain
« Reply #2 on: May 08, 2019, 08:54:10 pm »
I have nothing against it, but I would advice to officially release a version with the other additions and fixes first and fix the issues that may arise with them and after that move on the next thing.

Online namida

  • Administrator
  • Posts: 8896
    • View Profile
    • NeoLemmix Website
Re: [SUG][PLAYER] Resizable terrain
« Reply #3 on: May 08, 2019, 09:36:12 pm »
I thought of this too, but I feel it would've been shot down.
I have a feeling if it were implemented, it'd have a .nxmi file attached containing the strings of text saying
Quote
RESIZABLE_VERTICAL
RESIZABLE_HORIZONTAL

I'd prefer to keep it consistent with objects, so it'd be "RESIZE_HORIZONTAL" (etc), not "RESIZABLE_HORIZONTAL". Also, terrain metainfo files have an "nxmt" extension.
My released level packs:
Lemmings Plus Series | Doomsday Lemmings

Offline GigaLem

  • Discord Server Owner
  • Posts: 1243
  • Graphic Set Enthusiast
    • View Profile
Re: [SUG][PLAYER] Resizable terrain
« Reply #4 on: May 08, 2019, 11:23:06 pm »
I thought of this too, but I feel it would've been shot down.
I have a feeling if it were implemented, it'd have a .nxmi file attached containing the strings of text saying
Quote
RESIZABLE_VERTICAL
RESIZABLE_HORIZONTAL

I'd prefer to keep it consistent with objects, so it'd be "RESIZE_HORIZONTAL" (etc), not "RESIZABLE_HORIZONTAL". Also, terrain metainfo files have an "nxmt" extension.
I was going off memory so my bad :P but it'd probably be this

Online namida

  • Administrator
  • Posts: 8896
    • View Profile
    • NeoLemmix Website
Re: [SUG][PLAYER] Resizable terrain
« Reply #5 on: May 28, 2019, 05:33:34 am »
The branch feature/resizable-terrain on my repo implements this feature, including with nine-slicing support. In the process of writing this, I also slightly tidied up the resizability code for objects and the general orientation code for terrain; these improvements have been ported back to the master branch.

I have not yet implemented editor support, for two reasons:
1. The editor master branch doesn't have nine-slicing support yet
2. Passing everything to the constructors in the editor code is starting to get really messy; I'm wondering if this way of working should be revised before any further new features are implemented in it...
My released level packs:
Lemmings Plus Series | Doomsday Lemmings