Hi Jester,
Thanks for the url. It seems very interesting.
There is one thing that bothers me, aside the fact that
I'would have to re-write a lot of stuff from scratch, if I
used a model like this.
How do you know in what depth to draw everything?
How do you handle _alphas?
The movieclip model provides a very easy way to stack
images one above another with no problems. It just seems
a lot of work, it's like re-inveting the wheel.
How much can performance benefit from an approach
like this? Any benchmarks, numbers?
Is there a hybrid approach maybe? One that requires
less code but increases performance?
Thanks!
Dimitrios
----- Original Message -----
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, February 15, 2006 3:53 AM
Subject: Re: [FlashCoders] scrollRect
I oringally wrote this in Flash 8, and ported to Flash 8.5. There is no
reason it couldn't go back.
http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html
----- Original Message -----
From: "Dimitrios Bendilas" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 14, 2006 4:55 PM
Subject: [FlashCoders] scrollRect
Hi all,
I'm trying to make a very basic prototype to test parallax movement with
Flash 8.
Is movieclip.scrollRect what I should be using? I tried this:
var bg:MovieClip = _root.attachMovie("bg", "bg", 2);
var y:Number = 0;
_root.onEnterFrame = function():Void {
bg.scrollRect = {x:0, y:y--, width:635, height:540};
}
The movieclip "bg" contains only a jpg 635x540.
The movement is pretty jumpy. Should I be using BitmapData instead?
I'm a bit lost! I've been searching for code samples online for the past 2
hours and
I haven't found anything useful.
Does anyone have a useful link for parallax or tile-based games using
Flash
8 features?
Performance is the key issue here, since this is going for a very big and
complex game
and I want to optimize it as much as possible.
Thanks a lot!
Dimitrios
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com