Multiplayer Kit
Posted: 27 Feb 2012, 12:44
Made with smartfoxserver2x, MySql and Unity3d
1. General
2. Character
And a lot more, get a full description + detailed videos here: http://zerano-unity3d.com/wp/?p=267
1. General
- registration inside client via php
- login to the game using the MySql database
- creating and saving character to MySql
- choosing character
- "ID Factory"
2. Character
- sending keyboard press to server
- moving character
- Inventory
- Equip/Unequip
- Pickup Items/Drop Items
- Stats with Regeneration
- Death
- "passive" Skills---> increase the hit chance and damage
- Talents 2 of each class
- Private Chat
- spawnig npcs from database
- structure for AI to add easy diffrent AI behavior
- sending status to client( hp, level)
- die
- Attacking event handler --> fires the attacking state
- See player event handler
- Not see player event handler
- NothingToDo event handler---> clear events
- Aggro state --> looking for player to attack
- Moving to Spawnpoint state
- Active state ---> active , random walk waiting of the player
- Thinking state ---> thinking what ai state/handler to fire
- Desires
- Aggression desire --> will attack if he see the player
- Attack desire
- Move to target desire --> following a target (for attack or summon/animal control)
- Move to Spawnpoint desire --> if to far away the npc will walk to his spawnpoint
- Walk desire --> random walk
- Diffrent controllers to handle the ai.
And a lot more, get a full description + detailed videos here: http://zerano-unity3d.com/wp/?p=267