playMaker

Author Topic: Megafiers flip pages with Playmaker.  (Read 6968 times)

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Megafiers flip pages with Playmaker.
« on: February 17, 2014, 11:46:05 PM »
Hi all, I wonder how do I make it possible to tap/click on the page to turn the pages.

Thank you!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Megafiers flip pages with Playmaker.
« Reply #1 on: February 17, 2014, 11:48:24 PM »
Hi,

 I don't have time this week, but can you get back to me early next week, I'll do a working example and if custom actions are needed, I'll provide. I am really fund of Megafiers and the West twins general work! they are genius!

bye,

 Jean

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #2 on: February 18, 2014, 12:06:18 AM »
Hi,

 I don't have time this week, but can you get back to me early next week, I'll do a working example and if custom actions are needed, I'll provide. I am really fund of Megafiers and the West twins general work! they are genius!

bye,

 Jean
All right.. so shall I bump this thread or PM you instead?

Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Megafiers flip pages with Playmaker.
« Reply #3 on: February 18, 2014, 04:39:58 AM »
Hi,

 Bump this thread, pm is not so good to keep track of things.

bye,

 Jean

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #4 on: February 24, 2014, 12:40:32 PM »
Hi,

 Bump this thread, pm is not so good to keep track of things.

bye,

 Jean
Hi, bumping this thread for your attention.

Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Megafiers flip pages with Playmaker.
« Reply #5 on: February 25, 2014, 05:24:32 AM »
Hi

 Here we go,

bye,

 Jean

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #6 on: February 25, 2014, 07:19:17 AM »
Hi

 Here we go,

bye,

 Jean
Thanks for the sample. It work fine but how to I apply it to a 'book'?

Thanks again!

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #7 on: February 25, 2014, 10:12:44 AM »
Hi Jean

I manage to flip the book with almost the same setup except I change the property to 'bookalpha'. But however I can manage to flip on one side only. When I do for the other side, it doesn't start flipping from the current position, but rather start from the end.

Btw, from your example, you have an animation in it which isn't really necessary rite? I manage to get it done without the animation.

Hope to hear from you soon. Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Megafiers flip pages with Playmaker.
« Reply #8 on: February 26, 2014, 01:21:14 PM »
Hi,

 what do you mean by flip? fliping is really, physically turning the page, so there is indeed an animation, if you jsut animate the alpha, you merely show a different page, but you don't really need megafiers for this...

 each page is it's own gameobject, so you need to have this behavior on each page basically.

bye,

 Jean

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #9 on: February 26, 2014, 01:44:39 PM »
Hi Jean,
I think you missed the Megafiers 'MegaBook' part. What you did was just one pages, but theres one with a complete book which, when you change the value of ' Book alpha' it will turn the pages of the book.

Perhaps you can watch this tutorial from MegaFiers at youtube:
Just go to the 6:55 minutes mark, then probably its more clearer.

Thanks again.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Megafiers flip pages with Playmaker.
« Reply #10 on: February 26, 2014, 01:48:24 PM »
Hi,

 ok, yes I see now. I though you only wanted to turn one page. I did not know about the alpha! d'oh

then I am not too sure what you mean by animation, because the pages are animated really, and moving alpha up and down works here isn't it? so if you contorl this alpha using set property, you are good to go.

bye,

 Jean


detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #11 on: February 26, 2014, 11:11:33 PM »
Hi,

 ok, yes I see now. I though you only wanted to turn one page. I did not know about the alpha! d'oh

then I am not too sure what you mean by animation, because the pages are animated really, and moving alpha up and down works here isn't it? so if you contorl this alpha using set property, you are good to go.

bye,

 Jean
Hi Jean, it works but not to what I want. Currently it will turn all the pages at once, but I was looking for turning 1 pages at a time. Not sure if there is an easier way to work with it rather than do it one pages at a time.

Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Megafiers flip pages with Playmaker.
« Reply #12 on: February 27, 2014, 03:30:27 AM »
Hi,

 one page at a time is the sample I provided. I don't see another way, it's either you turn one page or you turn pages of a book via that alpha value.


bye,

 Jean

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #13 on: February 27, 2014, 12:46:26 PM »
Hi,

 one page at a time is the sample I provided. I don't see another way, it's either you turn one page or you turn pages of a book via that alpha value.


bye,

 Jean
Well, I think I need to turn one page at a time then. But I have a last question. Once I got the page flip to right, how do I get it to turn back to left? I get rid of the MouseUp from your sample, cause its not really feasible in my case. I tried to create another gameobject to reverse or turn it back to '0', but it not working.

Thanks.

detomato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Megafiers flip pages with Playmaker.
« Reply #14 on: March 01, 2014, 01:02:45 PM »
any pointer on this? really appreciate it.