"Royal war" Clash Royale belongs to the strategy against the card online game, so now that is a strategy card game that will have to play CARDS for players to choose between the groups with and prepare for the card module, so today we'll talk about the two modules is how to develop?
For deck choose
So we can say today in deck how this part is done!
First of all, we need to find some CARDS that oneself like, how do you choose this card? Look at the picture feel as if it was interesting?
And actually what we bookcase also, put a pile of 2 d images were added as he likes, make you own a good game card is with what want to use, the most main attributes is if the card is not enough good, can adjust, licentious (note: is a number of things)!
Card details are also important, we not only need to choose to use the card, let the same card data update, we can look at the picture below to the left of the toolbar, whenever we adjust the image location, the corresponding information is also in changes,
Placed in the tower, after all, our game is mainly to play the tower (ps: many people are will steal tower, haha), we here in the tower or spells, on the model, I also designed a lot of JianDa and turret, all provide players in my bag (do you want to put what kind of suit yourself!) ,
"Royal war" success is really is the result of his heroic numerical design, as well as a variety of dazzle beautiful spell card, of course the most important is the game leisure entertainment is quite high, three minutes a game of fast rhythm is very thoughtful,
The generation of heroes
For the generation of heroes, divided into the generation of peripheral control, and the actions to control two part of content, we here without any plug-ins, only one line of mindless instantiation of the object code, you could just finish effect is quite perfect! (our public offer control code, you can just copy and paste to fix)
Internal state control
For internal state control of the hero, I feel is more interesting part of the content, the unity also provided me with visualization tool is easy to understand, can make us very intuitive to see, the logical relationship between each state, everyone is playing games in the past, estimates that didn't focus on the hero actually there are many kinds of status (stunned, moving, running, tapping, death), and so on! Between the state and the 3 d model of the animation of binding, as well as the need according to the variation of the game logic control logic of the animation, the work still need to take some brain cells!
The generation of spell
Say so many "royal war" of the core or the use of a spell card, to spell, and actually generated is the same as the hero, than the generation of heroes only position one more option, the hero can only be generated within the scope of their own, spell card can directly to play in local camp,
Next time we can chat in the multiplayer is a game of how to develop and how to transplant to mobile phone! Today to talk about these!
If you have any place to play in the game of unpleasant place, that is to come with me learning game programming, developing a belongs to own "the royal war!" Welcome to give me a message to discuss!
Reprinted from: sharp and education
https://www.insideria.cn/article/30563