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
82
S
26
G
63
Posts: 4,844
Reputation: 45,728

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
104
S
29
G
23
Posts: 3,070
Reputation: 24,781

Post » Thu Sep 06, 2012 12:58 am

Tricky :D
B
98
S
22
G
36
Posts: 1,850
Reputation: 29,408

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
48
S
11
G
5
Posts: 101
Reputation: 7,093

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
82
S
26
G
63
Posts: 4,844
Reputation: 45,728

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
48
S
11
G
5
Posts: 101
Reputation: 7,093

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
82
S
26
G
63
Posts: 4,844
Reputation: 45,728

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
82
S
26
G
63
Posts: 4,844
Reputation: 45,728

Previous

Return to How do I....?

Who is online

Users browsing this forum: inteligentin, Magistross and 20 guests