im trying to have some actions take place while 2 objects are colliding. otherwise, some other actions will happen.
on collision between obj1 and obj2: actions*
but what happens is the actions under the collision event only happen for a single frame, and then the else actions take place...even though the objects are still colliding. im guessing this is because the even says "on collison"; the moment it happens. this isn't very useful though. what else can i use?
doesn't seem to work. the object that i do the colision test on is on a layer under the object it needs to colide with..which is why it's not working i guess.
edit: it does work (retested it) but it triggers the actions under the event for all the objects; even those that are not colliding
Post your .cap so people can take a look and help more. Should work fine.
Develop games in your browser. Powerful, performant & highly capable.
this is with the "on collision". you can see the row get highlighted for a single frame when you drag the platform up to it. (click on a platform to select it, middle mouse button to "drag" it up to the row bellow/above). when you have a platform on a row, the highlight for that row should be red and its private variable "available" should = 0. availabe = 1 and the row is green when there is NO Collisions.
Hmm it's asking for a plugin I don't have, color lines I think it is? It wont load for me. :
Have you made the else event a sub condition/event, that might stop it happening all the time and only when triggered?
using this effect here:
Now it asking for a other .fx.
How many costum .fx are you using in your cap.
bah. hue tint is the other one im using. i thought it was standard in construct.
that is most definitely the last one. sorry >_<
change it to this.
lol you beat me to it! I was off hunting for a working download for the hue tint effect (didn't think to check back here haha).
Yay for overlap working!
oh cool, thanks guys :]