Hi guys,
I'm a webdeveloper specialized in php / javascript / html and css (i know some as3 too). Last times i was thinking about creating a tibia-alike flash game but not to "dream about stars" i'll go more like step by step. At the start i'd like to create something basic like 100x100 field without any elements on it where u would login (not register) with a name (just checking if the same name is not online) and kind of basic spell to attack (and hp ofc) nothing else for start. My question is how does client communicate with server and vice versa (yes via udp packets i know). To be exact my questions are:
1. How does server notify client what happend (get dmg'd/healed/some1 did enter the screen/move)?
2. How does client request updating the screen or its server sending packets to client when something happens (does server sends packet to client on any nearby event (for example 15 sqm range) or does client request "update" each ... ms (or right after last answer) and then server responds with (for example) what happen or sends empty answer(nothing happend)?
3. As for now its what mostly burns my brain i'll ask if you got any ready solutions (kind of flash YATC i havent heard about) or mo/mmo flash/js game framework?
4. Any tips?
I'm not another kid having a wish of making own game, played with few game frameworks like oogre or xna, did some basic games in flash or jquery and im kind of "missing old good game" and atleast im a programmist so I could have a point of starting a project like this. Ofc if I started i'd post here everything constantly .
Regards/Wiesiek.
PS. Move to another board if i picked wrong one.
I'm a webdeveloper specialized in php / javascript / html and css (i know some as3 too). Last times i was thinking about creating a tibia-alike flash game but not to "dream about stars" i'll go more like step by step. At the start i'd like to create something basic like 100x100 field without any elements on it where u would login (not register) with a name (just checking if the same name is not online) and kind of basic spell to attack (and hp ofc) nothing else for start. My question is how does client communicate with server and vice versa (yes via udp packets i know). To be exact my questions are:
1. How does server notify client what happend (get dmg'd/healed/some1 did enter the screen/move)?
2. How does client request updating the screen or its server sending packets to client when something happens (does server sends packet to client on any nearby event (for example 15 sqm range) or does client request "update" each ... ms (or right after last answer) and then server responds with (for example) what happen or sends empty answer(nothing happend)?
3. As for now its what mostly burns my brain i'll ask if you got any ready solutions (kind of flash YATC i havent heard about) or mo/mmo flash/js game framework?
4. Any tips?
I'm not another kid having a wish of making own game, played with few game frameworks like oogre or xna, did some basic games in flash or jquery and im kind of "missing old good game" and atleast im a programmist so I could have a point of starting a project like this. Ofc if I started i'd post here everything constantly .
Regards/Wiesiek.
PS. Move to another board if i picked wrong one.