iDevGames Forums
Multiplayer Kit - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Community Zone (/forum-4.html)
+--- Forum: Classifieds (/forum-12.html)
+---- Forum: Uncategorized (/forum-27.html)
+---- Thread: Multiplayer Kit (/thread-9957.html)



Multiplayer Kit - Zerano - Mar 30, 2012 03:29 PM

Multiplayer Kit using Unity3d and SFS2x

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"
Private Chat

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
3. Npc

spawnig npcs from database
structure for AI to add easy diffrent AI behavior
sending status to client( hp, level)
die

3.1 AI

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 sees 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 --> Walk based on saved points, random walk
Diffrent controllers to handle the ai.

For more information, screens/videos visit my website: http://zerano-unity3d.com/wp/