Getting Started with Away4.x

Software: Away3D 4.x

eclectrik, Newbie
Posted: 19 October 2011 02:29 PM   Total Posts: 19

Hi, first time poster.

I`ve downloaded the most recent build of Away4 from the github repository, and am attempting to create a basic scene setup for learning.

Unfortunately all of the examples ( including the most recent ones from github ) seem to be throwing a lot of errors.  Things like:

The following referring to Max3DSParser.as line 70:

1020: Method marked override must override another method.

This is just an example as there are a few of these.  What i`m looking for is a solid starting-point, be it a tutorial or example that actually works, whatever.  I understand that Away4 is still Alpha and as such constantly being developed, but would like some kind of foothold as a relative beginner to Away3D to get started.

Any help appreciated hugely!

   

Avatar
theMightyAtom, Sr. Member
Posted: 19 October 2011 03:42 PM   Total Posts: 669   [ # 1 ]

Welcome!

Here’s a good place to start…
http://www.adobe.com/devnet/flashplayer/articles/creating-games-away3d.html

It sounds to me like your development environment needs setting up correctly (just a guess smile

What are you using?

Good Luck!

 

   

eclectrik, Newbie
Posted: 19 October 2011 04:02 PM   Total Posts: 19   [ # 2 ]

Thanks MightyAtom, i`ll check that out.

I`m using Flash CS4.  I`ve recently tried Alternativa3D 8 with FP11 so have set up my playerglobal.swc and have it running by publishing/testing through the browser.

I figured the errors were perhaps a mismatch between the latest builds of Away3D 4 and the example files..  But again, that`s why i`m asking where`s a good place to start.

Will go through that article for sure..

 

   

Fab4ce, Jr. Member
Posted: 19 October 2011 04:15 PM   Total Posts: 44   [ # 3 ]

Hi,

i think a good start is all but Flash Authoring. Though i do also use smile It´s a pain with Away. Don´t know about Alternativa.
With CS5 i mangaged getting 1 of 3 examples to work: Basic_LoadOBJ.as . No luck with CS4.

Btw…why are there only 3 examples on github? Where is the rest?

 

   

Avatar
80prozent, Sr. Member
Posted: 19 October 2011 04:17 PM   Total Posts: 430   [ # 4 ]

hi

if you are on windows, try using flashdevelop.
its totally free and for me every example works fine.

80

 

 Signature 

sorry…i hope my actionscript is better than my english…

   

eclectrik, Newbie
Posted: 19 October 2011 05:25 PM   Total Posts: 19   [ # 5 ]

Fab4ce:  Alternativa v8 for FP11 on Flash CS4 is fine except from the fact that any testing has to be done through the browser ( doesn`t run inside the IDE ).

I`d assumed i could achieve the same here with Away3D 4 targetting FP11.  My guess was that there were problems with the Away classes etc not the development environment itself - who knows!  I`ll keep trying.

It may be i have to try out Flash Builder although i thought it wasn`t free any longer.

 

 

   

Richard Olsson, Administrator
Posted: 19 October 2011 05:40 PM   Total Posts: 1192   [ # 6 ]

What GitHub repositories are you using? It would be odd if you are getting a compilation error that no one else is getting using the same code.

 

   

Fab4ce, Jr. Member
Posted: 19 October 2011 05:45 PM   Total Posts: 44   [ # 7 ]

As 80 mentioned flashdevelop is a good choice if you want to start beeing a programmer. I like the Flash IDE, so i will also keep on trying the coming examples in there. But don´t expect to much. The away dev team said that they focused on programmers. My earlier post where i wrote down all the errors from some earlier examples using the flash authoring compiler wasn´t answered.

But don´t hate me now away team :( I still love you ! smile

 

   

eclectrik, Newbie
Posted: 19 October 2011 05:45 PM   Total Posts: 19   [ # 8 ]
Richard Olsson - 19 October 2011 05:40 PM

What GitHub repositories are you using? It would be odd if you are getting a compilation error that no one else is getting using the same code.

Thanks for the reply.

I`m using away-3d-core-fp11-d4e2dc7

And away-3d-examples-fp11-b4a4817

[edit]  I`ve attached a screengrab of the errors compiling Basic_LoadOBJ.as

 

 

File Attachments
AwayCompile.zip  (File Size: 110KB - Downloads: 169)
   

Richard Olsson, Administrator
Posted: 19 October 2011 05:49 PM   Total Posts: 1192   [ # 9 ]

@Fab4ce: What post is that?

@eclectrik: Then I don’t know, but it definitely sounds like a misconfiguration somewhere.

 

   

Fab4ce, Jr. Member
Posted: 19 October 2011 10:04 PM   Total Posts: 44   [ # 10 ]

Hi Richard,

seems like my post disappeared. I can´t find it anymore. I was compiling every single example (which can´t be found on github anymore) in CS5 and wrote down the different error messages. It was not my post, i just replied to someone having trouble with cs5 (or 5.5). Nevermind….i still have the same problems as eclectrik. The actual examples (and i remember the older ones also had the same message) throws this error: d:\localPath\github_away_fp11\src\away3d\primitives\WireframePrimitiveBase.as, Line 54 1020: Method marked override must override another method.

It would be great to have everything running in CS5.

 

   

Avatar
Choons, Sr. Member
Posted: 19 October 2011 11:23 PM   Total Posts: 281   [ # 11 ]

FlashDevelop is the way to go like 80 said

 

   

eclectrik, Newbie
Posted: 20 October 2011 12:48 AM   Total Posts: 19   [ # 12 ]

I got it running under FlashBuilder4.5 - yay.  Will probably switch to FlashDevelop though as it`s free..

One issue i did have was that AwayStats was showing DRIV: Software and wasn`t using the GPU.  I updated my display drivers and restarted which fixed the problem.  But it got me thinking that this would be quite a common issue.  I`m using the HP G62 laptop and imagine a lot of other people will be too, or using similar off-the-shelf laptops etc where the drivers aren`t updating and not compatible with FlashPlayer11`s gpu functionality.  Seems like there may be a LOT of people/average-users out there not getting full advantage of flash11/gpu..

Luckily i know enough to update my drivers but not so for many of the general public / end-users!

 

 

   

Richard Olsson, Administrator
Posted: 20 October 2011 07:52 AM   Total Posts: 1192   [ # 13 ]

@Fab4ce: I think the issue might be that some in-development classes in Away4 are not working, but because almost no one uses them the problem has not surfaced. Maybe Flash CSx compiles all classes in the class path, regardless of whether they are used or not, which would explain why you’re getting this error while those who use other IDEs do not get the error.

If this is the case, please go ahead and just remove those classes that are unused in your project but still throw errors. We will either fix these erroneous classes or remove them before Away3D 4.0 goes final.

 

   

eclectrik, Newbie
Posted: 20 October 2011 02:41 PM   Total Posts: 19   [ # 14 ]

^^That sounds about right

 

   

Fab4ce, Jr. Member
Posted: 20 October 2011 08:09 PM   Total Posts: 44   [ # 15 ]

Hey Richard,

your suggestion seems right. (Better comment out the override functions that cause the error, deleting will lead to new errors)
Thanks for the hint.

I hope to see some more examples around soon. Would be good to have the basic ones….primitives, lights, materials. That´s what beginners need.

But i don´t want to annoy with asking for thing, because i know that you are working hard and the release is almost ready. One last comment: It would be good to have the awd maya exporter as download, let´s say about every 1-2 weeks updated, for people like me who don´t want to install programs and learn how to compile it.

I´ll be patient.
Thumbs up for the great work on Away 4.0 !!! 

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X