Secretchronicles / TSC

An open source two-dimensional platform game.
https://secretchronicles.org/
GNU General Public License v3.0
205 stars 49 forks source link

Position Cannot Be Set for Background in Level Editor #685

Open datahead8888 opened 4 years ago

datahead8888 commented 4 years ago

For a level if you go to the background page, you cannot set the position x/yz values. For any number typed, it will immediately be deleted.

Other fields ca be set by using the up and down arrows, but they, too, do not allow manual text entry.

datahead8888 commented 4 years ago

I was forced to set the y position manually in the level data file to adjust my background, so this will be impacting to level editors.

Quintus commented 4 years ago

For a level if you go to the background page, you cannot set the position x/yz values. For any number typed, it will immediately be deleted.

I cannot reproduce this. Note you cannot enter any numbers until you have actually added a background and then selected it in the list of backgrounds.

datahead8888 commented 4 years ago

I also see this editing lvl_1. The numbers show for a very short moment then disappear. Does anyone else see this issue - @xet7, @sydneyjd, @Luiji ?

xet7 commented 4 years ago

@datahead8888

I tried. At first it does behave like that, so that numbers disappear.

But there is a trick to get it working:

  1. Click Images/Add, so you get below number like 0.000110
  2. Click that number like 0.000110
  3. Change type to top or bottom
  4. You can also change filename to select background
  5. And change Pos X, Y, Z
  6. Then click Apply.
sydneyjd commented 4 years ago

If the Filename under Background is set to (None) I can reproduce this, but as soon as a file is selected everything seems to work properly. I expect this is normal behavior and not an issue.

Quintus commented 4 years ago

Am 16. Mai 2020 um 20:50 Uhr -0700 schrieb sydneyjd:

If the Filename under Background is set to (None) I can reproduce this, but as soon as a file is selected everything seems to work properly. I expect this is normal behavior and not an issue.

It is. As I pointed out earlier, if nothing is selected, there is nothing to position.

-quintus

-- Blog: https://mg.guelker.eu