Good Solution Interactive
Good Solution Interactive
  • 9
  • 41 825
Into the Shader-Verse! Grand Strategy Game DevLog #3 | Godot 4
Welcome to the third episode of our Grand Strategy Game DevLog series!
In this installment, we delve into the fascinating world of terrain generation within the Godot game engine. Buckle up as we explore the intricacies of map images, height maps, normal maps, and terrain maps-all harnessed through the power of shaders.
We’ll explore both near and far map types. Whether you’re zoomed in on a continent or examining player-owned territories, shaders will help us display various map modes.
TIMESTAMPS
00:00 - Intro
01:45 - Recap
02:38 - Heightmap
05:50 - Normalmap
06:10 - Implementing the maps through shaders!
10:15 - Trouble and change of methodology
12:40 - Terrain map
12:48 - Rule-based dynamic terrain
17:31 - New map type
18:35 - Region selection through ray-cast
20:47 - Different map modes
Don’t forget to hit that Subscribe button to stay tuned for more insights, tips, and behind-the-scenes magic.
zhlédnutí: 1 970

Video

How to make a grand strategy map! | Godot 4 Tutorial
zhlédnutí 10KPřed 6 měsíci
Tutorial for Godot showing how to make a grand strategy map with selectable regions through processing a image (.png) file. Follow my grand strategy journey: czcams.com/video/UtbU2fa4fMM/video.html
Elevating the map from 2D to 3D! Grand Strategy Game DevLog #2.5 | Godot 4
zhlédnutí 4,4KPřed 7 měsíci
Welcome to the second and a half episode of our Grand Strategy Game DevLog series! In this special edition, we’re taking a leap into another dimension. Join us as we embark on an exciting journey, migrating our project from a 2D to a 3D environment using Godot 4. Don’t miss out on this behind-the-scenes look at the challenges and triumphs of game development. Remember to like, share, and subscr...
How to create a 3D mesh using code only | Godot 4
zhlédnutí 1,4KPřed 8 měsíci
Godot 4 tutorial on how to create a mesh in 3D space using vector points. Creating a 3D mesh the same way you would a 2d polygon.
How to auto-tile using only a picture file and code! | Godot 4
zhlédnutí 1KPřed 8 měsíci
A .png picture and a few lines of code is all you need for perfectly placed tiles. No need for manual placement.
Making a map using autotiles! Grand Strategy Game DevLog #2 | Godot
zhlédnutí 3KPřed 8 měsíci
See part 1 here: czcams.com/video/UtbU2fa4fMM/video.html Part 2 covers the use of tilemap and the powerful autotile system in order to create a visual map. The map is created using code and an input image, no manual placement of tiles. Links to the amazing tools and add-ons displayed in video: Check Tilepipe2 by Aleksandr Bazhin and Better terrain by Portponky on Github. Like and Subscribe to s...
DevLog #1 A new Tiny Grand Strategy Game! | Godot
zhlédnutí 19KPřed 9 měsíci
A Devlog dedicated to following my journey of creating a Grand Strategy Game, replicating the methodology of creating map games, used by companies like Paradox, Total War etc. Like and Subscribe to support! TIMESTAMPS 00:00 - Intro 01:07 - Map Methodology 02:14 - Choosing Engine 05:20 - Beginning of a Grand Strategy Game
How to set up Godot with C# and Visual Studio
zhlédnutí 304Před 10 měsíci
How to set up Godot with C# and Visual Studio

Komentáře

  • @mausomkalita2473
    @mausomkalita2473 Před 8 dny

    I am new to coding and learned a lot. THANK YOU. Can you pls explain the setting of the camera2d node that appeared at 27:01. You did not explained that.

  • @lordkelvin1
    @lordkelvin1 Před 10 dny

    Great video! Very fun to follow your thought process

  • @jayhop960
    @jayhop960 Před 19 dny

    can you make a globe style strategy map games?

  • @LodIstHier
    @LodIstHier Před 21 dnem

    i recognise the map! Risk (French Game)

  • @aidanproductions767
    @aidanproductions767 Před měsícem

    I find this really interesting, would be great if you ever make a tutorial one day.

  • @RiesenradGameStudios
    @RiesenradGameStudios Před měsícem

    i am not a fan of region maps, it makes things so static - what i like to do in godot is creating a grid and assigning cells to a faction, this way it gets way more organic and also is a good solution for procedurally generated worlds and apply a colored area2d to 1. visually show "regions" if necessary or wanted by the player and 2. take in structures/resources that are inside the territory for bonus production etc.

    • @GSInteractive
      @GSInteractive Před měsícem

      I like the idea! Probably not so easy to implement, but I hope someone mages to do it :)

  • @pawegorka8589
    @pawegorka8589 Před měsícem

    North germany mhu? 😅

  • @Basedeath
    @Basedeath Před měsícem

    I feel like this is missing half the instructions.. what is the point of the hidden sprite3D? What is the code attached to it and is that what is generating the numbers when you print v3array because it prints nothing and shows only grey screen for me with no errors.

    • @GSInteractive
      @GSInteractive Před měsícem

      I apologize if it is a bit unclear but it shouldn't be missing anything. It needs to be followed closely to achieve the same result. The sprite contains the image that we use to create the shape of the mesh, in this case the image of a star. However it doesn't need to be hidden or present in the tree after the mesh is created, you could free it from queue after its processed.

    • @Basedeath
      @Basedeath Před měsícem

      @@GSInteractive Do you have a video that explains how to make a v2array and how you made the image file?

  • @subaybadem2821
    @subaybadem2821 Před měsícem

    My image file is quite large and as far as I understand, I am experiencing crashes for this reason and my regions are not visible. Can you help me?

    • @GSInteractive
      @GSInteractive Před měsícem

      Unfortunately, if its too big then its too big... Remember that it loops through every pixel, so it gets exponentially heavier the bigger the picture is. But I have successfully done tests doing images that are 1024 x1080, which is quite large( 1105920 pixels).

    • @subaybadem2821
      @subaybadem2821 Před měsícem

      @@GSInteractive i understand thx

  • @user-wk1yt2dq9u
    @user-wk1yt2dq9u Před měsícem

    Дідько, брате, початок такий, що в тобі я бачу себе через пів року Нереальне дякую

  • @Bluepikminproductions
    @Bluepikminproductions Před měsícem

    BTW the import_file function for anybody (you're welcome) func import_file(filepath): var file = FileAccess.open(filepath, FileAccess.READ) if file != null: return JSON.parse_string(file.get_as_text().replace("_", " ")) else: print("Failed to open file:", filepath) return nu

  • @user-nt4fq8py8i
    @user-nt4fq8py8i Před měsícem

    Спасибо бро, ты лучший

  • @psychowaffle4478
    @psychowaffle4478 Před měsícem

    Totally doable if you follow along to the letter. Awesome tutorial

  • @blockyuniverseproductions6587

    The grey area doesn't seem to be showing up. It highlights the regions, but the underlying map is fully visible.

    • @GSInteractive
      @GSInteractive Před měsícem

      Hard to say what's wrong based of this, but I hope you figured it out. Best advice is just to follow every step closely

  • @luisa9855
    @luisa9855 Před 2 měsíci

    how to draw the province line

    • @GSInteractive
      @GSInteractive Před měsícem

      Please elaborate and I'll see if I can help

  • @luisa9855
    @luisa9855 Před 2 měsíci

    👍

  • @vextronx
    @vextronx Před 2 měsíci

    This is extremely useful. Thank you!

  • @Ahmedtttttt5
    @Ahmedtttttt5 Před 2 měsíci

    اعطيتك ليك فقط من اجل المقدمة لانك تشبهني جدا و حتي الان بين 400M عربي لم اجد اي احد منهم يحب الخرائط و الجغرفيا و العاب الاستراتيجية مثل total war

  • @aarond5730
    @aarond5730 Před 2 měsíci

    Hi, great video I very much appreciate it. Did you draw the borders of the map at that stage by hand or did you use an algorithm? Thank you!

    • @GSInteractive
      @GSInteractive Před měsícem

      Hi :) Not sure what borders you refer to, but none of the tiles are placed by hand.

  • @rbarrososj
    @rbarrososj Před 2 měsíci

    Congratulations. I'm following your work with great admiration.

  • @user-zt2ve8gf1f
    @user-zt2ve8gf1f Před 3 měsíci

    I hope this message finds you well. I would like to begin by expressing my great happiness and admiration With the content of your CZcams channel and my deep gratitude and appreciation for your great efforts in providing distinguished educational lessons, Only, unfortunately, I ran into a problem at 17:42. I wrote a script exactly like yours, as if I had files Just like your files. However, I did not see the yellow arrow that appeared at minute 17:42 I searched a lot for the reason for the difference between us, but I did not find anything. Frankly, I ask you to explain to me the reason for this and solve the problem in a short video. Thank you again. I am very grateful to you for the time and effort you invest in producing high-quality content. (Google Translation )

  • @DavidCastrohe
    @DavidCastrohe Před 3 měsíci

    Also the import file don’t work

    • @GSInteractive
      @GSInteractive Před měsícem

      One commenter has posted the import_file function, hope it helps you :)

    • @DavidCastrohe
      @DavidCastrohe Před měsícem

      @@GSInteractive okay

  • @DavidCastrohe
    @DavidCastrohe Před 3 měsíci

    Can you make a tutorial of how to make that you Can conquest regions using this same tutorial please thank you

    • @GSInteractive
      @GSInteractive Před měsícem

      I have some plans for a more extensive tutorial in the future that will cover such topics

  • @CivilizedWasteland
    @CivilizedWasteland Před 3 měsíci

    I'm having trouble with enclaves and exclaves, i can't get it to cut out the shapes.

    • @vextronx
      @vextronx Před 2 měsíci

      Did you find any solution to this? The problem is most likely with the algorithm behind the "opaque_to_polygons" method, but I'm not sure how to deal with it.

    • @vextronx
      @vextronx Před 2 měsíci

      I found the solution (provided that we had the same one). Apparently that method doesn't like it when the background is completely transparent. I changed it to a colour that is not present in the json file, and it works like a charm!

    • @CivilizedWasteland
      @CivilizedWasteland Před 2 měsíci

      @@vextronx i changed the original so much now that it hardly looks the same, but my general strategy was checking if there was more than one polygon (if the array was larger than 1) Finding the polygon in the array of polygons with the biggest size(number in array) and then setting the whole array of polygons to one polygon which works but you have to set it up. Then i added 1 to the Z-level so its always above and none of the extra bits get hidden.

    • @GSInteractive
      @GSInteractive Před měsícem

      Glad that you found a solution :)

  • @WhoEvenFilms
    @WhoEvenFilms Před 3 měsíci

    Im having some issues and I honestly don't know why, do you have a download for this project?

    • @GSInteractive
      @GSInteractive Před měsícem

      Unfortunately not, but if you follow it closely it should work as expected

  • @brafesta
    @brafesta Před 3 měsíci

    hoi4 1200 huors 🤣🤣🤣

  • @can22224
    @can22224 Před 3 měsíci

    im stuck at the txt file because i cant put it into godot 3.5

  • @Sheopaard
    @Sheopaard Před 3 měsíci

    VERY COOL

  • @veridian-mapping
    @veridian-mapping Před 4 měsíci

    I love it❤ but will you make tutorial?

    • @GSInteractive
      @GSInteractive Před 4 měsíci

      Thank you so much! If there's enough demand for it I will make one down the line :)

    • @veridian-mapping
      @veridian-mapping Před 4 měsíci

      @@GSInteractiveI just noticed the thumbnail and it’s hilarious 😂that 😂

    • @Ahmedali-yq8wh
      @Ahmedali-yq8wh Před 2 měsíci

      @@GSInteractive I would love i full tutorial on this!!

  • @camden1403
    @camden1403 Před 4 měsíci

    Really useful, thanks

  • @STORYSEEKER1
    @STORYSEEKER1 Před 4 měsíci

    Nice

  • @Boildroid
    @Boildroid Před 4 měsíci

    What books to read to start with?

    • @GSInteractive
      @GSInteractive Před 4 měsíci

      To learn Godot?

    • @Boildroid
      @Boildroid Před 4 měsíci

      @@GSInteractive to learn procedural geometry

    • @GSInteractive
      @GSInteractive Před 4 měsíci

      @@Boildroid I don't know of any good books, in my case I used the Godot documentation to learn it. In addition to the docs they even have a tutorial with examples: docs.godotengine.org/en/stable/tutorials/3d/procedural_geometry/surfacetool.html

    • @Boildroid
      @Boildroid Před 4 měsíci

      @@GSInteractive Thanks.

  • @user-cg7no4zq9f
    @user-cg7no4zq9f Před 4 měsíci

    Keep going brev we need to copy u to take on paradox

  • @hitman10586
    @hitman10586 Před 4 měsíci

    Hi my friend great video. Can i pay you to help me, i need to be able to show snazzy map themed google map in godot...

    • @GSInteractive
      @GSInteractive Před 4 měsíci

      Hi! If you need specifics, feel free to ask and I'll try to help :)

    • @hitman10586
      @hitman10586 Před 3 měsíci

      I need web view plug infor godot 4

  • @blazecraftedu8194
    @blazecraftedu8194 Před 4 měsíci

    Hi, I wrote the code but it didn't work (invalid get index "#1fbc1f" on base :dictionary) could you help me?

    • @GSInteractive
      @GSInteractive Před 4 měsíci

      Hi! It seems to be a mismatch between the colors you chose and the one in the dictionary. In your example it is looking for the color #1fbc1f in the dictionary. My advice is to check all colors in the image and make sure they align with the colors in the dictionary.

  • @Republic10
    @Republic10 Před 5 měsíci

    im making one similar to aoh2 myself so this kinda helps

    • @GSInteractive
      @GSInteractive Před 4 měsíci

      Happy to hear it! Would love to see if you yet have something to showcase

  • @JohnnyMayHymn
    @JohnnyMayHymn Před 5 měsíci

    I went to make a map game, basically Risk++, during my research discovered paradox... aaaand got stuck on EU4... that was 5 years ago! lol

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      5 years... then you should be almost done with the tutorial by now

    • @JohnnyMayHymn
      @JohnnyMayHymn Před 5 měsíci

      @@GSInteractive I did a few of the tutorial missions, but I never did go back and finish them, lol. that's probably the hardest part of 4x game design, making it fun, complex AND intuitive

  • @regularname1825
    @regularname1825 Před 5 měsíci

    ey this is awesome, just one thing... my Area2D polygons show up as a single pixel area.. not exactly sure why it doesn't cover the entire region instead:/

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      Thank you! hard to say without more to go on, but try to print the pixel color dictionary and see if it appends coordinates? sounds like it overwrites and store only one coordinate per color.

    • @regularname1825
      @regularname1825 Před 5 měsíci

      @@GSInteractive sorry I'm a complete beginner in Godot and coming from languages like c++ dictionaries make my head hurt, I found the issue though! apparently: if pixel_color not in pixel_color_dict: pixel_color_dict[pixel_color] = [] pixel_color_dict[pixel_color].append(Vector2(x,y)) ( this was indented to be part of the if statement thus it would only append the first pixel_coordinates it found lol since the second time around it wouldn't fit the requirements, reason why I still think this kind of indentation syntax should be illegal!) thank you so much!

  • @klemklemius5091
    @klemklemius5091 Před 5 měsíci

    I wanted to make one as well but I have 0 idea how to 😭

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      it all starts with a desire. I have some tutorials here to get you started. I advice you just to play around and learn Godot, once you get a hang of it you can get your ideas to life :)

  • @ledsvik
    @ledsvik Před 5 měsíci

    Great video! Always wondered about that. Great thing is that you fast forward when coding, when it's not necessary to explain a lot. Keep up the good work! 😀

  • @tombkings6279
    @tombkings6279 Před 5 měsíci

    at 18:17 my regions dont show up. I send this comment as a S.O.S

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      S.O.S even! Just to double-check, you clicked the remote tab and not the local? If so, the problem is most likely either that there are no values in the dictionary it is looping through or that it doesn't instantiate the region scene. My advice is to first put a print inside the loop to try and find the error.

    • @tombkings6279
      @tombkings6279 Před 5 měsíci

      @@GSInteractive I forgot to put in the ready fuction: func _ready(): LoadRegions()

    • @DavidCastrohe
      @DavidCastrohe Před 3 měsíci

      @@GSInteractivewhat if loop don’t work

  • @wexordante
    @wexordante Před 5 měsíci

    Hello! I want create turn-base strategy 3d. If you want create video-tutorial and don't know about what made video, please, used my variant and help me. Thank you and good luck!!!

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      Hello and good luck to you as well! I am planning on releasing a new devlog soon, where I will dive more into the 3D development part. Hopefully there will be something you can build on yourself :)

  • @Jurok999
    @Jurok999 Před 5 měsíci

    very interesting, ive had an idea for a strategy game for a while now that uses drawn regions instead of provinces, would it be possible to make some sort of noise map or something similar that could be used to calculate things like: population, literacy, economy, etc., and then have the player draw sub divisions (provinces,states,etc.) on the world map? fyi i have no game dev experience, but godot might be the one i end up learning.

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      Thank you! I am not sure i totally understand your concept, but Godot have great drawing capabilities, if that is what you're looking for :)

    • @Jurok999
      @Jurok999 Před 5 měsíci

      @ractive yeah kinda, my main thought was players themselves would be able to draw the subdivisions within their country, instead of having to rely on a set province/state system. think hoi4 style front line but free form and for provinces instead. then use noise maps to define how much eco. population, etc; within those player defined zones. you could try to attach mechanics to it, say small zones are more efficiently influenced and built up but less impactful overall. you could assign governors to zones to better connect internal politics, have it based on government type. idk if i explained any better the second time but hopefully. it would be much better for internal management and economy, a weak point in alot of strategy games.

  • @pkk11x90
    @pkk11x90 Před 5 měsíci

    2 questions: what is the rest of the 1st scripy and what is Panel_Validation

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      This is just a devlog, but the script is more or less what I have done in my tutorial series: czcams.com/video/n3FvvmBDvBY/video.html Panel_validation is just a container containing a button that triggers a validation function. It is a function that checks the values in my regions.txt.

  • @LordeSam
    @LordeSam Před 5 měsíci

    I have the same goal, good luck to you!

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      Thank you and right back! Hope I will see some content from you one day :)

    • @nahruz.w3044
      @nahruz.w3044 Před 2 měsíci

      Same, I also have the same goal but I am way behind than both of you! Anyways good luck to us, I say. Thanks for uploading!

  • @TheRealAfroRick
    @TheRealAfroRick Před 5 měsíci

    Very cool. That's actually a LOT of progress. Don't sell yourself short!

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      Thank you for the motivational booster! :)

  • @triplem8484
    @triplem8484 Před 5 měsíci

    Great thanks so much for the tutorial! I hope more come soon.

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      My pleasure! There's more on the way ;)

  • @clavesi
    @clavesi Před 5 měsíci

    Just a heads up for anyone else experiencing a weird border effect. Turn off "Fix Alpha Border" in the Import tab.

    • @GSInteractive
      @GSInteractive Před 5 měsíci

      Thank you for contributing, it's appreciated!

  • @relunxet
    @relunxet Před 6 měsíci

    To make map strategy game , godot or unity is better ? or they are similar ?

    • @GSInteractive
      @GSInteractive Před 6 měsíci

      I choose Godot not because its better, but because its open source and very lightweight, I store the whole project on Github and work seamlessly between computers, even low-end laptop. Unity is more mature and you'll probably find more map strategy games made with it (For now...) But in the end I don't think it really matters what tool you use, they are both suited for the job. If you do choose Godot, I'll be happy to do some knowledge-sharing. Best of luck!

    • @relunxet
      @relunxet Před 6 měsíci

      @GSInteractive thanks for reply. I am thinking to do very easy low graphic mobile turn based strategy game where you can build your cities , grow your economy and build armies with movement points. Same like total war but battles also will be 2D. Can you make a tutorial like this too 👉👈❤️❤️❤️

    • @GSInteractive
      @GSInteractive Před 6 měsíci

      @@relunxet Like the idea! I'd love to see it when you come to that stage of development

    • @relunxet
      @relunxet Před 6 měsíci

      @GSInteractive hello, sir. Is there any discord server for game developers that I can get help from others? I really would like to do it but dont know many things

  • @cyberguy1345
    @cyberguy1345 Před 6 měsíci

    Please continue the series, it is very interesting as a fellow map game enjoyer.

    • @GSInteractive
      @GSInteractive Před 6 měsíci

      Glad to hear it! I am working on it, it just takes time to figure stuff out. Its unfortunately very little material out there regarding maps like this.

    • @subwooferwatches2043
      @subwooferwatches2043 Před 5 měsíci

      Yes pls