Javascript :: Language To Choose For A Board Game (flash Or HTML5)?

Dec 7, 2010

I am developing a web based multi-player board game and wondering what the best language for the UI would be? Its a board game similar to Go but a lot simpler.I have two options flash or the much touted HTML5 with JS. I have to learn both though I have basic knowledge of JS.The problem with flash is I have to pay for the server component but the UI development could be easier and have a richer look and feel to it. With HTML5 + JS there is no cost involved but the UI development I feel will be clunky and not smooth. This I am not sure.

View 6 Replies


Similar Posts:


Javascript :: Porting An HTML5 Canvas WebGL Game To Flash

Sep 23, 2011

I had created an HTML5 Canvas WebGL game in January for the Mozilla Game On 2010 competition (pretty late, I know - I never released it until yesterday). Now I want to port it to Flash ActionScript 3.0 for a college assignment.I'm well versed with both static languages like C/C++ and Java; and dynamic languages like Python and JavaScript. However I don't know ActionScript, but since it's a subset of ECMAScript it should be pretty easy to understand.I want to learn programming in ActionScript 3.0 so that I may be able to port my game in Flash. To be more specific, I want to know more about:How is ActionScript different from Browser and Server-Side JavaScript, and basics.OpenGL programming in ActionScript (including loading textures, shaders, etc).How to create a HUD in Flash using a 2D HTML5 Canvas like API (in my game I have 2 canvases, one for the 3D game and another overlaying it for the heads-up display).Support for vector and matrix calculations in ActionScript.How to load assets like audio and sprites in Flash.It would be even more helpful if you would check my source code in JavaScript and suggest the best possible way for me to tackle this problem.The code for the main game engine and the game itself may be found in my Github repository.

View 2 Replies

Choose Between Flash And Html5

Jun 1, 2011

I am planning to develop a facebook application which uses iframe concept, it involves some rich UI and image manipulation, I am new to html5 but aware of flex

View 2 Replies

ActionScript 3.0 :: A Board Game - Get Classes To Putting Together A Board Game?

Mar 22, 2010

where to get classes to putting together a board game, free of course.I do not want to use them actually but get the idea of how mine would incorporate into the classes.I have a board game where I want each square on the board to know if it is occupied or not, to change its color, and to keep track of what is actually happening with it.

View 2 Replies

ActionScript 1/2 :: Flash Game High Scores Board

Sep 29, 2010

I know this is a subject that gets covered a lot as i have found a ton of tutorials that show a million different ways to create a high scores board on a flash game. So I decided to go out on a limb and pick a tutorial out to try. Well I have now tried 3 different ones and have yet to get a working high scores board with my game. [URL]

That is the link to the most recent attempts to creat my high scores board. When I finished everything the way the tutorial said it seemed like everything would work and then it just didnt. After spending oh about 40 plus hours trying to make a high scores board I am getting very frustrated. My game is scripted in AS2 and I have access to mysql and can set up unlimited databases.

View 7 Replies

Flash :: Created A Free Game With Html5 Canvas?

Aug 16, 2011

I want to make a free game with flash. Several month ago, I created a free game with html5 canvas. But unfortunately, most of people who access the page of the game use old version IEs and they can not play the html5 canvas game. So I want make flash version of it.

Can I use Flash builder to create flash game? Or I have to buy Flash professional? Or are there other good softwares? I hope I could create flash games with Flash builder, because Flash pro is much more expensive than Flash builder. If I have to buy Flash pro, I'll buy it. But is it normal to pay more than 600 dollars for developing a free game? There are a lot of free flash games on the Internet. Did their developers pay 600 dollars to create their free games?

View 4 Replies

Javascript :: Webcams In HTML5 Without Flash Or Silverlight

Dec 10, 2011

So now Adobe has pulled the plug on Mobile Flash and are pushing more for HTML5, and Silverlight has pulled the plug too, what's next for interactive video content. So if they die out (as they are currently trying to do) how do we access web cams (or even phone cams) on websites. The HTML5 Media Capture looks like it doesn't support streams only Files, so that could be out, is there any alternatives at the moment, or in the near future?

View 1 Replies

Javascript :: Replace Flash With Jquery/html5?

Jan 23, 2012

I have a project with that uses flash for most pages. Now the client want to replace the flash with jquery/html. So from where I have to start with?

The project has swf file and it is embedded by swfobject(javascript). with giving a idea or steps how I can convert the swf to javascript/html?

View 3 Replies

Javascript :: Capture Audio Input With Flash Or Html5?

Dec 21, 2011

I am trying to capture the microphone and send the recording to my server.. I tried this method here but it records only a big WAV and the upload can be slow sometimes. Is there a way to capture the voice and compress it on the client side? Best method would be to send the recording while recording, but I have no Idea if this is possible. (It works for YouTube Live Webcam recording, it must work for Audio only too..)

View 1 Replies

Javascript :: Control The Video When Flash Takes Over From HTML5?

Jan 28, 2012

I have a HTML5 video with jquery hooking into the player like so: video.currentTime += 1; But when IE comes along and insists on using Flash plugins, none of my JQ will work - How am i supposed to control the video when Flash takes over from HTML5?

The player im falling back to is JQplayer as "player.swf"

View 2 Replies

Flash :: Game Development - Comet / JS / PHP / HTML5 Versus In Secure Multiplayer Gamedevelopment

Sep 1, 2011

I would like to create a multiplayer online game (tic-tac-toe/chess) and i am not sure which language to use. I am familiar with JS/PHP and heard about comet Does comet stand a chance against Flash, if yes whats the limitations except the lack of smooth animations like flash allows? What are the differences regarding resources and memory needed? SECURITY: Is it possible to create Flash-games without any chance to modify (flash-)cookies etc... for cheating? i know lot of questions, i do hope for your recommendations into the reight direction.

View 1 Replies

Javascript :: Possible To Access The Internal Elements Of An Embedded Flash Object Via A Scripting Language?

Nov 16, 2010

I would like to be able to access all the components of say a Flash image gallery on someone else's site. I want to be able to find the images, image coordinates, action script code, audio files, video, etc. I do not want to manipulate these elements, I just want to view them and their related information.

View 2 Replies

Javascript :: Client Technology Choice - Any HTML5/Canvas Libraries As Capable As Flash/Flex?

Jan 7, 2011

I built a prototype in Adobe Flex, they (customers) liked it. Everything was fine until they later told me that iPads / iOS needs to be supported too.I checked out Adobe's Packager for iPhone. We're evaluating that and we will know if it works out in a couple of days. (We need to get through Apple's red tape and certificates raj so this angle is delayed by a few days!)

There is a growing voice for using HTML5/Canvas as a technology platform itself. And despite being quite proficient in Flex, I think this makes sense.

I'm in need of a HTML5 library that can:

Render "widgets" i.e. containers with forms and components(this should be easy and possible using POHJC - Plain old HTML,JavaScript and CSS )Provide a Tree like control for laying out some data Provide a Canvas where data structures can be represented as basic shapes Provide drag and drop capabilities between Trees, Buttons and Canvas Provide some sort of Tab Navigator container (I guess JQuery works here) Interact with back-end services (JSON/XML calls will be okay, but mapping directly with back-end entities will be awesome!)Renders on latest versions of major browsers, Android OS and iOS (WebKit for mobile?)

I'm ready to give JQuery & JQuery UI a try. I looked at Sencha / ExtJS but it seems we need to maintain two code bases one for normal browsers and the other for mobiles (is that correct?)Single code base, I don't want to suggest to them that multiple code bases for the client need to be maintained. That's a last resort option and would lead to complete ruling out of HTML5 with Flash apps and native apps being developed.Canvas capabilities - I don't want to work with raw canvas and shape tags. This too is a last resort option. Is there any abstraction available?

View 2 Replies

ActionScript 3.0 :: Score Board For A Game Show?

Jun 7, 2011

I need to create a score board for a game show at work for staff. The score board must keep score on the left and right parts of the screen. score must start as default on 0. Then every time I press for example the left arrow key the left score must increase by the value of 1 and when I press the right arrow key the left score must decrease by 1.Same goes for the right score only with differant keys example up and down keys. This sounds very simple and I managed to get it to work when I tested with only 1 score, but failed when adding the second score to the picture.

View 5 Replies

ActionScript 3.0 :: Turn Base Board Game - While Loop

Mar 15, 2009

I am trying to create a turn base board game. It has four player and out the the four players one is human and the rest are cpu's. The players are number 1,2..4. In the beginning of the game it ask's the user to which player will be the human player. A random number generator function picks a random number between 1-4 and that number player will go first.

There is a while loop that controls the game play something like:
var isNotEndofGame:Boolean = true;
var human:Number; //the user inputs this number.
var aPlayer:Number = getRandomNumber(1,4); //players: 1, 2, 3, 4
while(isNotEndofGame) {
if(aPlayer==human) doHumanMove();
else doCpuMove();

This reset's the player so they can keep on playing until game ends.
if(aPlayer==4) aPlayer = 1;
}
inside function doCpuMove() and doHumanMove() isNotEndofGame will become false when the game objective is met.

The problem I am having is when its the human players turn I want the loop to pause or wait so that the human player can do some interaction such as click a button or drag a movieClip. I tried adding adding mouseclick event listeners and timer neither worked.

View 1 Replies

ActionScript 3.0 :: Score Board For BlackJack Game Points?

Oct 25, 2011

I am creating a blackjack game and almost have it all figured out besides the scoreboard. When I win the game it adds the 25 points and when I loose it subtracts the 25 points from the starting score = 200. The problem is that if you win multiple times in a row or lose multiple times in a row the score doesn't keep adding up. It only adds or subtracts the score once. I tried using a boolean code but can't get it to work right. Now I am using this set up.

[Code]...

View 4 Replies

Javascript :: Html - Solari Board Available For Use On A Webpage?

Apr 27, 2010

I'm working on a web page which will display information updated periodically via javascript. I want to have it displayed in a Solari Board, complete with the flipping tiles animation. Is there an existing Flash or Javascript implementation I can use? Here's my super-lousy javascript test for one letter. The solution should take a string and figure out how to flip the existing letters to update it. On a real board they all start at once and each stop after the number of flips needed.

View 2 Replies

ActionScript 3.0 :: Proper Way To Instanciate Multiple Sprites (board Game)

Dec 2, 2009

when creating a tile style gameboard in flash before i did the following:[code]when i wanted to delete tile-instances, i could reference them like [code]

View 7 Replies

Actionscript 3 :: OOP - Make An Object Move Across A Game Board Depending On The Value Of The Dice?

Dec 8, 2011

I am creating a board game and I am using Object Oriented Programming with AS3. I created a movie clip with a circle that moves across the game board. There are 18 squares and 18 frames. I have a button that gives you a value with a dice with the random number function:

public function rollDie():void
{_dieValue = Math.ceil(Math.random()*6)
this.gotoAndStop(_dieValue);}

I have a class for the dice button, die, gameboard, and the main board. I am trying to make the circle move across the board(or go to the frame in the mc) depending on what the value I get with the dice. Here is my code so far:

[Code]....

The mc instance for the gameboard is gameBoard. Also, if anyone knows how to trigger a labeled frame depending on which square the circle lands on that would be a plus.

View 2 Replies

ActionScript 3.0 :: Alphabet Recognition Game - Randomly Choose A Movieclip To Play The Sound

Mar 16, 2011

I am trying to develop a simple game for kids in which an Alphabet will be spoken and the kid will have to choose the correct alphabet being displayed on the screen. What I have tried to do is that I have saved each of the sound in a seperate movieclip.

how can I develop the code that randomly choose a movieclip to play the sound and then when the kid click on the correct alphabet, it adds the point and if wrong alphabet is clicked, it gives error.

View 6 Replies

JavaScript :: HTML5 Useful In Animating Vector Graphics?

Nov 15, 2010

Does html5 developers animate vector graphics in any way? I'm talking about straight key-frame vector animation, such as what flash does. Is the way to do this basically using javascript to manipulate SVG graphics such as what [URL] does? which is a bit weird to me since it's been supported in browsers for quite some time) or does html5/canvas lend itself someway to vector graphics animation? I'm just trying to understand what's the "new" way developers will animate vectors on the web if/when flash plug-in eventually dies.

View 3 Replies

JavaScript :: How To Get HTML5 FileAPI Support In Flex

Feb 4, 2012

I need Flex code to support HTML5 File API. Because I need to support File API feature for those browsers that did not support File API. Do you have any code or link?

View 1 Replies

Javascript :: The Best Scripting Language For Web Audio / Sound

Jul 1, 2010

I'm looking to start learning a scripting language for web audio and sound development. It needs to be able to handle simultaneous audio events, eg; to trigger a sound when another is playing (I'm not sure if and how this is possible, but have witnessed this kind of presentation: [URL] (can this kind of thing be done with JavaScipt?, this looks like AS / Flash)).

From what I can tell the choice appears to be between JavaScript (JS) and ActionScript (JS), with details as follows: - If going the JS route (look into JS and HTML(5) audio capability) Learn about the basics of HTML and CSS, and then start to look into JavaScript, Ajax, and JQurey (library / framework for JavaScript). If going the AS route Will not need to know as much about HTML and CSS. AS is the language behind Flash. Not supported on the i-phone(?) I know Java to around an intermmediate level.

[Code]...

View 3 Replies

Javascript :: HTML5 Local Storage Fallback Solutions

Jan 14, 2011

I'm looking for javascript libraries and code that can simulate localStorage on browsers that do not have native support.Basically, I'd like to code my site using localStorage to store data and know that it will still work on browsers that don't natively support it. This would mean a library would detect if window.localStorage exists and use it if it does. If it doesn't exist, then it would create some sort of fallback method of local storage, by creating its own implementation in the window.localStorage namespace.I understand that Flash and Silverlight can be used for local storage as well, but haven't found anything on using them as a fallback for standard HTML5 localStorage. Perhaps Google Gears has this capability too?Please share any related libraries, resources, or code snippets that you've found! I'd be especially interested in pure javascript or jquery-based solutions, but am guessing that is unlikely.

View 8 Replies

Javascript :: Use HTML5 Local Storage To Store A File?

Feb 9, 2011

How would one go about caching / managing many large files (videos) on a user's computer via browser mechanisms (plugins are acceptable solutions). From what I can tell, local storage is about database type data, not files.

View 2 Replies

Javascript :: Possible To Get Firefox To Play MP4s In The Html5 Video Tag?

Jan 25, 2012

I know it is not right out of the box, but is there a hack anywhere that uses javascript, php, or even flash to play the MP4s if the html5 video tag isn't supported?

View 1 Replies

Javascript :: Flex Vs JQuery Vs GWTvs / Closre Vs Cappuccino Vs Plain JS And HTML5?

May 19, 2010

I'm creating my first web application and I'm really confused as to what technology to go for. My application needs to look serious (like an application), it doesn't need many colorful graphical interfaces. It only needs a toolbar, a tab bar, a split panel (preferably 3 columns), an easily-formatable text field, and a status bar. It will connect to a MySQL database through PHP (unless I go for GWT). Users will upload files. My evaluation of the options:

Flex: Probably the easiest to develop but I'm pretty sure my application is something one would use on an iPad and with Flash's future on the iPad still unsure, I don't want to take the risk, otherwise Flex would've been my choice. jQuery: I've heard a lot about it and a lot of people recommend but I don't know how easy it is to use and how customizable the look of my app is. GWT: The problem with GWT is that it doesn't have many widgets. Another problem is that I'm gonna have to host the files in AppEngine's datastore and transfer them back and forth to a web server that will do operations on them (I need to process them) which adds more traffic and slows the process which worsens the user experience. Closure: It has a nice toolbar and a nice text field. I'm not sure how easy it is to use. Plus, I read an article that makes it sound really bad.

[Code]...

View 4 Replies

Professional :: Create A "Family Fortunes" Game Board?

Sep 29, 2010

I'm trying to create a "Family Fortunes" game board, so I have got the basics, the answers can be revealed with a click, but I can't seem to attach sound to the buttons as they disappear. The code snippet tool doesn't seem to be working, the code goes into the action keyframe, but the sound won't link up.

View 2 Replies

Pause Flash Game Using Javascript

Feb 17, 2010

I'm working on a flash gaming site, BeardedGames.com. I just recently implemented a "Panic" button that makes the entire site display: none and display: block's a iframe with a allowed in school website of the user's choice.It works well so far, but the user's flash game still runs in the background while hidden. Is there a way to pause (not reset) the game, that will work on most, if not all, flash games? It needs to be accessible from javascript (possibly just javascript, or a flash wrapper?), and it has to work in IE 6 and greater (I know... I know. Can't help it.).Failed to make it clear that the user must be able to "un-pause" their game after the unpanic button is pressed.I haven't made these games, these are already made games like linerider.

View 3 Replies

Javascript :: Progressbar For A Flash Game File?

Mar 19, 2011

i have a game website, and sometimes is the swf game flash file > 2mb and the browser need a time to display it. And the Flash stay blank.

How i can make a progressbar with javascript to detect after how much time can the user play the game ( Swf file)

View 2 Replies







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