|
Post by hawaiiand on Jun 22, 2018 18:08:37 GMT
First, thank you so much for all the effort you put into the tutorials. They are fantastic. I'm completely new to game development and OOP in general, but come from a database design background. I found the tutorials incredibly well made, even if I don't totally have a grasp of things like polymorphism and inheritance. If I wasnt broke with 3 kids, I would totally be donating on the patreon, and I apologize that I'm not in a place where I can do that for you now.
A couple questions for anyone who might be able to provide some guidance:
I want to randomize the board instead of having pre-created ones (lets ignore the fact that you could spawn units on an island or pillar unable to do anything for the battle). Is the right approach to add a new "state" GenerateBoard that runs before InitBattle, and passes the LevelData it generates to the InitState (and then, removing the LevelData property form the battle controller object in the scene?)
In GenerateBoard, I was thinking of just doing a for-loop and adding random vector3 values to a List. Is there anything I'm missing?
Any other tips anyone has would be appreciated. I was able to follow along in the tutorial and get a playable version exactly how it was explained, but I can't claim to totally understand how it all worked out. If you have any suggestions on parts of the tutorial that I can refer to as I try to add this GenerateBoard and accomplish this task, I would be grateful.
|
|