Cut (or Slice) an Object...

Get help using Construct 2

Post » Wed Sep 05, 2012 9:56 pm

Here is a example that uses the canvas object. I made something similar in CC.

http://dl.dropbox.com/u/5426011/examples14/cut.capx

You will need to re-download the canvas plugin as I added some fixes to make it work.
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Wed Sep 05, 2012 11:53 pm

[QUOTE=R0J0hound] Here is a example that uses the canvas object. I made something similar in CC.

http://dl.dropbox.com/u/5426011/examples14/cut.capx

You will need to re-download the canvas plugin as I added some fixes to make it work.[/QUOTE]

Thats awesome example!
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Thu Sep 06, 2012 12:58 am

Tricky :D
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Mon Jan 28, 2013 8:02 am

@R0J0hound, I got an issue. When i played your example, it suddenly stopped after the 9th or 10th cut. Then I tried showing the fps n the result's that the fps is unstable after the 9th or 10th cut. In the end before it stops, it reaches 1. Am i the only one experiencing this?
Thanks
nothaseo2013-01-28 08:22:31
B
41
S
9
G
4
Posts: 100
Reputation: 6,211

Post » Mon Jan 28, 2013 8:16 pm

Every cut doubles the amount of objects so after 10 cuts there are 1024 objects. So it's going to have lower fps the higher the object count gets.
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Tue Jan 29, 2013 2:59 am

Oh I see, thanks. Can we make it so that everytime we do the 10th cut, the objects created by the 1st cut destroyed? and will it overcome the fps issue?
nothaseo2013-01-29 03:02:25
B
41
S
9
G
4
Posts: 100
Reputation: 6,211

Post » Fri Feb 01, 2013 7:42 pm

@nothaseo
That would cause pieces to disappear. The proper solution would be to split only the relevant pieces instead of all of them.
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Fri May 30, 2014 8:02 am

Were do I get ROJOhounds plugins?
B
5
Posts: 12
Reputation: 249

Post » Fri May 30, 2014 10:36 am

B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Previous

Return to How do I....?

Who is online

Users browsing this forum: Colorfish and 28 guests