Why Are (almost) All On-line Games Written In (Flash) Not Java

Mar 16, 2010

I absolutely love good defender games (e.g. Gemcraft, Protector: reclaiming the throne) as they can be intellectually quite challenging; it's like playing chess but a little less thinking and a bit more action. Sadly, there are not that many good ones out there and I thought I would create one myself and share it with the rest of the world by making it available on-line.I have never worked with ActionScript but when it comes to on-line games, this is the main choice. I have tried to find a decent 2D game in the form of a Java applet but to no avail. Why is this so? I could write the game, most comfortably, in Delphi for Win32 but then people would need to download the executable, which could deter some form downloading it, and also it would only work on Windows. I am also familiar with Java, having worked with Java for the last four years or so; although, I don't have much experience with games programming.

Should I not be deterred by the fact that all on-line games are written for in Flash and create my defender game as a Java applet, or should I consider learning ActionScript and games development for the ActionScript Virtual Machine (AS3 looks very much like Java... but still, it's an entirely new technology to me and I might never use it professionally.)

View 8 Replies


Similar Posts:


Java :: Scraping Data From Flash (Games)

Apr 20, 2010

I saw this video, and I am really curious how it was performed. My intuition is that he scraped pixels from the screen (one per 'box'), and then fed that into some program to determine the next move.

Is scraping pixel-by-pixel the way to do this, or is there a better way? I am looking to do something similar with either Java or Python.

View 2 Replies

Java :: Does KeyEvent Work With Flash Games

Apr 27, 2011

Is it possible to use the Java KeyEvent to sends keys to a flash game? I would like to be able to control a flash game from a Java program I have written.

View 2 Replies

ActionScript 3.0 :: Line Games - Transform A Line Drawn By The Player Into A Hit Detectable Sprite ?

Feb 13, 2009

I'm trying to work out how to create a simple demo that works as follows: A ball falls from the top of the stage.Player is able to draw a line anywhere on the stage. The ball will bounce/roll along the line such that the player can guide it at will. I don't think the coordinate rotation will be a problem for me but I can't figure out how to transform a line drawn by the player into a hit detectable sprite -- or realkly any way that I can get those line coordinates into my coordinate rotation routine. To keep it simple, I'm just working on the first part of the problem, getting the line to where I can hit test or know its position.Here is my code so far:

package
{
import flash.display.Sprite;
import flash.events.MouseEvent;[code]........

It always traces 0,0 instead of my current line coordinates - and even those I don't think would be sufficient.

View 4 Replies

ActionScript 2.0 :: Convert Code Written In Java?

Jul 19, 2005

I need some help with this issue. I want to convert code written in Java to Actionscript code.

Or to find the way to call Java applets with actionscript.

View 4 Replies

Java :: How Does Complex Web Browser Games Work

May 24, 2011

I am curious about how battlefield heroes works - it is a game playable in your web browser, and it is quite alot more complex than your average webbrowser game. Does anyone know what technology it is based on? Flash, ActiveX, Applets....? What technology does Age Of Empires Online use?

View 3 Replies

Iphone :: Write Mobile Games In ActionScript3 Rather Than Java / Objective-C?

May 6, 2011

I'm writing a simple game based on my physics engine for Android (in Java). Because I want to play with some special graphic effects performance is very important for me. I read on the Internet that you can write an application in ActionScript3 and then just export it as an iPhone/iPad or Android application. That means, I wouldn't have to rewrite everything from Java to Objective-C if I wanted to make version also for iPhone. Do you have any experience with writing games in ActionScript3 for both Android and iPhone/iPad? Are there any significant advantages / disadvantages?

View 4 Replies

ActionScript 2.0 :: Code In Flash To Read It Line By Line But Its Only Showing The First Line Out Of 5 Lines?

Dec 17, 2009

i have an xml file and i want my code in flash to read it line by line but its only showing the first line out of 5 lines.Below is the code:

var NigeriaNumber:Number;
var stateName:String;
var year:String;

[code].....

View 0 Replies

Media Server :: Live Encoding H264 To FMS Via Ffmpeg Command-line Or Java Code?

Feb 3, 2010

We just shipped Xuggler 3.4 this weekend which now has the ability to record and publish RTMP streams.  That means you can now write Xuggler (a Java API for encoding and decoding video) programs that can publish to FMS or record from FMS.
 
We've worked closely with the FFmpeg team to get the core RTMP stack into that project, and have put together a tutorial on how to use FFmpeg to record or publish streams, including re-encoding media to H264/AAC while publishing. 

View 7 Replies

How To Know That A Swf Was Written Using Flash Or Flex

Oct 19, 2009

How can you know that a swf was written using flash or flex?and is there a way to compile back to flex?

View 2 Replies

Professional :: Profiling An IOS App Written In Flash?

Jun 5, 2011

I have a fairly simple app that is running slower than expected on an iPhone. Even without animations I takes too long to respond to user actions.
 
What tools do you recommend for funding performance bottlenecks in an iOS app written in Flash?

View 1 Replies

Flash :: Download A Dynamic SWF Written In ASP.net?

Nov 15, 2011

I'm trying to download SWF files from a site the traditional way, but a few of the SWF files have been created dynamically through what I believe to be ASP.net 2.0.

Every attempt to D/Load results in the correct dimensions, height and width, but it just gives me empty white space.

View 1 Replies

Java :: Migrating Existing Java And Flash Applications To Android (Google TV)?

Aug 9, 2011

I have a client-server multigame suite for PC ("kind of" cross-platform using cygwin), which is developed in Java(game menus and database management), C++ (server side), and adobe Flash (game graphics & interaction).

I have never tried to develop for android, so i have no experience.I am thinking of migrating this suite to google TV. So i would like someone with android experience to give a clue on the following :

1) Is it going to be easy to migrate the Java application to an Android application?

2) What kind of Flash support does Android have? Can it load directly swf applications? Does it have to load swf's through browser?

3) Can i find any kind of performance indexes for google TV hardware?

View 1 Replies

Java :: Load External Page HTML Via Javascript Or Flash Or Java?

Nov 13, 2011

I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?

View 2 Replies

Java :: Any Opensource Alternative To Squish To Test Flash / Silverlight / Java Applet Gui Objects?

Jun 3, 2011

If one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.

In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.

View 2 Replies

Flash :: Compile A Swc With A Class Written In Flex

Jun 17, 2009

I want to use some assets ( buttons, etc. ) I'm creating in flash in a flex actionscript project. Since all my assets are bellow 10K, I'm not planning to load a swf ,wait until it's loaded and create the interface. I want to use a swc and just instance the clips I need. Also, I want my Button class to have some extra properties, and this is where the problem occurs.

If in the Linkage Properties in the Flash IDE I add a reference to a custom Button Class and trace a child of the Button MovieClip, I get the right trace. If then I create a Button, in the Main class in Flex, using the generated swc file and trace the same child of the Button MovieClip, I get null. Why is that ? Is there anyway to get around this ? I've considered using the Flex Component Kit, but since I'm working on a simple actionscript project and I'm not using the Flex framework, I see no point in using the Component Kit at this point.

View 2 Replies

Flash :: Check Web Application Status Written In Flex?

Jan 18, 2010

I have a typical web application that communicates in the following way: SWF file makes service calls to Java services (Remote object, over BlazeDS on Tomcat), which in turn communicates to database.

How do I implement a status check service (hosted on another domain) that will check if the ENTIRE app is up and running? Ideally, I'd make checker SWF that would load App SWF and called its function that would return something from the database (a naive service would count rows in table and hash it with MD5), but security constrains won't let me call loaded SWF's function.

Checking the java services only is not enough, as I am not checking the status of the SWF.

View 1 Replies

ActionScript 3.0 :: Written To The Screen After Export Flash Movie?

Jul 29, 2010

A quick noob question. I'm an animator I would like to see the actual frame written to the screen after export flash movie. I want to use it like a guide to timing animation.

View 2 Replies

ActionScript 3.0 :: Coloring Book Application Written In Flash?

Jul 21, 2011

[URL] I want to know how to color a image not with any color but with exact color for example sky we can only color with blue if we color with any other color that image(sky) doesn't color

View 1 Replies

ActionScript 3.0 :: Moving As3 Project Written In Flash Into Flash Builder?

Sep 25, 2009

I am having trouble transforming pure as3 projects written in flash into Flash builder projects.

I have a series of simple tutorials covering basic elements of actionscript 3. These were written in flash using the document class.

I would now like to switch over from using Flash to using Flash Builder.

Is there any way to import each of these working as3 files into new FB projects?

When I try to import using either "import > other > existing projects" or "import > Flash Builder Project" or "import > General > File system" I am not able to complete my import because (obviously) I am not importing a valid Eclipse project.

Is there no way to load a directory of AS3 into FB, set one of the classes as the "default application" and have FB build a new project around it?

I could create a new project in FB and then move the assets in manually, but I have over a hundred of these! It would be nice to be able to move from one environment to the other without difficulty.

View 2 Replies

Java :: Flash Is Java Needed To Use Red5

Jul 24, 2010

I'm working on a Flash project and someone recommended Red5 as a media streaming server. Do I need to know java to use build applications that use Red5 as their server?

View 2 Replies

Professional :: Tell If A Flash File Online Is Written In Either Flash 9 Or 10?

Apr 27, 2010

Is where any way to tell if a flash file online is written in either flash 9 or 10?

View 4 Replies

ActionScript 2.0 :: Make Flash MX Process Numbers Or Letters Written In A Textfield One By One?

Apr 29, 2003

how to make Flash MX process numbers or letters written in a textfield one by one? For example, if you write 2463 into a textfield, it would make a calculation like 2+4+6+3 and print the result on screen.

View 2 Replies

Can Create Some Flash Games

Jun 10, 2009

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 Replies

Flash :: Get Games To Add On My Website?

Dec 5, 2009

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?

View 1 Replies

UI Design In Flash Games?

Mar 21, 2010

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?

View 3 Replies

Actionscript 3 :: Using Too Much RAM In Flash Games?

Jan 22, 2012

On 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).

View 1 Replies

What Is The Best Program To Make Flash Games

Jun 10, 2009

What is the best program to make flash games?

View 1 Replies

ActionScript 3.0 :: Can't Create Flash Games

Aug 2, 2009

I 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 Replies

ActionScript 3.0 :: Using ProLog AI With Flash Games?

Mar 21, 2010

I'm developing a Risk like game in flash and I want to use an AI I developed using Prolog language.How can I use the Prolog code in actionscript? do I have to translate it to anther language? is there any automatic way of doing this?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved