Anything like Fruit Ninja?

Get help using Construct 2

Post » Wed Jun 04, 2014 6:03 pm

Anyone got tutorial for Fruit Ninja physic on Construct 2?

Thanks!
B
8
S
2
Posts: 203
Reputation: 1,169

Post » Wed Jun 04, 2014 6:13 pm

If you search for Fruit Ninja, you'll find this: https://www.scirra.com/forum/span-class-posthilit-fruit-span-span-class-posthilit-ninja-span-help_p711319?#p711319 which may be of use.

There are also other posts showing the slice action if you have a root around.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,555
Reputation: 60,454

Post » Wed Jun 04, 2014 7:32 pm

i have a little sample idea:
Add "Touch" to your game and in on touching event of the "fruit" add an event that destroy the fruit and spawn another splitted intance of it and don't forget to add a fade effect.
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778

Post » Wed Jun 04, 2014 8:57 pm

Manarsoft wrote:i have a little sample idea:
Add "Touch" to your game and in on touching event of the "fruit" add an event that destroy the fruit and spawn another splitted intance of it and don't forget to add a fade effect.


Won't that use more of a Tap versus and Swipe? I am curious.
B
6
S
1
Posts: 71
Reputation: 548

Post » Wed Jun 04, 2014 9:24 pm

You can use the On Touch Start, In Touch and On Touch End conditions to determine the length and duration of a swipe and to create the slice graphic, and code an appropriate action. Not exactly difficult.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,555
Reputation: 60,454

Post » Thu Jun 05, 2014 8:03 am

Found this
Made by @Minchequeo
It explains all, thanks to that superb guy :D
You do not have the required permissions to view the files attached to this post.
B
8
S
2
Posts: 203
Reputation: 1,169


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, R0J0hound and 7 guests