Share
Go down
ANIME SPRITER7.4
ANIME SPRITER7.4
Spritan
Spritan
Age : 23
Number of posts : 1514
Registration date : 2011-12-10
Location : inside a 2 dimensional world

VCam zoom problem  Empty VCam zoom problem

on 2/20/2013, 6:19 pm
why does it look like poop when i zoom in with the VCam

VCam zoom problem  Test10

___________________________________________________________________________________________

Fc: 4184-3289-5900
VCam zoom problem  SinisterSmile
SXR123
SXR123
Moderator
Moderator
Age : 25
Number of posts : 11629
Registration date : 2010-03-07
Location : You know, a place.
https://www.youtube.com/user/sonicXrules123

VCam zoom problem  Empty Re: VCam zoom problem

on 2/20/2013, 6:25 pm
your background is in jpeg. change that and you'll fine.

this is like, common knowledge around here.

>_>

<_<

___________________________________________________________________________________________

VCam zoom problem  Accelerator_signature_by_kyuubi03-d3aqkga

ADOPT A CHAO!!
(figuratively speaking of course)
ANIME SPRITER7.4
ANIME SPRITER7.4
Spritan
Spritan
Age : 23
Number of posts : 1514
Registration date : 2011-12-10
Location : inside a 2 dimensional world

VCam zoom problem  Empty Re: VCam zoom problem

on 2/20/2013, 6:27 pm
it's a PNG

this the action script for vcam
Spoiler:
function camControl():Void {
parentColor.setTransform(camColor.getTransform());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage():Void {
var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
// make frame invisible
this._visible = false;
// Capture stage parameters
var oldMode:String = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX:Number = Stage.width/2;
var cY:Number = Stage.height/2;
var sX:Number = Stage.width;
var sY:Number = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor:Color = new Color(this);
var parentColor:Color = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;

___________________________________________________________________________________________

Fc: 4184-3289-5900
VCam zoom problem  SinisterSmile
SXR123
SXR123
Moderator
Moderator
Age : 25
Number of posts : 11629
Registration date : 2010-03-07
Location : You know, a place.
https://www.youtube.com/user/sonicXrules123

VCam zoom problem  Empty Re: VCam zoom problem

on 2/20/2013, 6:37 pm
Follow these instructions:

VCam zoom problem  Is2JhqW

VCam zoom problem  6dYSfiF

___________________________________________________________________________________________

VCam zoom problem  Accelerator_signature_by_kyuubi03-d3aqkga

ADOPT A CHAO!!
(figuratively speaking of course)
ANIME SPRITER7.4
ANIME SPRITER7.4
Spritan
Spritan
Age : 23
Number of posts : 1514
Registration date : 2011-12-10
Location : inside a 2 dimensional world

VCam zoom problem  Empty Re: VCam zoom problem

on 2/20/2013, 6:39 pm
thanks it worked cheers

___________________________________________________________________________________________

Fc: 4184-3289-5900
VCam zoom problem  SinisterSmile
Sponsored content

VCam zoom problem  Empty Re: VCam zoom problem

Back to top
Permissions in this forum:
You cannot reply to topics in this forum