[Papervision3D] cool unity3d game

Tom Richardson kwarismian at gmail.com
Fri Apr 4 14:05:39 PST 2008


Your mother argues.

On Fri, Apr 4, 2008 at 3:10 PM, Makc <makc.the.great at gmail.com> wrote:

> Excuse me, but this is getting too long already, and totally
> pointless. Not to mention this is off topic for pv3d list.
>
> On Fri, Apr 4, 2008 at 8:13 PM, tomsamson <blumenzuechter at gmx.de> wrote:
> > ..Many of the ones coming on board later
> > came in because it allowed em to lrealize their fantasies without having
> > to code in lower level languages...
> > There are lots of creative people who maybe don´t want to create things
> > in the same way as you do, i´m against having lots of options cut down.
> >
>
> Let me remind you that you still can continue to code in good old AS1
> style; this code works fine in AS3:
>
> // make AS1 style function
> // this one goes from Netscape JS reference
> var str_rep:Function = function (n) {
> var s = "", t = this.toString()
> while (--n >= 0) s += t
> return s
> }
>
> // make a string
> var s1:String = "a";
>
> // String class is final, but who gives a shit
> String.prototype.rep = str_rep;
>
> // cast to Object to stfu compiler
> trace ((s1 as Object).rep(3)) // returns "aaa"
>
> // or abuse square brackets
> trace (s1["rep"](4)) // returns "aaaa"
>
> Then, I don't get it what's big deal with waiting for objects to be
> created and added to stage. First, there are events such as
> Event.ADDED_TO_STAGE specifically for that, and second, having your
> code "waiting" for objects initialization in past actually means there
> was no option to run your code before initialization - a limitation,
> not a feature.
>
> Oh wait, you tricked me into arguing... let's stop it.
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080404/ad22ea76/attachment.html 


More information about the Papervision3D mailing list