Iavra Animate Everything (+ Easing Library)

mulier

Warper
Member
Joined
Oct 4, 2018
Messages
4
Reaction score
0
First Language
china
Primarily Uses
RMMV
@Ossra
@Skurge You can use the plugin for essentially everything ... pictures, events, and so on. Like so :







Hello, the picture is invalid, may I ask what are the properties for the event .
My English is poor, thanks.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
965
Reaction score
709
First Language
English
Primarily Uses
RMMV
@mulier


  • Bird 1 Event
    • Page 1
      • Move Route (Custom)
Code:
◆ Turn at Random
◆ Script : var px = $gamePlayer._x; var py = $gamePlayer._y; ($gameMap.event(1)._x.between(px - 8, px + 8) && $gameMap.event(1)._y.between(py - 5, py + 5)) ? $gameSelfSwitches.setValue([2,16,'A'], true) : (rndTime = Math.floor(Math.random() * (45 - 25 + 1)) + 25, this._waitCount = rndTime)
  • Bird 1 Event
    • Page 2
      • Parallel Event
      • When Self-Switch A is On)
Code:
◆Set Movement Route:This Event (Wait)
:                  :◇Turn Right
◆Script:object = $gameMap.event(1);
:      :mapX = $dataMap.width + 10;
:      :mapY = -5;
:      :var avianTween = new IAVRA.ANIMATE.Tween(object, {_realX : mapX, _realY : mapY}).duration(85);
:      :avianTween.easing(IAVRA.EASING.circ.in);
:      :avianTween.start();
:      :this.wait(95);
◆Control Self Switch:A = OFF
◆Erase Event
 
Last edited:

mulier

Warper
Member
Joined
Oct 4, 2018
Messages
4
Reaction score
0
First Language
china
Primarily Uses
RMMV
@Ossra Thank you very much! It was very useful to me!
 

PresaDePrata

Veteran
Veteran
Joined
Dec 4, 2014
Messages
83
Reaction score
16
First Language
Portuguese
Primarily Uses
RMMV
Code:
◆Set Movement Route:This Event (Wait)
:                  :◇Turn Right
◆Script:object = $gameMap.event(1);
:      :mapX = $dataMap.width + 10;
:      :mapY = -5;
:      :var avianTween = new IAVRA.ANIMATE.Tween(object, {_realX : mapX, _realY : mapY}).duration(85);
:      :avianTween.easing(IAVRA.EASING.circ.in);
:      :avianTween.start();
:      :this.wait(95);
◆Control Self Switch:A = OFF
◆Erase Event
@Ossra

Can't find the function between. Did you create it? I'm trying using chrome's console via F8. When i search $gameMap.event(1)._x.between(...) it shows 'undefined'

EDIT: Also, do you know if it's possible to trigger an event by touch while it's performing the route animation? I tried here, but it seems the event must complete its animation before it can be triggered again.

@Roezaka

You don't need to put $gameScreen.picture(1) after calling your picture. Use the following inside a script call and see if you still get an error:

new IAVRA.ANIMATE.Tween($gameScreen.picture(1), {_x: 50, _y: 100}).duration(200).start()
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Profile Posts

The final version of our game is already available both in English and Spanish! ^___^
Can't believe this day has finally come... T_T
Im so happy that Dead By Daylight is getting a Silent Hill chapter! Cant wait to play as pyramid head
I'm glad I found those fishies by @whtdragon so I had a proper base to start pixeling the first enemies in the game.
Such cuties... yeah.
Yesterday, for my youngest sibling's birthday, we watched one of his favorite movies.
Ponyo is such a beautiful, but certainly strange, movie.
I just have to say that I prefer the majority of Studio Ghibli's works to those of Disney.
*sees work place in incoming call history* .... =www= hisssssSSSSSssss.

Forum statistics

Threads
97,812
Messages
947,129
Members
129,027
Latest member
IronWario
Top