why not use an else condition instead of the has not los?
or am I missing the point?
Would it work if you make an event
player is not overlapping small sprite
trigger once
You could do this with switching a variable too, which would probably make the events easier to read.
Ok so when collided if distance is greater than a certain amount apply force?
so the action should be:
sprite5 set animation.
and not
playerobject set animation, right?
Are the animations on the playerobject or on sprite5?
—
If you want someone's attention put in front of their name in your post..
I just happened to see this by accident..
Like I said my example had and has flaws, but I'll look if I still have the capx.
De
If you can't figure out why that is by yourself, I recommend using the physics method as described above.
set the logo to physics also and set it to immovable to get this to work.
I'm not sure using physics is smart though..
You could get almost the same effect by using bullet behaviour on the coins and set gravity and bounce of solids to true..
Please save as single file, Capx not caproj, for us to be able to download.
Probably all you have to do is in the movement behaviour properties choose set angle to no.
Couldn't you just add them?
Var1+Var2+Var3+Var4+Var5+Var6+Var7+Var8 is greater or equal to 3
Develop games in your browser. Powerful, performant & highly capable.
I would suggest using: viewportleft+((viewportright-viewportleft)/2)
Otherwise it will only work when viewportleft is 0
Could you explain why the example I posted wouldn't work?
create the image of the arrow, set it's angle to:
angle(sprite.x,sprite.y,mouse.x,mouse.y)+180
Arrow done!
Member since 26 Apr, 2011