Large Map

  • #1, z paul-14Tuesday, 26. April 2022, 13:24 hodinky 2 years ago
    hi,

    I would like to know how to create a large map ? 2840X1080 for example, so that the character can move from one end to the other and the camera can follow him

    sorry if I express myself badly but I use a translator

    thanks 

    Bažant

    44 Posts


  • #2, z afrlmeTuesday, 26. April 2022, 14:33 hodinky 2 years ago
    You can just create it like a normal scene. wink

    Imperátor

    7285 Posts

  • #3, z paul-14Tuesday, 26. April 2022, 15:19 hodinky 2 years ago
    ah ok ^^ even if my game was created in 1920x1080 ??

    thank you wink

    Bažant

    44 Posts

  • #4, z thomas-fringsTuesday, 26. April 2022, 15:29 hodinky 2 years ago
    Yes, this can be done without any problems. 

    I use large scenes in a resolution of about 9k.

    Just know that large scenes / maps take longer to load.

    Bažant

    21 Posts

  • #5, z paul-14Tuesday, 26. April 2022, 15:30 hodinky 2 years ago
    ok thank you wink have a nice day

    Bažant

    44 Posts

  • #6, z afrlmeTuesday, 26. April 2022, 16:32 hodinky 2 years ago
    ah ok ^^ even if my game was created in 1920x1080 ??

    thank you wink
    Any scene background that is larger than your default game resolution will automatically turn that scene into a scrolling scene & the camera will follow around the playable character as they move around the scene.

    There are some limitations as to how large you can make your scene backgrounds, but it's highly unlikely that you will be making any scenes that large.

    Imperátor

    7285 Posts

  • #7, z paul-14Wednesday, 27. April 2022, 08:43 hodinky 2 years ago
    ok thank you wink and is it possible to make a background with a video ? or a series of images like when a character walks ? so that the perspective changes when the character moves on the map ?

    again thank you smile

    Bažant

    44 Posts

  • #8, z afrlmeWednesday, 27. April 2022, 12:14 hodinky 2 years ago
    What do you mean by when the perspective changes? Are you talking about rotating the map around or zooming in or out? etc.

    Imperátor

    7285 Posts

  • #9, z paul-14Thursday, 28. April 2022, 08:54 hodinky 2 years ago
    What do you mean by when the perspective changes? Are you talking about rotating the map around or zooming in or out? etc.
    hi wink 
    sorry for the delay, my backgrounds are 3d renders, so the perspective changes depending on the camera angle, that's why I was wondering if it was possible to have a video background, so that the perspective changes when the player moves on the map

    Bažant

    44 Posts

  • #10, z afrlmeThursday, 28. April 2022, 14:22 hodinky 2 years ago
    How would a video work? It's something that plays from beginning to end, regardless of whether or not your character is moving.

    You don't technically have to add an actual background image to a scene, but you do need to add a transparent png or webp image that has the same dimensions as you want the scene to be as the width & height of the image you assign as the scene background image is what the engine uses to automatically determine the width & height of the scene. Taking what I just said into consideration, you could create scene objects & assign the different background perspective images to those. Create a single value & link it to each of the scene objects containing the background images & then all you need to do is change the number belonging to the value to specify which scene object image should be active/visible.

    While what you are wanting to do is technically possible, I don't think you are taking into consideration how much work is involved when it's comes to third person 2D games that contain multiple camera perspectives, camera angles, &/or zoom levels.

    Imperátor

    7285 Posts

  • #11, z paul-14Friday, 29. April 2022, 14:29 hodinky 2 years ago
    ok thank you wink 

    Bažant

    44 Posts