Raum/Kamera zentrieren?

  • #1, by jmbmSunday, 06. May 2018, 22:54 2 years ago
    Hallo, 

    ich bin auf ein Problem gestoßen. Undzwar habe ich einen Raum, der kleiner ist als die Auflösung des Spiels. Das funktioniert soweit, jedoch ist der Raum dann immer oben links platziert. 

    Gibt es eine Möglichkeit die Kamera manuell so zu platzieren, dass der Raum mittig auf dem Bildschirm erscheint? 

    Newbie

    27 Posts


  • #2, by afrlmeSunday, 06. May 2018, 23:32 2 years ago
    The minimum width & height of a scene background has to be at least the same size as the default game resolution you specified. If you want to have a smaller background then just create the canvas size of the scene background the same size as the default game resolution. Either leave the background transparent or set as black as it will be black either way.

    Imperator

    6771 Posts

  • #3, by jmbmSunday, 06. May 2018, 23:40 2 years ago
    Ah thanks. Sounds like an reasonable solution smile

    Newbie

    27 Posts

  • #4, by afrlmeSunday, 06. May 2018, 23:41 2 years ago
    hmm.. can you delete a few posts please? You seem to have spammed the reply button a bunch of times. grin

    * edit: cheers. smile

    Imperator

    6771 Posts

  • #5, by jmbmSunday, 06. May 2018, 23:42 2 years ago
    hmm.. can you delete a few posts please? You seem to have spammed the reply button a bunch of times. grin

    Man you are fast. I was in the middle of deleting all this when your post showed up grin. Sorry for that. But the site was not responding so I randomly clicked at everything :x

    Newbie

    27 Posts

Write post