Collision Suggestions

Discussion and feedback on Construct 2

Post » Tue Nov 15, 2011 4:26 pm

Its me again, with more random ideas.
I have a few suggestions that can make collision a lot better and simpler to use:
1- A "Negative" collision. In other words, the area you select is the only part of the sprite NOT affected by collision. This will make room collision a lot better and easier to do.
2- A multiple box collision option. Instead of using polygons, you can just click and drag to make a rectangle, and you can make more than one of them. This would be really useful for single sprite maps (or even just standard rooms) as well as many other things.
3- This has probably been asked before, but is there any way to implement a feature that will allow you to control things from one layout from another? Such as generating sprites on layout 2 while on layout 1.
Thats all!
For now at least :)
B
40
S
8
G
6
Posts: 61
Reputation: 5,931

Post » Fri Nov 18, 2011 8:40 am

Can I bump this? These features would really help with all kinds of games, especially ones that their map is just one big picture (with buildings and objects already on it).
B
40
S
8
G
6
Posts: 61
Reputation: 5,931

Post » Fri Nov 18, 2011 10:08 am

Scirra has a ridiculously long to-do list and do not really need any new suggestions at this time.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,390

Post » Fri Nov 18, 2011 10:18 am

LOL! You can't blame the guy for giving his ideas. Well those a nice ideas and would really help a lot but I think it may take a while before those get implemented. Even the plugins/behaviors I'm waiting for haven't been added yet so I'm waiting patiently.
B
10
S
5
G
8
Posts: 203
Reputation: 4,395

Post » Fri Nov 18, 2011 12:56 pm

Users feedback and suggestions are not only very important but crucial. Ashley can't divinate all possible needs of everyone so that he can sort them out later.Kiyoshi2011-11-18 12:58:09
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

Post » Fri Nov 18, 2011 1:33 pm

Those stuff have already been "suggested" and dismissed.

Multiple collisions ? Use several invisible sprites, pin them on your "main" sprite and here you go, multiple hitbox.

Making objects on other layouts ? Use the global property of objects and remember that a layout is created only when the action "go to layout" is met. And remember that objects are destroyed when a layout is "closed" (going from layout1 to layout2, objects fom layout1 that don't have the global property on are destroyed, objects supposed to be in layout2 are created).
If you need to create objects on layout2, spawn them in the event "On start of layout".
If you need subtlety and dependece on your first layout, use global variables.
If an action has been done in layout1 you can set a global variable to a certain value.
On startup of layout2, test the global variable, the value is such as expected ? Spawn object.
Here you go.

Suggestions are good, learning to use C2 and what it allows as it is right now is better.
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,786

Post » Fri Nov 18, 2011 1:43 pm

In User view point i think a better collision system would add much to the engine. Creating invisible sprites for it is cumbersome at least. In Developer view point Ashley has already much to do and a multi shape collision body could be hard to implement so it goes to end of list.
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

Post » Fri Nov 18, 2011 3:08 pm

I do read all suggestions but right now we don't have time to work on anything which has workarounds. In other words we're prioritising things which are otherwise completely impossible. All three of these can be worked around:

1) Just set up a square collision mask with a bit missing
2) Invisible sprites as 'detectors' has been a standard technique since Classic
3) I don't think the engine really supports this, it's up to you to make your game logic do what you need it to.

So I do appreciate these may be genuinely useful, it's just there are things like Families on the todo list which are making it extremely difficult to make large projects which is quite a severe problem, and these are minor problems in comparison (IMO).
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Fri Nov 18, 2011 3:16 pm

Oh, yes, families... (starry eyes) hope they are not too far away.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Sat Nov 19, 2011 4:48 pm

Thanks for all the replies, I had no idea that those had workarounds. I will try them out, hopefully they will work. And I agree with Somebody... I hope families are coming soon :)
B
40
S
8
G
6
Posts: 61
Reputation: 5,931

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests