No, that does help tremendously.  I really just need to get in the mindset
of all of this and then I'll grasp it.  Like I said before, I'm kinda new to
some of these concepts.  I'll start trying what you suggested and let you
know how it goes.  Thanks!

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Dominick Accattato
Sent: Wednesday, November 29, 2006 4:56 PM
To: [email protected]
Subject: Re: [Red5] need some basic guidance starting a new app

 

awwe don't feel that way.  The list is jumpin.... I guess the only reason I
didn't reply was because I wasn't sure how much you would get from the
information I'll provide.. Theres many ways to approach this.

User logs into default room.  <-- just connect to default application 
Gets a list of rooms <--- you can provide a static list of rooms in a shared
object
the sharedobject of the list of rooms basically will be an associative array
holding netconnection uri's of the rooms

O nce in a room, the user recieves the positions for all the objects, a
recieves updates for the positions when objects are moved. 

so if there is a square, circle, and triangle in the room.. create three
slots in a sharedObject called roomObjects.  each slot contains the
coordinates.  

Then when those objects are dragged, you can just set the coordiantes of the
sharedobject slot and the synch will happen for all users in the room.  

You can check out my example in the red5 distrobution called
DevNotes_Connection...  It has all the sharedobject code and connection
code.. 

Again, not sure if any of this helps.



On 11/29/06, Corky Brown <[EMAIL PROTECTED]> wrote:

Nobody wants to help me????  Please?

 

  _____  

From: [EMAIL PROTECTED] [mailto: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] On Behalf Of Corky Brown
Sent: Tuesday, November 28, 2006 12:21 PM
To: [email protected]
Subject: [Red5] need some basic guidance starting a new app

 

Hi everyone, thanks for creating a great server.. its just what I'm looking
for!  Only problem is, I'm fairly new to Java.  You guys have done a great
job providing the API, and there are some pretty good examples out there to
learn from, but I've kinda hit a wall.

 

I'm creating a game (which I had working w/ the SmartFoxServer, but they
wanted too much $$$) where users share objects in a room that can be dragged
around.  I'm able to connect to the server, etc, and run some methods I've
written, but I run into problems when trying to work w/ the Red5 API.  

 

Basically, here's the order of events for a user:

-          Logs in to the server anonymously.

-          Joins a default room.

-          Has the ability to get a room list and switch rooms.

-          Once in a room, the user recieves the positions for all the
objects, a recieves updates for the positions when objects are moved.

 

I've already decided that I will simply send coordinates when a position is
updated, rather than do it in (close to) real-time, for speed reasons.

 

Now, I'm not asking for you guys to write the program for me :-)  I simply
thought if someone would be willing to push me in the right direction, I
could probably figure it out from there.  I guess my issue is, I have no
idea how to call the functions I need that are in the API.  I can see that a
'scope' is what I should use for rooms, and I can create scopes, but I
cannot access some functions and onResult returns 'null'.  I started w/ the
examples and used the ApplicationAdapter class..

 

Ok, I'll stop there before I confuse you w/ my confusion :-)  Help, please? 


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org






-- 
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com  <http://www.newviewnetworks.com> 

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to