|
| 27 May 2017 07:10 PM |
i know there's very literally an infinite amount of ways one could approach making something like this here's my ideas so far
- if easiest, most everything would take place on the client side however - event gets triggered from the server
also thinking
- there will be a gui but things like animations would take place in the physical world
i've always wanted to make something like this and i know how to script the issue is that i'm not sure what kind of methods i should write to make it happen
any advice?
|
|
|
| Report Abuse |
|
|
|
| 27 May 2017 07:13 PM |
for clarification
"- event gets triggered from the server"
event in this context refers to the start of the battle
examples would include things like
- user comes in contact with an enemy, touch event triggers battle or - after a random amount of time that the player spends moving, battle is triggered or - cinematic cutscene or animation occurs followed by battle triggered
as for the battle system itself i'm thinking that it may be most efficient to do everything on the client
it may end up being necessary to create it first and fix vulnerabilities later |
|
|
| Report Abuse |
|
|
|
| 27 May 2017 07:21 PM |
one idea i have in mind is a data structure of "attacks"
each attack will be the parent of values like "maxDamage" or "minDamage" or "Name"
and maybe a boolean "learned" to check if the user and/or enemy is able to use them but to use a random generator i'd have to iterate through the structure so maybe not
|
|
|
| Report Abuse |
|
|