|Flash vs DHTML for website games|
There is also an issue of mouse vs keyboard controller. I'd like to be able to support both, but it is not crucial.
Is there anyone here with experience with both DHTML and Flash to help me pick the right tool for this job?
Thanks. I actually hope to hide all the browser differences by using jQuery, so that is not my main concern. I worry more about user experience and overall responsiveness of the game.
Now, if you go the Flash route, which should I pick: Flash or Flex? I see that there's also Adobe AIR, but it doesn't seems to be suitable for gaming. Or can I combine Flash and Flex together somehow. I googled a lot about this but couldn't find any tutorial that is up to date. Everything that is complete is written like 5 years ago.
|Now, if you go the Flash route, which should I pick: Flash or Flex? |
Great question! I went round and round with this myself a while back.
I say go with straight Flash unless developing for local intranet apps, then Flex is an option. Again I will state I am no expert who uses it every day or anything, but the issue I have with Flex is that the final files it creates are huge in comparison to the files created by basic flash. A 10Kb swf file created via flash may well be 500Kb or more if created via Flex. (Don't quote me on exact size ratios, just an example but not far fetched). I did days worth of research on this and attempting to reduce final file sizes from Flex and was able to find some solutions which were unsatisfactory as while I was able to reduce the final sizes somewhat it was still nowheres near as small of files as created via flash. So that's one headache I'm not interested in re-visiting.
Adobe AIR I have not used I don't believe, but my understanding is it's offline only usage.