From game maker to Construct: some questions.

For questions about using Classic.

Post » Tue Mar 16, 2010 5:08 am

[quote="greyspot":lbjysplq]It works, and this is somewhat unrelated, but if you change the target from the overlap from the green family to GreenSprite, the game crashes. Why is this? Families work here, but I don't know why they do.[/quote:lbjysplq]

Families are a way to group objects together. When you do that, you can test conditions and perform actions on the group. The group is treated as a separate entity where picking is concerned.

In this case, the family is a group of one. The sprite is the only object in there. But this means that we can now refer to the object in two different ways... by it's object-self, and by the group-self. So... now you can check if Sprite is overlapping Family without any conflict. It's just a trick to make instances of the same object interact, it's not really what Families were designed for.

For more info on picking, and the Selected Object List, check out the wiki:
http://sourceforge.net/apps/mediawiki/c ... ct_picking
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Mar 16, 2010 5:49 am

You guys sure are helpful!

I was attracted by the open source aspect, and I already like it a lot more than GM. I just have to get used to a few things I suppose.

Thanks guys :D
B
3
S
1
G
2
Posts: 57
Reputation: 964

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests