| Reply | « Previous Thread | Next Thread » |
|
I have a game room created and two players joined that game room. I want to start the game in which those two players would match against each other.
What will call to gameStart(..) do? Will it enable routing game packets frm player to player or something liek that? And how should I call gameStart(..) not to recieve VSC_ALREADY_JOIN error? |
|
A player is already in a game when they are in a gameroom.
The SNAP Mobile Matchmaking functions gameStart (both join & Challenge modes), randomStart, and sortStart are meant to be used to match up players and join them into a gameroom. You are calling gameStart while the players are already in the gameroom, thus you get the already joined error. The matchmaking functions exist to make it easy for players to find and join matches together. Please see the Game Developer's Guide For J2ME Clients section on matchmaking for more information. Thanks, Matt |
|
What is the difference between being in-game and not being? Does SNAP send data differently when a player is in game?
|
|
When a user is in-game, data is not sent differently.
However, what data the user receives is/can be restricted. This takes 2 forms. 1) IMPS (instant messaging and presence) data is restricted by extended presence policy. See game dev guide for more information. 2) SNAP (game router) event masking policy. The event masking policy for the user set at login. Please see the game developers guide for more information about this. Also, when a user joins a gameroom manually they are considered in-game. When a user starts a matchmaking session such as randomStart or challengeStart and while waiting for another user to begin they are technically in a gameroom but not yet in-game. Cheers, Matt |
|
hullo czubaka.Its nice to hear that u r already into developing a game using this SNAp.keep goin. How to go about creatin a game in SNAP?please guide me a little bit.I m not jus new to SNAP but even new to j2me(jus 6 months).I have worked only on MIDP1.0 so far.i have downloaded all relevent material n want to go ahead with the SNAp platform for creating a mltiplyr gm.How should i move?i mean, the right way or approach for this.
Regards Simcard |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Bluetooth PARK mode | vbonnefond | Bluetooth Technology | 2 | 2008-11-03 13:05 |
| Nokia 30: GPRS & CSD mode simultaneously? | Alanago | Nokia M2M | 4 | 2005-02-15 17:00 |
| Controlling the edit mode of a TextField in 6100 | ronitr | Mobile Java General | 1 | 2004-05-06 16:13 |
| What can we learn from this ? | dtianx | Mobile Java Networking & Messaging & Security | 0 | 2004-04-28 04:45 |
| Sniff mode interoperability problem with 6310i | jeffhu | Bluetooth Technology | 3 | 2002-09-12 05:29 |