The Daily Click ::. Forums ::. Klik Coding Help ::. Coding problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Dave Matthew (Jester Gaming)



Registered
  09/07/2004
Points
  148
31st March, 2005 at 18:12:39 -

Hi!
I am making a custom platform movement engine and have run into a problem. Say I am using this detector which is initally placed over a backdrop.
Then I have the event:
*Always
+detector is not overlapping background
+detector is not overlapping group 0
+detector is not overlapping group 1

Still this event occurs at start of level. If I add a "timer is greater than 1 sec" it doesnt happen. why? The detector is as I said placed over a backdrop from start!

Thanks
/Mattias

 
n/a

clwe



Registered
  17/12/2002
Points
  702
31st March, 2005 at 18:45:00 -

So, what is the problem exactly? You haven't asked a question...I'm confused.

 
n/a

Dave Matthew (Jester Gaming)



Registered
  09/07/2004
Points
  148
31st March, 2005 at 18:49:25 -

the question is: why does mmf executes this events associated action sometime within the first second of the frame even though the detector is overlapping a backdrop.

 
n/a

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
31st March, 2005 at 19:00:01 -

Try putting the whole event at the very top, see if that works.

 
Image

Dave Matthew (Jester Gaming)



Registered
  09/07/2004
Points
  148
31st March, 2005 at 19:04:14 -

still executes! this is insane!

 
n/a

clwe



Registered
  17/12/2002
Points
  702
31st March, 2005 at 19:43:30 -

Strange...I don't have the same problem, even if I try it in a frame chock-full of events and actives. Well, adding the condition 'timer is greater than 00:10', or anything similar, should sort it out (I'm usually adverse to using the timer, but there's no reason why that shouldn't work). You don't need the 'always' condition, btw - that would just be used for an event all on its own.

 
n/a

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
31st March, 2005 at 19:58:15 -

Have you made sure your background is an obstacle?
If so, try changing the order of the events. Always never needed.
Also, TGF (and possibly mmf) has a few problems with qualifiers and groups, so make sure you have the latest build.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
1st April, 2005 at 02:49:12 -

groups!!!
i've ran into this problem before!
when using oject groups you always have to mention the groups FIRST. like:

-group 1 is not overlapping detector
instead of:
-detector is not overlapping group 1

it sounds stupid, but it works!

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
1st April, 2005 at 02:51:12 -

yea, and make sure there always is a object in play from each group. If a group doesn't exist (temporarily) and you have a collision event with that group, it will think the group is overlapping it all the time.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click