The Daily Click ::. Forums ::. Klik Coding Help ::. Problem with grouping-tgf
 

Post Reply  Post Oekaki 
 

Posted By Message

Yoshi8



Registered
  16/03/2004
Points
  111
26th April, 2004 at 13:26:08 -

Recently, I just tried to make a game with tgf. Only one of the people that i put in the game would talk to me. So I made a simple game. I had 4 objects total, 1 player object (32,32), 1 big circle for object stuff(100,100, and 2 squares, also 32,32.
i grouped the squares together to the happyface group.
I set the big circle to always be 0,0 to player object, and also set that if the circle was over the group happyface, that it would play a sound. So I run the game, and heres the problem, if I put the circle object over 1 square, it playes the sound, and if I put it over the other, it does nothing. If I load the game into mmf, it works for both squares. However, I have to work in tgf for a compitition. What is the problem with grouping in tgf, and how do you fix it? Also, is there is an extension that would fix this problem, post it.

 
Nope.

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
27th April, 2004 at 08:12:19 -

And each post was just as helpful as the other.

I find that TGF can't handle groups very well for certain types of events, but the same things work fine in MMFusion... I can only suggest using multiple events, one for each square.

 
http://www.davidn.co.nr - Games, music, living in America

Yoshi8



Registered
  16/03/2004
Points
  111
28th April, 2004 at 10:01:05 -

Well, I guess i will switch to mmf. I need those groups.

 
Nope.

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
29th April, 2004 at 07:12:17 -

Grouping is always a pain in the ass in TGF. You probably have this event: "square is overlapping happyface". Try reversing it: "happyface is overlapping square". This should work, I think.

 
This space is for rent
   

Post Reply



 



Advertisement

Worth A Click