3. Level Creation and Camera Setup - Ski Master | Flutter + Flame Game Development

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • Source and asset:
    ▫ Github repo: github.com/ufrshubham/ski_master
    ▫ Tiny Ski Assets: www.kenney.nl/assets/tiny-ski
    Tools and packages :
    ▫ Tiled: www.mapeditor.org/
    ▫ Flame: pub.dev/packages/flame
    ▫ Flame Tiled: pub.dev/packages/flame_tiled
    Connect with DevKage:
    ▫ Discord: / discord
    ▫ X (Twitter): / devkage
    ▫ Instagram: / devkage
    ▫ Dev.to: dev.to/devkage
    Chapters:
    00:00 Intro
    00:44 Upgrade packages
    01:10 Level creation
    08:48 Render the level
    09:29 Need for camera
    11:23 Viewport and Viewfinder
    12:37 Setup camera
    14:21 Fixed resolution
    16:19 Camera confusion!
    18:10 Initial camera position
    19:40 Background color
    20:08 Portrait mode
    21:12 Bye!
    Want to support my work?
    ▫ Patreon: / devkage
    ▫ BuyMeACoffee: www.buymeacoffee.com/devkage
    ▫ GitHub sponsors: github.com/sponsors/ufrshubham
    #flameengine #flutterdev #skiinggame

КОМЕНТАРІ • 12

  • @filiphracek
    @filiphracek 8 місяців тому +2

    Thanks for this video! I suggest you take out the part about the camera and put it up as a separate video, because it's been incredibly helpful to me. If I didn't see your message on Flame's Discord, I wouldn't have found it.
    (In general, I think it's best to make UA-cam videos about one topic as opposed to several. I often don't heed my own advice in this respect, but that's another matter.)
    Cheers!

    • @DevKage
      @DevKage  8 місяців тому +1

      Thanks for the suggestion Filip! I am considering starting a "Component of the week" playlist similar to Flutter's "Widget of the Week". CameraComponent will be a perfect fit for that 👍🏻

  • @mathiasnielsen5447
    @mathiasnielsen5447 9 місяців тому +1

    Thank you for the detailed explanation of world and camera 😊

    • @DevKage
      @DevKage  9 місяців тому

      Glad it was helpful!

  • @neleroluyorhayatta856
    @neleroluyorhayatta856 8 місяців тому +2

    Thank you for the video, Im trying to make a game like flappy bird and i dont want any black bars around, how can i achieve that?

    • @neleroluyorhayatta856
      @neleroluyorhayatta856 8 місяців тому +1

      Thank you for explaining how to achieve that elaborately in discord, you are best the flame game developer ive seen so far. 😉

    • @DevKage
      @DevKage  8 місяців тому +1

      Happy to help, always! 🙂
      For anyone looking for the solution, here is link to the discord thread where this was discussed: discord.com/channels/509714518008528896/1168953550412460092

  • @cf6979
    @cf6979 8 місяців тому +1

    Thank you for the great instruction and extra details at the end of the video! Are you planning on having a part 4 for mobile / Android as you said at 21:03? 🤩

    • @DevKage
      @DevKage  8 місяців тому +1

      Thanks for watching 🙂. Part 4 will be on adding the player character and some input handling. I'm editing the video right now, so maybe it'll be available tomorrow. Video on the android setup will mostly happen at the very end of the whole series.

    • @cf6979
      @cf6979 8 місяців тому +1

      @@DevKage Great! 👍

  • @emir7296
    @emir7296 7 місяців тому +1

    How did you come up with the 19:45 color palette?

    • @DevKage
      @DevKage  7 місяців тому

      That color picker is part of the PowerToys tools for Windows: learn.microsoft.com/en-us/windows/powertoys/#color-picker