- Joined
- Mar 28, 2016
- Messages
- 1,623
- Reaction score
- 1,439
- First Language
- French
- Primarily Uses
- RMMV
Hi guys.
I did succeed to set value to a array X,Y value.
I try to set definitely the ._originX of the ex: $gameScreen._pictures[1]
I try this
$gameScreen._pictures[1]._originX=800;
or
$gameScreen._pictures[1]._originX.setValue(800);
Nothing work
Its Alway reset to default ??
Ex: here, i need to definitely change the value
_originX:400
_originY:400
To another valur
there is a particular syntax?
I did succeed to set value to a array X,Y value.
I try to set definitely the ._originX of the ex: $gameScreen._pictures[1]
I try this
$gameScreen._pictures[1]._originX=800;
or
$gameScreen._pictures[1]._originX.setValue(800);
Nothing work
Its Alway reset to default ??
Ex: here, i need to definitely change the value
_originX:400
_originY:400
To another valur
there is a particular syntax?
Code:
Game_Picture {_name: "suny-2", _origin: 0, _x: 340, _y: -80.00000048000004, _scaleX: 100…}
_angle: 0
_bindToMap: 1
_blendMode: 0
_duration: 0
_height: 375
_horSpacing: 2400_layer: "above_characters"
_loopHeight: 4800
_loopWidth: 4800
_mapOffsX: 0
_mapOffsY: 0
_name: "suny-2"
_opacity: 255
_origin: 0
_originX: 400
_originY: 400
_rotationSpeed: 0
_scaleX: 100
_scaleY: 100
_targetOpacity: 255
_targetScaleX: 100
_targetScaleY: 100
_targetX: 400
_targetY: 400
_tone: null_toneDuration: 0
_toneTarget: null
_useHorizontalRepeat: true
_useVerticalRepeat: true
_verSpacing: 2400
_width: 403
_x: 340
_y: -80.00000048000004dTextInfo: nulldTextValue: null
__proto__: Game_Picture
Last edited by a moderator:
