![Good Solution Interactive](/img/default-banner.jpg)
- 9
- 41 825
Good Solution Interactive
Norway
Registrace 24. 03. 2007
🎮 On a quest to create a grand strategy game!
✨ What to Expect:
🕹️ Godot Tutorials: From basics to advanced, dive into the world of Godot Game Engine.
📽️ Devlogs: Join the journey - challenges, triumphs, and the entire game dev process.
🔧 Tips & Techniques: Elevate your skills with coding tips, design strategies, and more.
🔔 Subscribe and hit the bell for the latest tutorials and devlogs! Let's create together. 🚀
✨ What to Expect:
🕹️ Godot Tutorials: From basics to advanced, dive into the world of Godot Game Engine.
📽️ Devlogs: Join the journey - challenges, triumphs, and the entire game dev process.
🔧 Tips & Techniques: Elevate your skills with coding tips, design strategies, and more.
🔔 Subscribe and hit the bell for the latest tutorials and devlogs! Let's create together. 🚀
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.
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
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.
Great video! Very fun to follow your thought process
can you make a globe style strategy map games?
i recognise the map! Risk (French Game)
I find this really interesting, would be great if you ever make a tutorial one day.
Thank you! I will :)
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.
I like the idea! Probably not so easy to implement, but I hope someone mages to do it :)
North germany mhu? 😅
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.
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.
@@GSInteractive Do you have a video that explains how to make a v2array and how you made the image file?
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?
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).
@@GSInteractive i understand thx
Дідько, брате, початок такий, що в тобі я бачу себе через пів року Нереальне дякую
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
Thank you for providing!
No problem
Спасибо бро, ты лучший
Thank you!
Totally doable if you follow along to the letter. Awesome tutorial
Thanks so much 😊
The grey area doesn't seem to be showing up. It highlights the regions, but the underlying map is fully visible.
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
how to draw the province line
Please elaborate and I'll see if I can help
👍
This is extremely useful. Thank you!
اعطيتك ليك فقط من اجل المقدمة لانك تشبهني جدا و حتي الان بين 400M عربي لم اجد اي احد منهم يحب الخرائط و الجغرفيا و العاب الاستراتيجية مثل total war
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!
Hi :) Not sure what borders you refer to, but none of the tiles are placed by hand.
Congratulations. I'm following your work with great admiration.
Thank you so much 😀
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 )
Also the import file don’t work
One commenter has posted the import_file function, hope it helps you :)
@@GSInteractive okay
Can you make a tutorial of how to make that you Can conquest regions using this same tutorial please thank you
I have some plans for a more extensive tutorial in the future that will cover such topics
I'm having trouble with enclaves and exclaves, i can't get it to cut out the shapes.
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.
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!
@@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.
Glad that you found a solution :)
Im having some issues and I honestly don't know why, do you have a download for this project?
Unfortunately not, but if you follow it closely it should work as expected
hoi4 1200 huors 🤣🤣🤣
So far... :D
im stuck at the txt file because i cant put it into godot 3.5
i changed to 4.2.2
Good! I hope that solved it for you
VERY COOL
Thank you!
I love it❤ but will you make tutorial?
Thank you so much! If there's enough demand for it I will make one down the line :)
@@GSInteractiveI just noticed the thumbnail and it’s hilarious 😂that 😂
@@GSInteractive I would love i full tutorial on this!!
Really useful, thanks
Glad to hear that!
Nice
What books to read to start with?
To learn Godot?
@@GSInteractive to learn procedural geometry
@@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
@@GSInteractive Thanks.
Keep going brev we need to copy u to take on paradox
Hehe, that's the goal!
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...
Hi! If you need specifics, feel free to ask and I'll try to help :)
I need web view plug infor godot 4
Hi, I wrote the code but it didn't work (invalid get index "#1fbc1f" on base :dictionary) could you help me?
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.
im making one similar to aoh2 myself so this kinda helps
Happy to hear it! Would love to see if you yet have something to showcase
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
5 years... then you should be almost done with the tutorial by now
@@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
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:/
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.
@@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!
I wanted to make one as well but I have 0 idea how to 😭
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 :)
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! 😀
Thank you :) Glad it was helpful!
at 18:17 my regions dont show up. I send this comment as a S.O.S
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.
@@GSInteractive I forgot to put in the ready fuction: func _ready(): LoadRegions()
@@GSInteractivewhat if loop don’t work
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!!!
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 :)
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.
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 :)
@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.
2 questions: what is the rest of the 1st scripy and what is Panel_Validation
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.
I have the same goal, good luck to you!
Thank you and right back! Hope I will see some content from you one day :)
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!
Very cool. That's actually a LOT of progress. Don't sell yourself short!
Thank you for the motivational booster! :)
Great thanks so much for the tutorial! I hope more come soon.
My pleasure! There's more on the way ;)
Just a heads up for anyone else experiencing a weird border effect. Turn off "Fix Alpha Border" in the Import tab.
Thank you for contributing, it's appreciated!
To make map strategy game , godot or unity is better ? or they are similar ?
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!
@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 👉👈❤️❤️❤️
@@relunxet Like the idea! I'd love to see it when you come to that stage of development
@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
Please continue the series, it is very interesting as a fellow map game enjoyer.
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.
Yes pls