ActionScript 2.0 :: Possible To Create Peer To Peer Games
Sep 6, 2011is it possible to create peer to peer games in Action script 2.0
View 1 Repliesis it possible to create peer to peer games in Action script 2.0
View 1 RepliesI am developing peer to peer video conference application with FMS4 but there is some latency problem.
View 1 RepliesWe developed one video chat application in which one user can chat communicate with anohter user. Latency is coming on one side in peer to peer connection.
View 2 RepliesWhen running a peer-assisted multicast video event, what determines when a peer might switch to another peer?What I'm asking is that a peer joins the group, is handed a few peers that may be decent cadidates to pull the video stream from.They start pulling that stream from peer1 and if they can't connect (or I assume if the connection is terrible) they will try the next peer.What if I want the peer to give up (and try another peer) if the quality of the stream coming from a peer is not terrible but is not great either.Is that configurable?
View 1 RepliesOne workaround for this seems to be very briefly using a server to authenticate and setup a peer to peer connection, such as Adobe Cirrus. Another workaround is simply not using peer-to-peer, and instead setting up a dedicated server using Java or PHP to communicate between users.
It seems to me, that if you can use Java on a server to communicate between two users, shouldn't you be able to use Java in your program to directly handle peer-to-peer communications, no server needed?
And, if it's at least theoretically possible, would someone mind pointing me to a good tutorial on integrating Flash and Java, and using Java to do peer-to-peer? The tutorials and examples I've managed to find so far on both subjects haven't been very illuminating.
I am trying to implement the actionscript program described at this address. http://cookbooks.adobe.com/post_Create_a_P2P_file_sharing_application-16539.html. It lets two flash client connect to the cirrus service and share a file using the flash peer to peer facilities.
The problem is that I would like to display a progress bar to the downloading client for long files. There does not seem to be any progress-type event been triggered by data sent by NetStream.Send. This particular function appears to have been created by adobe to send tiny update and meta-data code.
Is there a way to display a progress bar of downloaded data when using a netstream object?
The alternative would be to break the data into small packets and send them individually; then increment the progress bar as they are received by the client. Unfortunately this creates a lot of overhead for the simple problem of displaying a progress bar.
we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]
These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?
I am developing a simple text chat application with fms4, for this application, i am using adobe stratus service for developing this application and i just want to know about disconnected peerID.
View 1 RepliesI'm building a chat using Flex. The problem is how to do that new user get the list off all users online and added to the lists of all users. I try to put this information in DataGrid through dataProvider "callerns"[code]...Exchange user names and peer IDs between all connected users
View 1 RepliesI've installed FLASH MEDIA DEVELOPMENT SERVER 4 for testing. I wonder if there is a way to disable Stratus/Cirrus peer introduction services included in this version of FMS, because I need to simulate Flash Media Interactive Server 4 (not the Enterprise version) to adjust my application properly for cheaper solution.I am using NetStream.DIRECT_CONNECTIONS and I want to test, what are the differences of usage and how to do it right, even implement a fallback, when no peer introduction services are working on the server.
View 5 RepliesI am developing a video system using the peer-assisted networking of FMS. but when I have published video successed, I can't receive the video at some endpoint.
[Code]....
Adobe Cirrus offers a number of options for transferring data from peer to peer: Directed Routing, Object Replication and Multicasting to name a few.I just want to send the data to one specific peer, its fine for other peers to 'see' it in transit.
My experiments with Directed Routing (the obvious answer) have not gone well. all the sendto... methods fail, while NetGroup.post works fine on the same netgroup. I am concerned about using direct connections because of reliability.
Has anyone successfully implemented a one to one messaging strategy (not one to many), which can still message between non-connected peers - (Directed Routing) or solved this problem successfully?
I am considering various workarounds, but I am quite perplexed that these NetGroup methods: sendToNearest, sendToNeighbour & sendToAllNeighbours just seem to fail, for no apparent reason.
When attempting to take a screen capture using BitmapData.draw() on a Canvas containing a Video Component of an incoming stream, here is the error I encounter:
http://rd05.scs.mysite.com/samples/applications/LiveVideo/LiveVideord0 5.swf
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://rd05.scs.mysite.com/samples/applications/PeerVideo/PeerVideord0 5.swf cannot access
[code]....
I'm looking to create a new website with flash games, most of which need to be multiplayer.The games I had in mind are a battleship-type game, a pirate's dice game, and a texas holdem game.I'd also like to have a single player "wheel" that you can spin and win points off.I'd also like to have a points system where members wager their points over games.
View 6 Replieshow to create RPG games. The main focus point is inventory, collision, picking up items, getting a character to walk to where the mouse was clicked ect. Basically anything useful for a RPG game.
View 8 RepliesI am new to actionscript. I am following a tutorial on lynda. I am trying to learn how to create flash games. I am using flash cs4. The tutorial uses flash cs3 and and actionscript 3.0. I added a movie clip to my library and enabled export for actionscript. I got a dialog box that says "a definition for this class could not be found in the classpath, so one will automatically be generated in the swf file upon export." I click ok. Then when I try to test it, I get an error that says "call to possibly undefined method". What exactly am I doing wrong?
View 7 RepliesI wanted to create a motorcycle games using flash. but I do not know the basis. if anyone is willing to help?
View 1 RepliesI was reading on how to create tiled games and came across attachMovie_root.attachMovie("empty", "tiles", ++d);what exactly does attachMovie do?
View 3 RepliesIm thinking along the lines of[URL] Im a school teacher who would like to learn to make high quiality games for an interactive whiteboard.
View 1 RepliesI want to create a game similar to all the reaction time games out there, with the difference that my game has a set amount of time that you as the player will have to guess when it occurs (with a simple click). Each player has a number of tries where the closest time from the set time wins.
View 1 RepliesI have a question concerning CPU usage for games. What do people consider as an average or 'acceptable' amount of cpu usage for a game I've created a few different games, some which are more database driven have a very low cpu usage and small size.. others I've seen go up to 80% cpu usage..
I do try to keep a careful eye on this (I mean 80% of one core, of which I have 8.. I'm not sure how this will reflect on a single core/processor machine) but it does really concern me because as soon as I add an 'enterframe' function, spin something around or create a fair size animation it piles on the intensity to the cpu.. are there any professional tips anybody could offer me please ? I really want to make the web a better place for others by not overloading their computers
I am making this racing game, But I never understood how racing game's level.. I know other games use arrays sometime, or even XML. But i do not know how this works in terms of racing..
As you can see The level visual setup is on frame 2, which also has a label play. All that would cahnge per level is the game sprite. That holds everything that sets up the game, like the track, the car starting position, the bushes the waypoints the finish line. Everything really.
[Code]...
I am have a web site in Flex. And i want to add a few flash games in it.
I know [url]... has its games on facebook. Can I also add there games on my website?
Background: I've been coding in VIM/C++/OpenGL for a long time.I've come to realize that this (VIM/C++/OpenGL) isn't the way to learn about programming fancy/cool-looking/futuristic UIs; and that the design of such UIs belongs more so in the artistic/designer world of Flash.
Anyway, I currently have a machine with MacOSX. What software should I install? What book should I read to learn about the artistic/design side of these futuristic UIs? [It's okay if the tools to design them are mouse clicking + graphical rather than coding based].
Question: what software packages + books to read to learn about creating fancy-looking / futuristic UIs in flash?
I'm currently enrolled in liberal arts college, but I'm quite sure that game design is what I want to do with my life. I want to someday manage production and hopefully design my own engine. What summer programs should I be looking into? What books should I read? What particular skills should I be learning?
View 2 RepliesOn my venture for quick rendering within Flash, I've worked out that the only solution is to create sprite sheets on the fly. Sprite sheets are created from a MovieClip using BitmapData.draw().
I have a graphics manager class which has a method that accepts a MovieClip and an int. The MovieClip is the target to capture graphics from, and the int represents how many different angles the image can be rendered at within 360 degrees.
[Code]...
Any advice around this would be extremely helpful. Note: I have made sure to utilize BitmapData.dispose() within my own dispose() method defined by SpriteSheet to clear up RAM, I am more concerned about how much RAM I can use at one given time (all game assets that will render ready to be used).
I have seen _loc1,_loc2 etc used in games. Whats the purpose of that?
View 7 RepliesI am pretty good with C++, very good with PHP and MySQL, CSS, HTML, and JavaScript.What I want to do is make an online game where 2 people can play against each other online They will be able to pick their uniforms which will be saved to a MySQL database, and the uniforms will show the color they picked when they play online.Now I just want to know where to get started her
View 1 RepliesWhat is the best program to make flash games?
View 1 RepliesHere's the thing.I am making my first game, a click and drag (dress up if you want to ) game...It is finished and working..But since it serves as an educational aid in history group, it would be great if I could somehow add some kind of pop-up window with text describing every item in game..For example "14th century bascinet developed from the steel cap bla bla bla...".And if that is not possible is there some other way all this info about these items (there is about 24 items in game) could be fitted in this kind of application
View 4 Replies