Php :: What Technology Can Be Used For This Browserbased Ping-pong Game
Jun 6, 2011
I just saw the McDonald's commercial which I have linked to below and I would like to try developing something similar for a festival. We have been talking about making a game in which the user has to use their iPhone and something like what McDonald's has done would be great.My question is if anyone have an idea how I can send the data and what technology they might have used? I imagine making two websites. One on which the game itself is shown and one which is the controller but how would I make sure that the data is sent and handled fast enough?I am familiar with JavaScript and PHP. I have been working a bit with flash and ActionScript and I am wondering if that might be best for the game (obviously not the controller)You can see the McDonald's commercial on the link below. Basically, the user visits a webpage which is the controller and then they are able to play the ping-pong game on the big screen.
how to create a Pong game: http:[url].... There's a link to the source code: http:[url]...file=pong4.txt.When I add the source code to a new AS file (using Flash CS 5.5), save it as "Main.as", create a new Fla and link it in the actionscript settings to the Main.as and run it, I get errors:
C:UsersxxxDesktopP4Main.as, Line 1171093: Syntax error.C:UsersxxxDesktopP4Main.as, Line 1171084: Syntax error: expecting rightparen before 270.C:UsersxxxDesktopP4Main.as, Line 1211093: Syntax error.C:UsersxxxDesktopP4Main.as, Line 1211084: Syntax error: expecting rightparen before 270[code]....
I am using the pong game tutorial, with all of the actionscript and it is all working except I have one problem I am making it a different size...I want it to fit in a 120x600 area and the ball and bar and game arena are all fitting in there, however, when I put the bricks in there they line up to the old arena. So basically about half of the bricks fit into the playing area and half of them don't, the bricks are also too big. How to make all of the bricks fit in the area of 120x600?
I have attached my FLA & I was just wondering if anyone out there could tell me how to make it so that my paddle will move so that the pong game is playable.
I am using the pong game tutorial, with all of the actionscript and it is all working except i have one problem I am making it a different size...I want it to fit in a 120x600 area and the ball and bar and game arena are all fitting in there, however, when I put the bricks in there they line up to the old arena. So basically about half of the bricks fit into the playing area and half of them don't, the bricks are also too big...Does anyone know how to make all of the bricks fit in the area of 120x600?
I'd like to port my Zuma-like game to browsers. It's not really complex 2D arcade game, just some animations and particle systems - really similar in complexity to the one I linked to.I'm wondering what technology should I use. I'm thinking about Java, Flash or maybe some solution working without a plugin (SVG, Canvas?). The cost of the technology is also really important to me (I'd prefer a free solution of course, but don't know if it's possible).It's really probable that I'll also port the game to Anrdoid and iPhone. Maybe if I picked Java, I could write one version that would work on both: browsers and Android phones?
im planning on making a flash multiplayer game with using the kinda new p2p features of flash.my question is: is it possible to add a option for players to host a game on their own root server for better connection? or is it impossible to host a flash server without a gui on a linux root?
I'm not really good with AS3 yet so maybe somebody can help meI found a pong game tutorial and it works fine.[code]Now I want that two computers play against eachother.So no player input only two computer that play.I tried a lot with the script but it doesn't work.
I would like to code an script that would with some trial and error method learn to play QWOP game, that is available at Flash format on Internet (more information on QWOP). I found out there are some challenges on it: The program is available on Flash and I don't know how any Script (I am planning to use JavaScript) could use virtually its UI, it means to send the appropriate key strokes to the game UI. I know Java Script is not the easiest language to master and especially there are challenges on such a complicated coding aim as Artificial Intelligence.
I would like to use a flash interface to display a list of 10. IP Address's and have a constant Ping on them, thenbe able to print out a report. The interface I can handel, is there a way to have Flash (Via PHP or XML) ping an IP address?
I have created a network trouble shooting tool in flash. The design will have all the componenets on the screen. I have to ping to every component once in minute. I have finished the design part. how do i ping a webaddress or IP in flash.
Im busy makin an External aplication build in flash for a game community. Its gonna read a rss feed showing number of players online and such.
My question is, is it possible to let flash ping an ip/website. For example by downloading that rssfeed, and calculating how low it takes? And show that latency in the aplication
I have page in my asp.net mvc website with a flash app on it, and the user can stay on that page for hours, but his auth cookie/session is going to expire, so I'm thinking to create a PingController and to call it using jquery $.post each 20 minutes.
I want to compile images and sound into a embeddable Flash video online, similarly to what onetruemedia.com already does. What technology do they use?How would I go about setting up a server to do the same?
I want to develop an app, which will have a GUI, and will do real time processing of user input. App should work in most common web browsers, and processing will be client side. Also, the app must only work if user is online and logged in to my website. Something like a "license". People should not be able to hack/reverse engineer the code etc. Is it possible to do what I want using Java Applet or a Flash application? Any other technology?
I would like to know the html5 has the complete feature to develop the web2.0 and i want to know from these technology like flex, javafx and html5 which one will be the best to develop the web2.0?
I need some little 3D rendering in my browser application. Unfortunatly the Internet Explorer 8 is not going to support WebGL, Canvas 2D or SVG. And the Windows XP users can't install the IE9 (which supports at least Canvas 2D). What do you think about Plugin-based alternatives?
I mean Silverlight with XNA 3D seems not to be supported any longer.Flash has a bad reputation if I ask Apple. What do you think about Unity3D?Are there others?
For a new application I need to make a decision on what frontend technology to use. I know this question has been asked before and I've found several studies, blogs and other references discussing Flash vs. Silverlight vs HTML5 vs JavaFX, but in my case there is a business requirement that complicates the situation.The application must run as an offline, stand-alone desktop application and as an online client-server application and perhaps in the future it needs to run on tablets as well. And to minimise maintenance we would like to have just one code-base. The server side should preferably run on Linux.
From earlier projects we have experience with Java and Flex for the client-server configuration, but I haven't found out if it is possible to package this into a stand-alone application. Java and JavaFX would be an alternative, but JavaFX still seems to be immature and lacking development tools. If we go for Silverlight we would more or less have to switch to C# or C++ for the backend, or use something like JNBridge, which would make the stand-alone installation more complicated. And HTML5 would be the choice for the future, but less suited for a complex application and we might run into browser-dependencies.So I haven't found the ideal solution yet and could use some help. Perhaps we need to limit the one code-base requirement only for the server/backend side and accept different front-ends for different usages.
I am trying to learn the technology stack behind StupeFlix and Animoto. I find the whole process very interesting and it is amazing how both of them are able to create professional looking videos so quickly.
As far as I can tell they use a combination of Flash based animations and after effects. Does anyone know the whole process? ie. if I were to create my own stupeflix, what kind of technology, servers etc would I need?
This question is targeted towards learning new technology so please feel free to modify my question to reflect that better.
I'm working on a application that requires a feature-rich media view, including images, videos, and smooth sequencing based on capture time. The backend is currently written in Rails.
What's currently the best, most mature option for implementing RIAs with Rails on the backend? I've looked at Flex, Laszlo, and ExtJS. ExtJS is interesting to me because I'm really not a fan of pure Flash UIs, but it seems highly targeted towards business apps, not entertainment applications like this.
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?
- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project ) - C#/Silverlight ?
I'm developing a Rich Internet Application. So far, I have been working on the database and middle-tier .Net for the application. I'm now starting to work on the front-end UI and was planning to use Silverlight, which I'm currently learning. However, based on recent news it looks like Silverlight might be a bad choice for a long-term application.
The application will be a complex user-interface based around social networking, but will involve a lot of animated elements, funky UI pieces and video/audio. what is the best technology to 'buy into' for this, given that it needs to be backed by a .Net 3-tier system?
I am trying to find the IP address using as3 in adobe Flash professional cs5.5 and I think it is not possible from AS3 without using any server side technology(maybe I am wrong).But I don't know any server side technology like PHP..etc.
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )