flash ?

BlitzMax Forums/BlitzMax Programming/flash ?

Paul "Taiphoz"(Posted 2011) [#1]
its become almost standard now for big games to use flash for all their in game UI stuff, which modders simply love as it makes developing new ui's very easy.

I guess the devs like it for the same reason, they can make the nice ui in flash then just place it where they want it.

So. does or has max gotten any flash love at all ?


Czar Flavius(Posted 2011) [#2]
What (non-web-based) big games use flash for their user interface? I don't remember seeing one.

If you are looking for an easy to use gui module for your game there are plenty available such as frygui or cegui. One or both can load the ui data from xml files.


Gabriel(Posted 2011) [#3]
What (non-web-based) big games use flash for their user interface? I don't remember seeing one.

Hundreds of them, including many AAA games. Scaleform is a hugely popular GUI middleware, and that's basically a (very expensive) way to embed Flash into a binary application, albeit with a vast array of extras.

Last edited 2011


popcade(Posted 2011) [#4]
Use "UI only" for Flash is a completely waste(why pay hundreds for only UI library and hire a Flash designer to make UI?), if you need in-game animation or something, you can consider it though.


AdamRedwoods(Posted 2011) [#5]
There is no Flash API.... BUT-- there is the Mozilla NPAPI, which I believe that Flash is a plugin to. If you could harness that, you could act as the browser side to the Flash plugin (NPSWF32.dll, flashplayer.xpt).

https://developer.mozilla.org/en/Plugins

I believe Haxe Screenweaver works this way:
http://code.google.com/p/screenweaver-hx/source/browse/trunk/src/np_host.c


Czar Flavius(Posted 2011) [#6]
Could you list some AAA games that use Flash?


wmaass(Posted 2011) [#7]
Check out http://www.scaleform.com/.

Games like Borderlands, Assassins Creed, Dead Space etc. Cool, but expensive.


Muttley(Posted 2011) [#8]
@wmaass says plus:

Crysis 2
Dragon Age 2
007: Quantum of Solace
Halo Wars
Mass Effect (1 & 2)
Fable 2
Prototype

the list goes on: http://www.scaleform.com/gamesusing

Last edited 2011


Czar Flavius(Posted 2011) [#9]
Haha how ironic that site has one of those annoying menu bars that it takes me 5 attempts to select something without my mouse going off the menu and losing it all!


Muttley(Posted 2011) [#10]
@Czar Flavius: That's CSS, not Flash. ;)


Kryzon(Posted 2011) [#11]
@Muttley: That's Javascript, not CSS. ;)


Muttley(Posted 2011) [#12]
@Kryzon: Actually it's both, because it's using Superfish and that falls back gracefully to CSS if Javascript is disabled. ;)

Last edited 2011


Kryzon(Posted 2011) [#13]
Interesting, I didn't know of Superfish.
For my website I'm planning on using Tiny Dropdown 2.


Czar Flavius(Posted 2011) [#14]
It's still ironic that their UI sucks!


YellBellzDotCom(Posted 2011) [#15]
Some games may use Flash for some of the elements, but that would just about be the extent of it. Just like some games use Java for some of their elements.

I used flash for 1 game and while I liked it for its intended purpose, it lagged quite a bit on another game when using arrow keys (wsad) to move the character and using a mouse to identify objects on the screen. I tried flash after seeing the same results in Java.

On a side note, I get a bit annoyed at the flash loading bar for simple web sites, lol.


Mr. Write Errors Man(Posted 2011) [#16]
There are some libraries with the idea of "render flash to texture". I have no idea if one could be ported to Max. If it could be done it would of course be super.