How do I create non-rectangular sprite?

Get help using Construct 2

Post » Fri Jan 30, 2015 5:01 am

Is it possible to create a non-rectangular sprite object? Like a triangular or circular sprite object?
B
7
Posts: 20
Reputation: 293

Post » Fri Jan 30, 2015 5:14 am

The bounding box affects how the system perceives an object's shape, the actual shape is a rectangle since that is the simplest shape that makes sense.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Fri Jan 30, 2015 6:42 am

Then how do I make circular or eclipse object? The collision polygon only has 4 sides.
B
7
Posts: 20
Reputation: 293

Post » Fri Jan 30, 2015 6:44 am

You can add more for up to 8 - which is good enough to approximate a circle.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Fri Jan 30, 2015 10:18 am

If it's a physics object, you can change the bounding box shape in the physics properties, too (but only to one of a few preset shapes, including a circle; no triangles, tho, iirc).
B
31
S
6
G
3
Posts: 22
Reputation: 4,766

Post » Fri Jan 30, 2015 10:29 am

Somebody wrote:You can add more for up to 8 - which is good enough to approximate a circle.


How do I add more? When I create a new sprite object the "Add point" is gray out.
B
7
Posts: 20
Reputation: 293

Post » Fri Jan 30, 2015 10:36 am

You have to click on a previous point and then it will add another in-between. It also, apparently lets you add more than 8, but with a warning message.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, kellehk, R0J0hound, ST314 and 26 guests