Does anyone know yet? any ideas??
Printable View
Does anyone know yet? any ideas??
whers the game context?
find your answers here: AS3/ Flash9
??? Whatever new features are in F9 i'm sure will have lots of usefullness for games!, but if it makes you happier.....yes, what new features in F9 will be usefull for game making in Flash, happy?
I hope it includes a non-shapeflag hitTest for two different objects :D
exactly, what is Flash 9 going to have thats going to make life better/easier for making games? what cool features will it have that allows us to make new cool games?
I´m not sure whether you ask what new features as3 will bring or if you ask what new features the flash 9 ide (authoring tool) will bring.
Because for as3 you can go check out the language specifications,download the flex 9 ide alpha for free or flex 2 builder and try for yourself right now.
To sum some of the new things AS3 brings up:
-Drastically better code execution speed thanks to things like runtime persistent data types (leading to less ram usage in many cases),JIT compiling etc.
-changed structure/setup for handling graphical objects (like mcs) :there´s a displaylist (like a tree structure) now and one can remove things from a displayobjectcontainer in the displaylist (without destroying the object/its state) and reparent em to other displayobjectcontainers at runtime,traverse nicely through the displaylist etc.
-automatic depth managment when instantiating graphical objects
-more graphic object types (so you can use the one you need,again a big ram saver,if you don´t need a timeline for example you instantiate a sprite instead of a movieclip,so movieclip isn´t the most used graphical object for code controlled projects anymore)
i could go on and on,there´s really lots of changes and additions in the language,but these alone should give you an idea that one can do more things at way more performance now with the language upgrade,no matter if for games or other things.
Regarding the flash 9 ide ( = dev tool),what´s known so far is that it will have remade, easier to use and easier to skin components (grant skinner is working on),it´ll have sweet photoshop file import feature and it´ll allow showing the code output for tweens made in the authoring tool (robert penner is working on that).
Way more isn´t publically known about it yet.
I think the new display structure is going to be VERY useful for game makers in Flash. But does the display list also include the sprites? or is it just for MCs?Quote:
Originally Posted by tomsamson
Of course the other important aspect of game making in Flash is security, but perhaps thats something that will never be solved.
For me I would like to see some way to dynamically load animation, such as animated .gif's.
And will it be possible to duplicated loaded movies...again that would allow .swfs to be used as animation files.
oh, and some basic 3D functions would be useful, allow polys to be textured and moved in 3d inside built into the player. But maybe thats Flash 10! :)
Mate,for your AS3 related questions you should really visit the as3 forum. Unless you code on a game and have questions regarding the game code.
To answer your questions though :) :
The displaylist is for all graphical objects,so you add something to it to display it. (to be more precise you need to add displayobjects to displayobjectcontainers,so for example sprite and mc are displayobjectcontainers and can contain other displayobjecttypes (or same ones,too)
Regarding security one can tackle things in new ways on several ends with as3 there, but yup,as long as the swf file format specs are open and also the file not compiled to way more close to machine code format on export,there´ll always be the problem of decompilation. I often hear people moaning about that; you have to be aware that other languages with similar setup have the same issue though (like one can also decompile java things in similar manner).
Also that the swf file format specs etc are made publically accessible has been more benefitial to all develpers imho than it has caused problems. Sure,there are those downsisdes we all know,but all those nice swf related apps (zinc for example) wouldn´t have been possible without the file specs publically available just like flash probably wouldn´t have been accepted by the industry half as much as it is now if it was a closed adobe only product even more than it is now.
Regarding loading in gif animations: well,you can load in way more formats if you wish to in form of a bytestream with as3 and then handle it on your own but to get back to the animated gif example you could easily load in a spritesheet (image containing several state/frame image sections in it) and then handle the animation codeside with more control on it.
Regarding duplicating mcs with loaded content: the loading handling aswell as handling graphical objects is done a bit different now as i summed up shortly in bits already,so yeah,you have more control on what to do with loaded in elements now,too.
Regarding 3d: yeah,it would be nice if there was a set of well made 3d classes built in but at least there´s more performance now so doing basic 3d things isn´t only good for experimental demos anymore :)
(and yep,there´s more than just rumors there´s work beeing done to bring graphic card support in f10 on more platforms)
Really???....now that would be some sweet news!! :) ....it's good to know that there is work being done on that.....can you point out some sources if any available, that talk about that?.....just curious :)Quote:
Originally Posted by tomsamson
paul.
Quote:
Originally Posted by pentru
sorry mate,i don´t have a specific link at hand for that,i read many blogs (also ones of mm/adobe people) and hints regarding that topic were given on several posts around.
Its clear with the recent history of flash player development though that adobe is trying to give the fplayer as much performance as possible (and assigned by browser/hardware) without bloating the player size and/or making the system unstable. A good example for that is the f8 player making use of opengl to display its content in certain conditions on macs (yeah,i found the post on that again at least: http://www.kaourantin.net/2005/07/wh...c-perform.html :) ). How much they achieve on linux and windows (and maybe even more than now on mac,too) time (and releases ;) ) will tell of course but yup,there´s some efforts beeing done :)
I suggest you check the posts on blogs like the one of tinic for regular and more in depth background info on the dev of flash player.
I personally would like to see the program UI be enhanced, such as the library, filing is so much simpler in many other lessly used programs, and things like the swapbitmap/moviclip popup boxes should be resizable and anchorable, lots of things are problematic or to tedious to do in Flash simply because the UI is lacking alot of neccessary tuning.
And OMG, ad some <sup></sup> abilities, i mean i can underline in AS and not on panel, and I can <sup> on panel but not in AS, what is the deal, i am sure we all hate these.
There is a whole list of things I have going in my personal folder, but those are just the few I think of now.
I am going to look at those links renderjhs, thanks for posting them.
Edit (dang you render there just to our forums =) I thought you had some good links there lol)
So come on...how many of us have seen this handsome beauty? :|
everfornever, besides the last line your post here was somewhat not related at all to the thread topic. The thread topic was B. asking about what new features come with f9;it was not a "let´s start our wishlits for f9" type of thread. If you have such wishes either enter them at the wishform on the adobe site ( http://www.adobe.com/cfusion/mmform/...?name=wishform ) or start a thread in the coffee lounge with that topic.
^^ripx,i´m not sure i get what you mean (btw,hello Stranger,long time no see,nice to see you around again :) )
Did you ask how many of us have played around with f9 (and then tried a hello world example) already? Yeah,i did :)
Though the first thing i did (after reading a bit in the docs) was to check how i could add compiler arguments to change the bg color to not show that standard flex look :)
were did you get flash 9? are speaking just of AS3?or is there a beta somewhere?
With flash people often say flash [versionnumber] when talking about the ide but also when talking about the player. Please clarify about what you talk in the future,makes it easier for all :)Quote:
Originally Posted by everfornever
The flash 9 player is meanwhile available in final stable version for a good while as the standard player download on the adobe site. (An updated beta version with some fixes and even a new feature (fullscreen mode) can be downloaded at adobe labs though).
The flash 9 ide ( = flash authoring tool) can be downloaded in alpha form on adobe labs,too ( http://labs.adobe.com/technologies/flash9as3preview/ ).
If you are a registered user of flash 8 your version will be unrestricted,otherwise its a trial version (with full functionality of the alpha,just time restricted).
Flash 9 IDE alpha basically is just the flash 8 authoring tool with the option to work with as3 and export flash 9 swf files. (it also has some other slight differences but i won´t go into much more detail now unless someone is interested :) )
Note that as always the flash ide is not the ideal solution for coding as its code editor is lacking in many areas,with the flash 9 ide alpha that is even more the case as it comes without features like code assist,code format or dictionary.
Therefore i suggest you get a trial version of flex2 builder on the adobe site (you can get a 30 day trial) and do your code work there and use the flash 9 ide for your graphical work (you want to do in authoring time).
Besides that you could also get the free flashdevelop code editor ( http://www.osflash.org/flashdevelop ) to code in as3 but yeah,that one wasn´t to my liking as much as flex is.
(the good side is that its a robust code editor for free,so if you have no money its a good choice for code work for now,too)
I downloaded the Flex2 IDE trial (11 hours on dial-up lol), i'm just sitting looking at the tutorials now and yes, I did mean, who'd got to see the HelloWorld example actually work lol..I hate learning new things (hence my slowness to take up AS2). Thanks for the nice welcome back :) I was trecking around Thailand and I should be going back for a year to south east asia and China after I finish my course this year!
Anyway, back to the topic..seems like there are some interesting new things here to look at. I've already seen a C64 emulator written in AS3 running at exceptional speed so it shows that there must be some huge optimizations in there which is why i'm taking the oportunity to learn it straight away. It also shows the potential of this little fella...I noted that on the same C64 project site, dynamic sound is in there, at least I gather it is since they are working on SID emulation :)
Feels a little restrictive atm in terms of the nature of the OOPness (is that in the dictionary?) but I guess thats where the speed is coming from so can't complain. I wanna master this lil biatch this time around so just a quick question...
has anyone figured out how to display your .as classes in a standalone player from the IDE or do you have to run it from a folder once compiled??
RipX
Ok, so I donwloaded flash 9 alpha, I got the full version not trial, but it looks just like flash 8, I mean exactly, so is it to be my understanding the only difference between 8 and 9 is the fact that you can use as3 and post flash 9?
p.s. I published one of my games as flash 9 and it seems to be running better... is this my imagination?
p.s.s. What's this about actionscript 3 does not allow script on button or mc instances?
haha,this is turning into a "post all your flash9 talk here" thread.
So just a general reminder to all:
Again, in the future Ã*´d prefer it if people posted things in the related forums :)
But yup,i won´t move this thread now as several people hanging out here seem to be into talking about the topic in here for a bit =).
to Rip: I´m actually into learning new things,"new" as in: something i couldn´t do/use at all before.
I´m more against having to over and over learn how to do the same things in different way now.
With AS3 it convinced me pretty quickly though (way quicker than AS2 could ;) ) because there´s really tons of benefits to it =)
(and it isn´t only relearning to do the same things in different way but also many really new features to learn there).
Regarding game dev the performance boost is of course awesome,but its not just that,i´ve listed some other things which are a great addition in app (and game ;) ) design/dev and we could list such things for a long while now :)
Yup,i´ve tried the C64 emulator,too (more info on it here: http://www.gotoandplay.it/spotLight/fc64/ ) and its a great example for some things f9/AS3 brings for sure.
Without the huge performance boost that wouldn´t be possible and yup,its not just that,as you said there´s more to sound handling now,basically (as i talked about shortly in a sidenote earlier) one can load in bytestreams,so likewise you could load sounds as bytestreams,you can also likewise create files (or bytestreams flash interpretes as file) at runtime,all wicked stuff.
While talking about sound handling you can also compute the soundspectrum now which you can use to do nice visualizers for example.
Well,our list goes on and on.. ;) =)
Yup,as you said AS3 forces one way more to clean coding manner than older AS versions, but yup,also as you said part of the performance gain comes from that (for example less ram usage in some cases thanks to strict data typing). Also: The one who ever had to edit a way old f5 or f6 fla after several years and went mad because of all the clip actions and generally messy code all around will appreciate at least a bit beeing forced to code a bit cleaner now to have less pain afterwards. All that said if you have a good code editor, like the one of flex, coding is way less painful than for example coding as1 or 2 in f8 ide,so its actually not the most painful thing to get into at all =)
Regarding your question i´m not sure what you mean; where *.as files sit has no effect on the exported swf. The .as files are compiled as part of the code in the exported swf,afterwards you can put the swf where you want.
If you were talking about something else please clarify :)
Regarding your tripping around: Wow,nice,you get to see the world,good stuff mate =)
I know your post was not for me but I totally see your point about the coding, so AS3 does not support onclip's because it's seen as an inferior way of coding thus is now forcing us to code in frames and thus coding cleaner?
I also notice the components are disabled...
In the MM flash IDEs it was possible to run the code directly in the standalone flash player as an exe or swf rather than embedded in a HTML document. I was wondering if the same thing was possible using Flex2. At the moment i'm opening them in the standalone player by simply launching the .swf file in the compiled folder.
Any ideas?
RipX
its not really flash 9, its an alpha which sole purpose is to allow you to export to AS3, nothing more.
Yup,the first part of my previous post was more generally to all :)
To reply to you, everfornever:
AS3 doesn´t force one to code in frames,one can code in seperate .as files,too, for example.
Many things were changed in AS3,as i said display Objects are handled different now and the the event handling has changed a good bit,too.
You have to register an object as listener for an event now.
And yep,its seen as inferior to have code on instances and yes,code on display Object instances will now be ignored in AS3 (export).
Regarding your question on the flash9 ide: As i said,yes, the flash 9 ide alpha is basically just the flash 8 ide with support for coding in AS3 and exporting F9 swfs.
It does not represent the feature set the final f9 ide will have at all (which will be released sometime next year).
I´ve already talked a bit about some of the new features the final F9 ide will have in an earlier post in this thread,check that one for more info.
"
p.s. I published one of my games as flash 9 and it seems to be running better... is this my imagination?
"
Unless you published for AS3 yes,that´s just your impression (sorry :)).
Note that the flash9 player has two Virtual machines in it (that´s the thing that interpretes the code),one is for handling code prior to AS3 and one is for handling AS3 code. That is due to the fact that so much is different in AS3 and also because AS3 code is JIT compiled.
Therefore: Even if you publish for flash 9 player,as long as you don´t have
choosen actionscript3 as the AS version in your publish settings you will not get all the cool performance gain.
You will only get the performance gain if you code things in AS3 manner and export for AS3.
Just wanted to point out that it's already possible with as3Quote:
Originally Posted by tidenburg
check out the DisplayObject.hitTestObject method ;)
http://livedocs.macromedia.com/flex/...ref/index.html
Yep,you can change your settings to view generated swfs directly in the standalone player,have a look at this: http://livedocs.macromedia.com/flex/...=00000375.htmlQuote:
Originally Posted by RipX
for more info :)
Flash 9 alpha and Flex Builder 2 have been out for what, two or three months now, if not more. Flash Player 9 has been released, with full AS3 support. So it amazes me that people are still asking if this or that will be possible in Flash 9. It's not the future, it's already here, and I personally don't get how it's possible that some Flash developers have not checked it out already. It's some pretty cool stuff, so do yourself a favour and try it out asap if you haven't already.
What we do not know are what design-time features the Flash 9 ide will have, but the language and player functionality are already known.
While this is still possible, the whole focus of AS3 is OO. So generally you would be coding classes. But if you like coding on frames, go ahead.Quote:
Originally Posted by everfornever
Again, it's only a preview version. The old components were done in AS1 or AS2, so they wouldn't work with AS3 (well, maybe with localconnection, not sure about that). Flex has it's own set of components, and Flash 9 will have it's own set which are still under development. I have high hopes for them, because Grant Skinner is working on them, as tomsamson already pointed out.Quote:
Originally Posted by everfornever
mate,there are many reasons why some people don´t jump right into the next language version or the next dev environment. Some i can think of would for example be:
-scared to leave old thing one can use to learn how to do things in new way
-few free time
-doing commercial work and either:
-clients don´t allow using newest technology where the plugin isn´t yet widespread
enough (to their liking)
-no time to switch due to constant project/deadline pressure
Its nice you could get into things early and sure, the earlier one switches over the better (for him) but yeah,better show understanding for those who didn´t get to switch over or even inform themselves about the new things yet and encourage people to switch over, instead of wondering why one didn´t switch yet.
Yeah, you're right, I didn't mean to come over as I did, so I apologize. It's just that I personally was (and still am) very excited about this version. But yeah, I realize that some people don't have the time to check it out early on. So I wasn't trying to flame people for not checking it out, just saying that I personally think it's very cool and everybody should try it asap.
Also, to me it seems like people are still speculating about what new features will be in AS3 or Flash Player 9, which is a bit pointless since it's already been released.
yeah,goodie and yup,think the same :)Quote:
Originally Posted by Fall_X
Well,i think it was less speculation regarding the player and the language,probably more that people not into the language yet wanted some more info what one can do with it or not :)Quote:
Originally Posted by Fall_X
exactly, I just don't have the time to get my head into as3.0 right now, too busy working on Flash contracts! The reason I started this thread is because I wanted some kind of heads up about whats going to be possible and what kind of area's of development I should be looking into with Flash 9.Quote:
Originally Posted by tomsamson
2 things stand out to me about F9. Byte streams, and the displaylist, although bytestreams is going to be some advanced stuff. But the display list changes how we all do things, and thats something I will want to learn as quickly as I can once I get into AS3.0.
Its an interesting question, regarding how we all code AS3.0. Right now the options are Flex (I thought that was free? i.e no trial) and that other osflash.org one, I wonder how they the ide will look in the Authoring system. I've never used a stand alone code editor for Flash, as I consider myself a designer/developer so like being able to have quick access to keyframes etc, but I think F9 changes that.
but back to games!.....so what can we expect to see in a years time in F9/AS3 game wise? will there be a spat of simple 3d games? are we going to see more emulators in Flash? (although I don't see the point of that)...where is all this leading to game wise...
flex2 builder is not free,what´s free is the sdk coming with the compiler and some other stuff so that one could use the compiler together with some other (probably free) editor (like flashdevelop) to compile f9 swfs.Quote:
Originally Posted by Boombanguk
think on the top notch end we´ll see all sorts of 2d games (finally also lots featuring lots of action going on),lots of fake 3d games and yup,basic 3d games. in 2d games nice physics sims handling several objects or things like a* pathfinding for several units would be examples for what the improved code execution performance could be used,all nice stuff :)Quote:
Originally Posted by Boombanguk
ok so here's a question for you.Quote:
Originally Posted by tomsamson
Could we finally see the birth of a commerical Flash games industry? and by this I mean online game quality games ( not "coffee break games") that people actually pay money to play? I would of thought, F9 makes quality 2D rts games a reality.
Quote:
Originally Posted by Boombanguk
There´s already tons of money beeing made with flash games in various ways. So if you want to see it like that there is a flash game industry for quite a while now.
How much that´ll change/get bigger is up to the developers,consumers and publisher side, f9 surely helps on the technical side as it pushes the performance barrier a good bit further and allows to do some things which weren´t quite feasable before.
Why wouldn't you consider the Flash 9 Alpha an option? I think it's very useable. The only thing I'm a bit worried about is whether or not the actual Flash 9 release will be able to open .fla's made with the alpha, but I don't think that should be a problem.Quote:
Originally Posted by Boombanguk
yes but come on, you know what I mean. A viable market for quality Flash games, which the general public pay to play. Its something theres been many discussions on here about, and the biggest problem was security and that a lot of developers thought it wasn't possible to do commerical quality games, because technically it wasn't possible and/or the time taken to do them would be too much.Quote:
Originally Posted by tomsamson
I'm not talking about offline games. I'm not talking about games for ad agencies, and i'm not talking about games for games portals, with the exception of a few are not that great.
So with F9/AS3 maybe that changes. The security issue is still there, but technically there can be no excuses. Now it just comes down to, is it worth 2/3 people spending 3 months on a project? will internet users pay?
I've always said they will, and I think geometry wars proves that. Its retro, abeit with great graphics. Is something close to geometry wars possible in F9/AS3? (no I don't current Flash clones, which don't close), because if it is, then suddenly its going to be possible to make real money from online Flash games, selling direct to public......and thats a whole new situation (one i've been waiting for, for 5 years)
Code execution is a lot faster in AS3, but the rendering is still pretty much the same (you can supposedly improve it a bit more by using sprites instead of movieclips when possible). So there will still be technical issues with performance in graphics-heavy games.
"Is something close to geometry wars possible in F9/AS3?"
I think that's possible in F8 as an offline game.
My current game throws a lot of sprites around, and scrolls a fair sized screen ( It's 448x448 ), and when I set the fps to 60 for the web, it becomes unplayable as a standalone game.
F8 is far from dead as far as game developers are concerned.
Squize.
hey I was just repsonding to your email, when this post came through :)
No, I totally agree I think F8 is bang on perfect for games, and it would be nice if it had enough time to truly grow as a games platform, but how long is it going to have? Also I guess the Flash platform is changing so quickly (relatively) that its hard to know where to pitch your tent.