poppicha

Villager
Member
Joined
Aug 30, 2015
Messages
20
Reaction score
9
First Language
Thai
Primarily Uses
RMMV
I want to request a plugin that can suddenly flip or set an actor/enemy's angle in battle.
like the picture from the attachment.
**It's not rotate, just flip angle** like a script call to flip picture's angle.
$gameScreen._pictures[id]._angle = Value;
ps.I tried SceneManager._scene._spriteset._actorSprites[BattleManager._subject.index()]._angle = value; but it didn't work..

so I can use a script call to flip it when in battle or action sequence.

My project's battle plugin uses only YEP_BattleEngineCore & YEP_X_AnimatedSVEnemies & YEP_X_ActionSequence 1-3.
No special plugin. Thank you very much.
Battler Angle.png
 
Last edited:

poppicha

Villager
Member
Joined
Aug 30, 2015
Messages
20
Reaction score
9
First Language
Thai
Primarily Uses
RMMV
You can now close this thread. I already solved it myself.
I can set each actor's angle like this.
It's not the best way but it's good for me haha.

JavaScript:
//original angle
    SceneManager._scene._spriteset._actorSprites[x].rotation = 0;
//angle 90 degrees
    SceneManager._scene._spriteset._actorSprites[x].rotation = Math.PI/2;
//angle 180 degrees
    SceneManager._scene._spriteset._actorSprites[x].rotation = Math.PI;
//angle 270 degrees
    SceneManager._scene._spriteset._actorSprites[x].rotation = Math.PI * 1.5;
 

Latest Threads

Latest Profile Posts

Here's a showcase of layers of visual effects I've added over a scene. By stripping them off, one by one. :kaoblush:












Aaaaand, here's me working on the above scene, adding weather effects to it: :kaoeh:


DamageActor1_2.png added!
index.php


Krow and Dova's Cool New Game | Release Trailer

Forum statistics

Threads
124,579
Messages
1,164,545
Members
163,404
Latest member
KaireinaH
Top