playMaker

Author Topic: Fruit ninja finger slice effect  (Read 6988 times)

gamedivision

  • Full Member
  • ***
  • Posts: 227
Fruit ninja finger slice effect
« on: January 06, 2013, 08:33:40 PM »
Just a quick question really would it be possible to replicate the fruit ninja finger slice in playmaker .

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Fruit ninja finger slice effect
« Reply #1 on: January 07, 2013, 02:43:25 AM »
Hi,

Have you considered Turbo slicer  from the asset store, it has everything it seems:
http://noblemuffins.com/

 From a gesture recognytion point of view, I would go with an existing pacakge such as Input.touches:
https://hutonggames.fogbugz.com/default.asp?W961
-- but here nothing prevents you to roll your own solution totally in playmaker

For splitting the meshes,  if you do it manually, you will likely provide the whole fruit, and the sliced fruit right? then it's only a matter of swaping objects and have some random anim going on top, it may sound simply, but I bet it has some pitfalls ( like slicing again a smaller chunck, how to animate realistically sliced portions, etc etc)

bye,

 Jean

gamedivision

  • Full Member
  • ***
  • Posts: 227
Re: Fruit ninja finger slice effect
« Reply #2 on: January 07, 2013, 03:37:55 AM »
Turbo slicer is no good because it doesn't cover slicing animated objects,hence why I want to create it myself,as for slicing objects,I think pre-cutting them could be better i could make 2 slices then if hit once cut this way if sliced twice then cut this way.its getting the finger touches and having the object recognise that my finger has hit it,and creating the slice effect when your finger touches the screen but if you say input touches would work then ill have a look at that.

Hi,

Have you considered Turbo slicer  from the asset store, it has everything it seems:
http://noblemuffins.com/

 From a gesture recognytion point of view, I would go with an existing pacakge such as Input.touches:
https://hutonggames.fogbugz.com/default.asp?W961
-- but here nothing prevents you to roll your own solution totally in playmaker

For splitting the meshes,  if you do it manually, you will likely provide the whole fruit, and the sliced fruit right? then it's only a matter of swaping objects and have some random anim going on top, it may sound simply, but I bet it has some pitfalls ( like slicing again a smaller chunck, how to animate realistically sliced portions, etc etc)

bye,

 Jean


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Fruit ninja finger slice effect
« Reply #3 on: January 07, 2013, 05:34:44 AM »
Hi,

 Yes InputTouch would work here, tho you will have some work to do around raycasting while touch is down to detect if the touch has hit a fruit.

bye,

 Jean

gamedivision

  • Full Member
  • ***
  • Posts: 227
Re: Fruit ninja finger slice effect
« Reply #4 on: January 07, 2013, 08:30:48 AM »
Thanks jean your help is always appreciated

Hi,

 Yes InputTouch would work here, tho you will have some work to do around raycasting while touch is down to detect if the touch has hit a fruit.

bye,

 Jean

gamedivision

  • Full Member
  • ***
  • Posts: 227
Re: Fruit ninja finger slice effect
« Reply #5 on: January 07, 2013, 08:50:59 AM »
I bought pool manager as well so I could store the fruit there.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Fruit ninja finger slice effect
« Reply #6 on: January 07, 2013, 09:14:47 AM »
hi,

 very good move, else you will get performance issues.

bye,

 Jean