[Suggestion] Collision Editor

Discussion and feedback on Construct 2

Post » Sat Jul 21, 2012 9:07 am

Hi,
Thanks for C2 so that I can make games easily,
I have several feedback about the collision editor,
For faster and accurate purpose,
It's trouble to adjust vertex one by one,
Here's the functions that I suggest:

01 > Select Multiple Vertex
So far I can't add or subtract vertex of collision,
It will be better if able to adjust multiple vertex together.

02 > Align Position
Select multiple vertex > Align to average X/Y position,
Or align to minimum/maximum X/Y position.

03 > Snap Position
It would be great if we can snap vertex to a position,
For example, snap by grid, snap by pixel and so on.

04 > Type in position value
Type in position value directly like moving object.

05 > Duplicate collision shape
Copy a collision shape from an object to another object.

Here's it. I have these ideas because it's like UV editor,
Hope these functions are available in the future update,
Thanks you. ^_^
B
13
S
5
G
3
Posts: 63
Reputation: 3,989

Post » Sat Jul 21, 2012 10:07 am

In current beta version (r99) and since the couple of previous beta versions :

Image editor: now allows multiple selection of collision poly points (hold control or shift while selecting), a new 'Select all' option, and dragging multiple points at once.
To add a point you have to double click a collision point, to delete, you have to select a point and press the "del" key.
For both actions a right click on a collision point allows to do it to.
(adding and delete were already in before r97).

04> A field is available since r97.

05> Right-click "Apply to whole animation" is a way to do this.

Also, remember you shouldn't have more than 8 points to make your collision mask anyway (more points might end up in a buggy collision detection and performances loss).Kyatric2012-07-21 10:08:17
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Sat Jul 21, 2012 10:34 am

Ah, okay, I will try this out later, thanks~ =)

Hmm, there's a misconception on the last point~
I mean copy a collision shape to another sprite~
The "Apply to whole animation" is applying within the sprite~

For example, I have 2 sprites with no animation~
The sprite names are "frame" and "metal"~
Both size is the same, the function I suggest is~
Copy the collision shape from "frame" into "metal"~
So that both sprites carry same shape of collision~
B
13
S
5
G
3
Posts: 63
Reputation: 3,989

Post » Sat Jul 21, 2012 10:41 am

You could simply create dummy sprites to use for collisions and pin them to your image sprites?
B
49
S
14
G
3
Posts: 540
Reputation: 5,611

Post » Sat Jul 21, 2012 11:45 am

It work also but the purpose is to save project size~
For example there have 300 same sprites within the layout~
We will have 600 sprite if we create a dummy sprite for each~
B
13
S
5
G
3
Posts: 63
Reputation: 3,989


Return to Construct 2 General

Who is online

Users browsing this forum: Aphrodite, blackant, Eisenhans, Prominent, shinichild and 10 guests