playMaker

Author Topic: How to speedup and Slowdown per Object?  (Read 601 times)

lionserver

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
How to speedup and Slowdown per Object?
« on: September 17, 2018, 09:49:03 AM »
Hello!!
The game which I design contains a element which can control time. If playger get this element that everything except him will slowdown in 5 second.
But I just find Action named Timescale what can control time, but I don't want to effect player.
Can anyone help me?? Thanks a lot!!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4178
    • View Profile
    • jinxtergames
Re: How to speedup and Slowdown per Object?
« Reply #1 on: September 18, 2018, 01:45:56 AM »
Hi.
I think it is best to use an asset like Chronos.

or you could have the speed from each object in 2 arrays 1 for normal speed and a 3rd one for the corresponding object.

Then loop thru the array to set the needed speed variable to the object. all objects should have the same named variable for its speed.

Or have an fsm on each object with 2 states and 2 global transitions. (SetSlow and SetNormal event) then on each state use a "Set Fsm float" to set the speed to the movement fsm from the object.
Then you can broadcast an event to adjust the speed.

lionserver

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: How to speedup and Slowdown per Object?
« Reply #2 on: September 18, 2018, 01:56:16 AM »
About Chronos, I just bought this awesome asset three days ago, but it couldn't affect any FSM programs. Can you solve this problem?
Others way I will try them later.
Thanks a lot!!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4178
    • View Profile
    • jinxtergames
Re: How to speedup and Slowdown per Object?
« Reply #3 on: September 18, 2018, 02:02:26 AM »
Hi.
I just check my list and it seems that i purchased it a long time ago :)

I will have a look when i get home.

Have you asked to the author?

lionserver

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: How to speedup and Slowdown per Object?
« Reply #4 on: September 18, 2018, 03:08:33 AM »
I haven't :'( :'(

lionserver

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: How to speedup and Slowdown per Object?
« Reply #5 on: September 18, 2018, 08:24:38 PM »
I just asked the author this question this morning.Hope this question will be solved.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14109
  • Official Playmaker Support
    • View Profile
Re: How to speedup and Slowdown per Object?
« Reply #6 on: September 18, 2018, 10:21:27 PM »
Hi,

 PlayMaker has an option to take control over the update cycles  (turn on experimental features).

 However I suspect it has to do more with the actual actions you are using, so I think it will need to be addressed on a per case bases.

 Bye,

 Jean

lionserver

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: How to speedup and Slowdown per Object?
« Reply #7 on: September 19, 2018, 09:51:55 AM »
I have designed game with Playmaker for 1year.I really hope I can solve this problem and do it like awesome asset [chronos].

Thanks a lot