asta
New Member
Posts: 4
|
Post by asta on Mar 7, 2024 15:38:48 GMT
I am working on creating a grand strategy game similar to Hearts of Iron and Koei's Three Kingdoms. In this game, battles will be conducted in a "BattleScene" in a Tactics RPG style, while in the "StrategyScene," I aim to deploy my faction's armed forces(like unit) to start in battles and conquer territories. However, I am struggling with how to make or having units created in the Tactics RPG section owned by each faction in other scenes, and how to initiate battles by pressing the "Battle" button in the "StrategyScene" to send my units into the "BattleScene." Additionally, I would like to equip gear to units created in this section in the "StrategyScene." and If I enable the use of consumable items during battles in the battle scene, how can I allow units to access and consume their owned items? I'm very very sorry, but I'm a complete beginner and haven't been able to find tutorials on completing a game of this genre, so I'm struggling to come up with solutions.
sorry.. too many question..
I'd love to apply what I've created in this project, but I'm having a hard time thinking of a way to do it.
If you don't understand the question and need a Unity project, we'd be happy to show you one.
(I'm using a translator!)
|
|
|
Post by Admin on Mar 7, 2024 16:27:08 GMT
Welcome to the forums! If I understand your questions, you are struggling to understand the overall architecture of a project. You need to learn how to save and use data between multiple scenes as well as how to separate between data and view. Unfortunately there is no "simple" answer for such a general question. The Tactics RPG project I created did not show much in the way of overall architecture as it was highly focused just on the tactics battle.
Fortunately, the newer D20 project I have created does a much better job showing an overall architecture. It changes between story scenes and battle scenes. It has mechanisms in place to save and load data, and helps show ways to associate views with data (like what prefab to load to represent a hero or monster based on the dynamic data). Since there is no "simple" answer to your question, you might consider trying to follow along with that project and see if it can help.
|
|
asta
New Member
Posts: 4
|
Post by asta on Mar 7, 2024 16:37:17 GMT
Thanks I'll take a look at your D20 game project and follow along, it's early in the morning here so I'll have to try it tomorrow hahaha Sadly, I'm going to have to give up on Tactics Rpg....
|
|
|
Post by Admin on Mar 7, 2024 17:13:44 GMT
Don't give up on it... consider instead that you are strategically delaying it so you can make more informed decisions. These are very complex projects, not usually attempted by beginners, so there is a lot to learn. Good luck!
|
|
asta
New Member
Posts: 4
|
Post by asta on Mar 7, 2024 22:18:43 GMT
That's right, I'm just going to make this project different, but I'll learn more here and try it next time.
First of all, I need to have each Faction have its own unit like Pokemon in the "strategy scene".
|
|
|
Post by Admin on Mar 11, 2024 13:10:02 GMT
Sine you are comparing your project to Pokemon, you may also consider reviewing the simple project I made that was inspired by it: theliquidfire.com/2017/02/01/unofficial-pokemon-board-game-intro/That project also has a more complete project architecture, and it is simpler than my current D20 RPG. Note that because for copyright reasons I did not include any of the actual assets it may be less convenient to follow along with. Still if it is just for learning it might be nice for you, and at a more appropriate learning level.
|
|
asta
New Member
Posts: 4
|
Post by asta on Mar 11, 2024 14:10:06 GMT
Thanks for the advice. I'm planning a game that is more of a strategy game than a Pokémon game, with only the combat part running as an SRPG. Haha... I'm currently making the SRPG part by watching other lectures, but I want to use units from different assets than the ones I'm watching, but I'm not sure how to port them.
|
|