Building 2D RPG Exploration

Поделиться
HTML-код
  • Опубликовано: 20 сен 2024

Комментарии • 578

  • @DevDuck
    @DevDuck  4 года назад +226

    Update on the aquarium! You guys have been amazingly generous and already sponsored 25 shrimp for the tank! As a result, the tank will be close to capacity and I've disabled donations for now so that the new buddies will be happy and healthy. Thanks so much for the kind words and support, it's truly humbling!

    • @TotallyRandomGames
      @TotallyRandomGames 4 года назад +3

      So awesome to hear! Keep up the great work, I love seeing your growth :)

    • @baldperson328
      @baldperson328 4 года назад +1

      DevDuck the pop culture museum is awesome and I love going there

    • @itstigercraftgaming5899
      @itstigercraftgaming5899 4 года назад

      If you could animate the water in the scene please.

  • @naruarthur
    @naruarthur 4 года назад +535

    normal people: "work for food"
    programmers: "work for coffee"
    DevDUck: "work for (live)shrimp"

  • @Danidev
    @Danidev 4 года назад +1132

    thats some epic backstory damn

  • @sawcondeez69
    @sawcondeez69 4 года назад +479

    I think collisions on bushes would be really annoying while playing, especially with so many.

    • @jpj7087
      @jpj7087 4 года назад +91

      yeah i think bushs should slow you down or something like that

    • @geopopos
      @geopopos 4 года назад +110

      I think instead of using a block collider setting up the collision to trigger a bush animation and sound could be a cool way to handle it.

    • @maxfondle6793
      @maxfondle6793 4 года назад +27

      If he’s planning on being able to destroy the bushes for items I can see why he would want it to collide. But I agree with @george roros.

    • @geopopos
      @geopopos 4 года назад +7

      Max Fondle thanks 😊 it’s been a while since I’ve developed any games so don’t take my word for law

    • @deanwilliams826
      @deanwilliams826 4 года назад +6

      Maybe if you slow down as though trying to wade through the bush

  • @YannickGames
    @YannickGames 4 года назад +113

    Your DevLogs are so chill and never fail to entertain me!
    Also you are creating a motivational mood, I directly want to sit down, to develop games after watching you video :D

    • @unknownr3802
      @unknownr3802 4 года назад +1

      wow you watch the broman90 aswelll

  • @azbi4
    @azbi4 4 года назад +99

    Hey! Love the devlog so far! I found out that the sorting of layers can be done in rendering instead of calculated by code.
    "Edit > Project Settings > Graphics > Camera Settings > Transparency Sort Mode > Custom Axis ... > Transparency Sort Axis > (0, 1, 0)" This should make it work by default and would let you skip the step of adding a sprite layer script for every object.

    • @DevDuck
      @DevDuck  4 года назад +25

      Whoa I'll check this out! Thank you!

    • @Jaypordy
      @Jaypordy 4 года назад +4

      @@DevDuck Please let us know if this works with your game, I am working on a 2D RPG as well and this is something I would love to see fixed.

    • @irishbruse
      @irishbruse 4 года назад +2

      @@Jaypordy it works have you tried it?

    • @Toopa88
      @Toopa88 4 года назад

      I also thought about these settings when I watched the video 😅

    • @k0nidias
      @k0nidias 4 года назад +2

      Was just gonna say... as soon as I saw him coding out Y sorting I'm like "nooooooo!" lol the method you described was put into Unity for exactly this reason. :)

  • @texaskid4444
    @texaskid4444 4 года назад +16

    “Honey, stop asking about what I’m doing with the money... he said he’d name a shrimp after me, I don’t know what more I need to say!”

  • @Justice397
    @Justice397 4 года назад +1

    as a guy who has been shrimpkeeping for years, i think its really thoughtfull of you to give live shrimp for your gourami to eat, he must love you

  • @DarkValorWolf
    @DarkValorWolf 4 года назад +17

    12:00 I know these are prototype scenes, but you want to use different objects in your walls, and stagger them, don't make them straight, this will help to make them feel natural

    • @DevDuck
      @DevDuck  4 года назад +10

      Will certainly be refactoring going forward!

  • @mattpds4690
    @mattpds4690 4 года назад +6

    Devduck: “It’s late and I’m about to get some dinner”
    Shrimp: “Wait, why is the camera focused on ME?”
    4:21

  • @KrysiS
    @KrysiS 4 года назад +71

    With the scene switch
    why dont you try get the x and y of the pos of the player(cy)
    then flip them and teleport them to the correct scene allowing for it to be more free flowing
    (eg if your center is 0,0 and its 100x100 and you exited at 0, 100 you would enter at 0,-100)
    just a idea might work and give you abit more freedom
    and
    keep it up my guy love your work

    • @anthonydodier6143
      @anthonydodier6143 4 года назад +20

      Could be a great Idea if each scene have the same dimensions but in his case his scene are not all the same so the position ( -100,0) would not exist. But pretty great Idea for scène that have the same size

    • @thecodinggeek1315
      @thecodinggeek1315 4 года назад +20

      @@anthonydodier6143 he could use percentages.

    • @TheJulialollipop
      @TheJulialollipop 4 года назад +1

      That's a pretty good solution, thanks! I will try it out in my new game I'm developing right now! :)

    • @dvsaleios
      @dvsaleios 4 года назад +3

      @@anthonydodier6143
      Scene dimensions don't actually matter. Take the last player position and you can figure out if they should spawn left, right, up down whatever.
      Scene 1 size: 100x100
      Player pos: 100, 50
      Next scene pos: 1, 50
      Obviously the player headed right off the screen. Player should appear left on next scene. If the dimensions of the next scene are different you need to ask yourself if the player spawns relative or scaled by the previous scenes size. But really even that is overengineering.

    • @RialuCaos
      @RialuCaos 4 года назад +3

      When transferring zones:
      If posX > sceneWidth, posX = 0;
      If posX < 0, posX = nextSceneWidth;
      If posY > sceneHeight, posY = 0;
      If posY < 0, posY = nextSceneHeight;
      (This assumes that 0,0 is the same corner of every scene)
      I think this should work for scenes of differing sizes, with maybe some checks for corner cases for when posX and posY are both above or below the width and height of the next scene.

  • @Ric_93
    @Ric_93 4 года назад +16

    NEW DEVLOG YES! I've been religiously waiting for new updates 🙏🏻🙌🏻
    Love your content

  • @Pontypants
    @Pontypants 4 года назад +2

    Love the pacing and style of your videos! Thanks for putting in the effort and sharing your journey with us! Can't wait for the next update! :)

  • @Logiszn
    @Logiszn 4 года назад +4

    In between each transition you should have a blur that foreshadows what the player is going into

  • @c0d3d85
    @c0d3d85 4 года назад +17

    Just so you know in the future, in the project settings you can set kinematic kinematic collisions and kinematic static collisions. Wish I knew this a while ago!

  • @brickyy3106
    @brickyy3106 4 года назад +1

    I admire you and Eric Barone! You both appreciate the environment and computer science!

  • @newf_gg1230
    @newf_gg1230 4 года назад +1

    Great job so far! It's refreshing to see that even someone with a computer science degree is still subject to the same trials and tribulations of figuring out certain things within unity and game programming. You're killing it!

  • @yathish5227
    @yathish5227 4 года назад +48

    Literally switched on to RUclips from Twitch thinking you must've uploaded by now haha! Never been this early/ :-)

  • @IAMIDGAF
    @IAMIDGAF 4 года назад +2

    Dude you're teaching me so much here. I'm starting my first game and I've only gotten as far as I have by watching your videos. Keep up the good work!

  • @levidraco1384
    @levidraco1384 4 года назад +4

    This is genuinely my favorite thing right now, lately i’ve been through a lot as a highschool student and life is changing so quick but your videos make me feel more chilled out and distract me from life. Your work even brings me as far as wanting to become a future game developer, however I wouldn’t know where to start. I love your videos and if you have any suggestions on where to start tell me please and thanks.

  • @Tantandev
    @Tantandev 4 года назад +2

    That desk looks super nice!

  • @Thegrrog
    @Thegrrog 4 года назад +22

    This game looks promising, I’m getting Stardew Valley vibes, and see that it’s one of my favorite games. That’s awesome. I can’t wait to see what you come up with. Also, I like the personal story that you have built in it. Good luck with future development.

    • @michaelsasylum
      @michaelsasylum 4 года назад

      Stardew is inspired by Harvest Moon, but yeah definitely feeling the vibe and cool with the marine biology angle. So much potential with the gamestyle yet to be explored.

    • @Thegrrog
      @Thegrrog 4 года назад

      michaelsasylum huh, I’m gonna have to look into this harvest moon game

  • @GameDevVision
    @GameDevVision 4 года назад +2

    You don't need any code for the sorting layer with the trees.
    You can easily order the layers (so the player won't go over the trees) when you go to edit - > project settings -> graphics, set transparency sort mode to "custom axis", and change the parameters below to 0,1,0

  • @RoboReiko
    @RoboReiko 4 года назад +2

    wow! i love how it is looking so far, great work!

  • @panaceayt
    @panaceayt 4 года назад +4

    Honestly? Super hyped for this game. I'll be donating as soon as I can, and I can't wait to see more !!

  • @zacharyshah4482
    @zacharyshah4482 4 года назад +4

    the initial load scene should have a ton of trees with just a small little clearing, so it really feels like hes lost

  • @acefp7547
    @acefp7547 4 года назад +1

    Your backstory is too wholesome and beautiful ;-;

  • @danieljayne8623
    @danieljayne8623 4 года назад +1

    Great to see how much the channel has grown! Very inspiring stuff, keep it up

  • @bubusteeri9212
    @bubusteeri9212 4 года назад +2

    It would be cool if you had a Pokédex like encyclopedia for all underwater life you should collect! I'm really liking to watch this series so keep up da good work!

    • @DevDuck
      @DevDuck  4 года назад +1

      There will indeed be something very like this!

  • @MythicLegionDev
    @MythicLegionDev 4 года назад

    It's cool to see someone else that loves tech and biology! Best of luck on your continuing progress!

  • @s0m1n
    @s0m1n 4 года назад +2

    The beach looks amazing! Just add animation to the water and BOOM!

  • @alexvasilev7976
    @alexvasilev7976 4 года назад +1

    We are proud of you devduck. Hope u don't give up. We believe in you!!

  • @BitBeginnings
    @BitBeginnings 4 года назад +1

    Great progress man! Just wanted give you my thanks for inspiring me to start my indie game dev journey. I've always wanted to, but with a full time job and kids, I thought finding the time would be impossible. Thanks for showing me that even with a full-time job and other hobbies, you can find time to work on your passion projects. Cheers!

  • @lampisfun1139
    @lampisfun1139 4 года назад

    Hey DevDuck! I have been programming top down 2D games for years in gamemaker studio, so far the best way ive found to handle screen wrapping and transitioning is to have the transition occur when the player leaves the bounds of the scene, then check the players coords against the width or height of the room, depending on how it results it will tell the game which direction the player left the scene from, then in the next scene you set the players coords to the opposite of how it landed. Takes about 4 lines of code and works for all scene transitions(im assuming this is similar to how you have it.) however, you are sending the player to scenes with specifically designated names. What you should do is have a naming convention for your scenes. In gamemaker studio we call these scenes "rooms" so for instance i would have room_0_0 and room_1_0 and room_1_1, and so on. Then you can concat the name with variables and store the players "scene position" like a grid system having room_x and room_y. Hope this helps you or anyone else reading this comment!

  • @cease_
    @cease_ 4 года назад +2

    glad to see another devlog in this series! you can tell this game is coming from a special place based on how you're talking about it. :)
    as a side note, i've started making my own devlogs, partly inspired by your channel. thanks for the inspiration!

  • @geri4367
    @geri4367 4 года назад +17

    So cool!
    Just a tip on sprite sorting, no need to add logic as you did, you can change the Sprite Sorting axis in Project Settings->Graphics. If you set it to a Custom axis 0,1,0 everything will get automated

    • @BlueGooGames
      @BlueGooGames 4 года назад

      Geri exactly my thought, so one script less to worry about :)

  • @duo-mlbb
    @duo-mlbb 4 года назад +5

    There is better solution to render sprites depending on their y position. Go to project settings - > graphics - > camera settings - > sort mode - > custom and set Y value to 1

  • @southhill6667
    @southhill6667 4 года назад +1

    These are quite enjoyable to watch, keep up the good work mate.

  • @beginneratstuff
    @beginneratstuff 4 года назад

    These are some high quality dev logs. Can't wait to see where this project goes!

  • @jaloveast1k
    @jaloveast1k 4 года назад +1

    Probably someone already mentioned it, but still. There is a config for sprites available in Unity, where you can just set sprite draw order based on Y axis and it.. just works.
    General advice is to Google first - invent your own bicycle second, if you didn't find an already existing solution. It doesn't just save time, but also reduces the probability of catching some weird bugs moving forward, as your codebase grows.

  • @Legend64Project
    @Legend64Project 4 года назад

    The production value on these videos is amazing.

  • @Chickenslovakia
    @Chickenslovakia 4 года назад +4

    Aye, I love the fact that you're giving people to follow development! Keep up the good work, I can't wait to see more

  • @scottd1223
    @scottd1223 4 года назад +1

    Hey man, gotta say I love your vids and enthusiasm for indie dev. I'm in the same boat as you, full time mobile engineer + part time indie game developer, and your channel has helped me regain focus and get back to doing what I love. I'm currently working on a retro gameboy style game that I've had on the backburner for years.
    You're an inspiration, keep up the good work. I hope Dauphin becomes a hit!!

  •  4 года назад +1

    Your videos are awesome. I really enjoying while watching them. You have positive energy, I believe if you keep working like that you will be very successful game designer one day.

  • @gamedevel22
    @gamedevel22 4 года назад +2

    Great work with the Scene transition! It looks really smooth and as good as the best games of this genre!

  • @mathisverycool7240
    @mathisverycool7240 4 года назад +1

    My golly this be nothing short of outstanding work!! Superb😛

  • @baconsc2269
    @baconsc2269 4 года назад

    I'd love to learn more about how @DevDuck is organizing his Trello boards. It looks way more organized than the "todo, doing, done" workflow that I see everywhere else!

  • @syde_8274
    @syde_8274 4 года назад +1

    Looking forward to keep up with the trip

  • @xenonyt8160
    @xenonyt8160 4 года назад +1

    This game looks really epic, keep going on this, it's a awesome game! Good luck

  • @yshuttle
    @yshuttle 4 года назад +1

    Game is looking good! These videos inspire me with creativity!

  • @enejongames1800
    @enejongames1800 4 года назад +1

    Looks great! Really enjoy watching these

  • @DanielLochner
    @DanielLochner 4 года назад +1

    Such a wholesome backstory! :)

  • @ashleycat4
    @ashleycat4 4 года назад +1

    This looks awesome so far. Great job!

  • @doviczdev
    @doviczdev 4 года назад +1

    Shrimps! Keep it coming DevDuck :) I'm now inspired to get some shrimps and make a game devlog soon ;) Cool stuff.

  • @jeffreybecker8985
    @jeffreybecker8985 4 года назад +98

    You should add in the game a way to have pets

    • @ronniesunshine1163
      @ronniesunshine1163 4 года назад +24

      Gotta have a shrimp in a fish bowl that follows you around

    • @communistturtle2283
      @communistturtle2283 4 года назад +1

      Nah you rescue a baby wounded baby turtle and he is your pet

    • @Lime_Sherbert
      @Lime_Sherbert 4 года назад

      Fish that you defeat so they DON'T die

  • @kaithe2216
    @kaithe2216 4 года назад +1

    Cant wait to see where this project goes

  • @emlyndewar
    @emlyndewar 4 года назад +2

    Just watched the first part of this last night. Great timing!

  • @watchermagic5325
    @watchermagic5325 4 года назад

    RPGs, canoes, aquariums and marine biology!? You're speaking my language! Subscribed sir.

  • @thugTaters
    @thugTaters 4 года назад +1

    Your tank looks great man :) it's very well planted

  • @Diddykonga
    @Diddykonga 4 года назад

    A Tip about Transitions: If you wanted to make the Transitions be more Dynamic and remove the Hard Coding aspect of the Transition Map, then instead you could create a Transition Trigger Class, that is simply a Trigger, Target Scene Name, and Target Spawn Point Name, you then in-editor setup those three vars for each Transition Trigger Object, and now in the future if you want to add anymore transitions, it will all be localized to the new Transition Object. This would allow you to Dynamically add Transitions via Gameplay Code, which is impossible to do via a Static Hard-Coded Map.

  • @deanwilliams826
    @deanwilliams826 4 года назад +2

    Trees look sick now

  • @AidanGilchrist0813
    @AidanGilchrist0813 4 года назад

    I’m a beginner programmer working in unity. I’ve done a few small games but mostly arcade recreations and I’m starting to take on something a little bit bigger thanks to quarantine. Just there first two episodes have actually helped out a bunch and I’m almost inspired to make devlogs of my own. Keep it up.

  • @k0mikaru
    @k0mikaru 4 года назад +30

    I really like the pixel beach and palms... Soo cute :3
    Little side note:
    "holy cow, I fell in love with majoras mask in your shelf xD .."

    • @Lime_Sherbert
      @Lime_Sherbert 4 года назад

      On phone the face is between lines

  • @VixsterAnimations
    @VixsterAnimations 4 года назад +2

    I didn’t know ducks likes shrimp so much

  • @dankmemes7729
    @dankmemes7729 4 года назад +1

    your vids are are very calm and they're very entertaining

  • @trcar87
    @trcar87 4 года назад +1

    These videos are getting close to making me start game development! I really hope this project goes well, because it has really inspired me!

  • @siennacode7995
    @siennacode7995 4 года назад +2

    The premise is super cool and when I realized what this game was actually going to be I was super excited! Good job so far and I'm excited to see where this goes!

  • @tofuvfx2662
    @tofuvfx2662 4 года назад +2

    Your Devlogs are really inspiring! Keep up the good work :)

  • @idsappples
    @idsappples 4 года назад +1

    Instantly sponsored you, good luck on progress man!

  • @jinkieannplopino2243
    @jinkieannplopino2243 4 года назад +1

    I wish i saw this channel like 3 years from now so i can binge watch his game development for like 4 days

  • @cohexbruh7599
    @cohexbruh7599 4 года назад +2

    Great video I really enjojed watching it man.Keep it up!

  • @exivir2010
    @exivir2010 4 года назад +2

    dont know how i found this channel but im glad i did!

  • @proxy1035
    @proxy1035 4 года назад

    little tip, you can disable the win10 searchbar, it's completely useless
    rightclick taskbar -> cortana -> first option
    you can still search like normal by just opening the start menu and typing directly into that.
    same exact functionality except without an ugly bar wasting space and pushing icons away from the start icon

  • @vulblhotdiessfi
    @vulblhotdiessfi 4 года назад +1

    Good luck for the future!

  • @zestful6059
    @zestful6059 4 года назад +2

    Yes! I love your devlogs!!!!

  • @blobsterhop1470
    @blobsterhop1470 4 года назад +1

    Dauphin be looking epic!

  • @ליאוןגרפמן
    @ליאוןגרפמן 4 года назад +1

    I just want to say that you're very inspiring.

  • @megagunshot651
    @megagunshot651 4 года назад +1

    Every time a new one of these develops comes out a big smile comes on my face

  • @trevsweb
    @trevsweb 4 года назад +1

    love the shrimps :) i started with 10 red cherry culls now got over 100 :)

  • @blade1236001
    @blade1236001 4 года назад +1

    Could you make a video talking about how you keep so organized and plan/maintain your plan everyday. You seem so organized so it would be great to here some tips

  • @melindar5848
    @melindar5848 4 года назад +1

    As a fellow Wahoo, I'm excited to follow your game dev journey and I'll be looking forward to the next one. Super excited to see where this project takes you. Keep up the good work!

  • @sydneyarrowood3632
    @sydneyarrowood3632 4 года назад +1

    these videos always inspire me with my own projects. i have no interest in game development, but whenever you upload i feel ready to sit down at my desk and get some work done

  • @kaldev1761
    @kaldev1761 3 года назад

    Love the inspiration for the game. Can’t wait to play it when it comes out!

  • @BigCroogle
    @BigCroogle 4 года назад

    The beach gave me real Pokémon black and white vibes. Good job

  • @darcksage1
    @darcksage1 4 года назад +1

    Cy sounds like a good friend

  • @Jess_stpierre
    @Jess_stpierre 4 года назад +2

    Your videos are really good! They honestly inspire me to make my videos even better! Good luck with your project! Loved the back story of it :)

  • @frederickhayat3796
    @frederickhayat3796 4 года назад +6

    I love this devlog serie, it's really unique
    And btw could you please tell me the app you are using to organize your goals

  • @xauba8083
    @xauba8083 4 года назад +1

    Your waves are looking like unicorns. 😁👌

  • @jamestomato1744
    @jamestomato1744 4 года назад +1

    Looking forward to how this game turns out, heck it's even getting me to get to work on my dream game - which I've put off for a while.

  • @Sandwich-r6m
    @Sandwich-r6m 4 года назад +1

    The beach stage looks amazing! i love how te palm tree looks and the rocks as well

  • @catlover12045
    @catlover12045 4 года назад +3

    Love the work so far, but i think you should use real life pictures for inspiration in levels. Great work with the everything!

  • @joelvdv
    @joelvdv 4 года назад

    Hey DevDuck, I'd recommend checking out Enums. They'll generally perform a lot better than string comparisons, and remove the ability to do typos. In general, using strings for anything other than actual text (eg. logs, messages, etc.) is considered bad practice. Same goes for looking up objects via their name. Having a manager in each scene which contains a list of all possible entry points will make your code much easier to maintain in the long run.

  • @Yheeky
    @Yheeky 4 года назад +1

    I like the way you present your progress in your devlogs! Will definitely follow the project - looks very promising! Keep it up - I am sure you will after the background story! :)

  • @watersheep5489
    @watersheep5489 3 года назад

    the backstory of this game is awesome

  • @KRABPXL
    @KRABPXL 4 года назад

    dude, your pixel art is amazing!

  • @therealg7343
    @therealg7343 4 года назад +2

    Dude you dont know how long i have waited for this man ❤️

  • @SlyRider78
    @SlyRider78 4 года назад

    Hey mate, love the video. Just a note about your scene transitions. If your areas are small like that it might be better to have all the areas in the one scene and just keep them all disabled until the player enters and then you can just have the exit trigger know about the scene your leaving and the scene your entering and then disable and enable as needed. Everything in each area can be a child of it so everything gets enabled at the same time. You may also need to move the player forwards slightly to make sure they are on the new map and don’t get stuck in between. This is the same system I used for a metroidvania game I made a while back and it cuts out the need to find the new position and spawn them there as well as cutting out load times and your not loading a new scene every time you transition. Just food for thought for you.

  • @ScriptLineStudios
    @ScriptLineStudios 4 года назад +1

    Love the new music!

  • @PreferableFlavor
    @PreferableFlavor 4 года назад +1

    I can tell this is going to blow up. This is something big man don’t give up and power through it

  • @maddoxbazian8695
    @maddoxbazian8695 3 года назад

    At the end I get so many memories from *The Legend Of Zelda : Links Awakening*
    Also I love your pixel art!