The Daily Click ::. Forums ::. Klik Coding Help ::. Individual stuff Wth?
 

Post Reply  Post Oekaki 
 

Posted By Message

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
16th June, 2009 at 16:04:04 -

Okay, so I'm working on an engine that can throw stuff around.
And I also made moving platforms which the boxes you throw, can stay on and move with the platforms.
So I made both vertical and horizontal platforms and the boxes stays on them just fine one at a time.

but when i put a box on a horizontal AND a vertical at the same time, it's like the events screw up and does the same thing for all the objects, making them go both up/down and left/right. I don't understand this since the events is "When box is overlapping platform, box do that". Shouldnt that be enough for the object to do individual things?

I've taken a pic at the events:
Image

I dont understand :/

 
www.Solgryn.org

Image

SephirothClone13



Registered
  04/06/2009
Points
  28
16th June, 2009 at 18:08:21 -

i'm confused. are you putting the box onto a platform that moves both horizontally and vertically? the use of 'one at a time' makes it seem like the box is be placed on two platforms simultaneously... so maybe the box is moving from one to the other and overlaps both at a given time?

like i said, i dont understand

 
n/a

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
16th June, 2009 at 18:26:40 -

I have the box and 2 platforms.

1 platform is moving horizontally

and the other is moving vertically

when the box is overlapping, it sets its y position to the speed of the platform

 
www.Solgryn.org

Image

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
16th June, 2009 at 21:59:24 -

when you have two conflicting events it is going to do both. how would it know which to take precidence?

if its overlapping both at the same time it will obvously do actions for both. its not screwing anything up.

you are also using the same active for both horizontal and vertical moving platforms? use different objects. then you can tell it that the vertical one takes precidence so if its over both, ignore moving horizontally.

 
n/a

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
17th June, 2009 at 10:21:52 -

what difference does it make? Theres a condition that says when the platform is going up, box goes up and when platform is going down, box go down.

 
www.Solgryn.org

Image

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
18th June, 2009 at 01:40:36 -

because if its overlapping both a horizontal and a vertical moving platform at the same time its going to do both! until it isnt overlapping one of them anymore. when it gets to the first 2 event which is up and down, and it meets the conditions, it will carry out the actions. when it gets to the second 2 events which is right and left it will STILL CARRY OUT THOSE ACTIONS!

you have to tell it to NOT do it. using groups or flags or what have you. but it isnt mmfs fault.

unless i am totally missing the point of your problem here.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click