playMaker

Author Topic: Translate in real time  (Read 117 times)

TonkRogerio

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Translate in real time
« on: October 04, 2018, 06:51:55 PM »
How do I translate in real time? is there a custom action for it? I've got a time manipulation mechanic in my game and it stops me from moving the camera whenever the game is paused. also at faster speeds it moves the camera faster. I could make it so the time manipulation works with a variable that changes the speed of all the other objects but that's a lot of work when I could just press "real time" on the camera translate instead.

Thanks in advance.

(PENDING SOLVED(Ignore this part for now)) Jean was kind enough to add it to a downloadable action called "Translate Advanced" find it in the ecosystem in playmaker and download it. The fix is that it now contains a "real time" option.
« Last Edit: October 11, 2018, 01:13:19 AM by TonkRogerio »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13401
  • Official Playmaker Support
    • View Profile
Re: Translate in real time
« Reply #1 on: October 04, 2018, 11:44:50 PM »
Hi,

are you already using the translate action, set to PerSeconds?

else for this I would use iTween or any other tweening engine that supports PlayMaker, you can move objects at realtime.

Let me know if you are not progressing with the above, I'll see if I can modify the translate action to work in realtime as well.


 Bye,

 Jean

TonkRogerio

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Re: Translate in real time
« Reply #2 on: October 05, 2018, 12:38:01 AM »
Thanks for the fast reply, Jean. I'll just wait for the modification to translate tbh. I'm not familiar with itween and time is not of the essence when it comes to this issue. I'm surprised no one has asked for this before though. Thanks and let me know when the real time is implemented so I can download it. appreciate it, Jean.

EDIT:- Sorry I forgot. I am using "per second". Here is a pic of one of the fsm i'm using.

https://i.imgur.com/gX9kjj1.png
« Last Edit: October 05, 2018, 12:49:09 AM by TonkRogerio »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13401
  • Official Playmaker Support
    • View Profile
Re: Translate in real time
« Reply #3 on: October 08, 2018, 12:34:39 AM »
Hi,

 ok, it's up, Get the TranslateAdvanced Action, it will feature a new option "Realtime" that you need to check along with "PerSeconds" and then it will unaffected by time scale.

 Bye,

 Jean

TonkRogerio

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Re: Translate in real time
« Reply #4 on: October 08, 2018, 12:38:29 AM »
You're a star, Jean. thanx a lot. I'll download it sometime soon and I'll let you know if  I run into any problems with it.
Again, thank you so much.

TonkRogerio

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Re: Translate in real time
« Reply #5 on: October 11, 2018, 01:15:14 AM »
So unfortunately, it only half worked :/. It stops the camera from moving faster if the speed is increased, so the camera now moves at the same speed at almost any game time speeds except when the game is paused. the real time ticker still fails to produce any movement from the camera when the game time is set to 0.
This is odd behavior. Do you know what it could be?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13401
  • Official Playmaker Support
    • View Profile
Re: Translate in real time
« Reply #6 on: October 11, 2018, 01:28:32 AM »
Hi

 well, you need to switch states and use either realtime option or not.  that's all there is to it.

 Bye,

 Jean