|
Post by Tractor on Nov 7, 2019 7:46:19 GMT
Hello Have you any suggestions on a tutorial portion of the game - like where it does popups saying - this is your mana then you can hit next and then say it may ask you to cast a certain card then you have to ---then it says - things like that - and takes you through the game to just teach you what things do - just wondering if you can think of any way to easily incorporate this with the structure of this game. thanks alot for teaching so well!
|
|
|
Post by Admin on Nov 7, 2019 15:21:41 GMT
Great question. In my experience, these tutorials were always added at the end, as an after thought, so its nice to see someone ask ahead of time. For this I think that a state machine pattern is pretty helpful. You can see examples of their use in both the Tactics RPG and Unofficial Pokemon Board Game projects on my site if you dont already know that pattern. As a bonus, both of those projects have screens such as dialog or menus that could be thought of as your tutorial popup step.
|
|
|
Post by Tractor on Nov 8, 2019 6:56:45 GMT
Cool thanks for the reply - Are you thinking something like a Tutorial System with maybe some popups or adding a state like a tutorial state like i see in some of the code you have there then and some how incorporate that state to interact somehow controlling the players valid inputs for the tutorial only whilst not affecting the normal game play when the tutorial is complete / skipped?
trying to think the simplest / effective way without messing with the systems you created - one alternative i thought of is creating an interactive video as well that the player just plays through.
|
|
|
Post by Admin on Nov 8, 2019 19:23:29 GMT
The decisions here are partially related to how "invasive" the tutorial should be. A "Tutorial System" is certainly in order because it can inform other systems whether or not the tutorial is even active or not, save status as portions or the entire tutorial has been completed, etc. If the code needs to even prevent input or actions to control the way the tutorial will go, then you may find it needs to invade code all over the place. If you're the decision maker here, you may "design" your tutorial to be simpler and the video is not a bad idea.
|
|