Math Problem??

ilan

Expert
Licensed User
Longtime User
ok i am officially stupid....

after searching and searching i found out that my enemies are inside a panel and the panel is moving and like this the enemie.top will never change because its in a panel but the moving object is in activity i had to add the panel.top amount to enemies(i).top and now its working

thank you very much, i learned something new today :) (if everyone say on something TRUE, only you see WRONG than you probably are wrong :confused:)
 

udg

Expert
Licensed User
Longtime User
if everyone say on something TRUE, only you see WRONG than you probably are wrong

I would have stated it differently:

If everyone say on something TRUE, only you see WRONG than..
1. you are a genius
OR
2. you're probably wrong

:)
udg
 

udg

Expert
Licensed User
Longtime User
in my case. normally i am the one that is wrong.
That's because real geniuses are very rare.. maybe one every 100 years..and I was born in 1964..ehehehe

:D

ok, this last post will definitively tarnish my reputation here .. and move me from the ex-teenager group to the archaic one!
 

ilan

Expert
Licensed User
Longtime User
Thank you klaus for your help. I have found my mistake.

The enemies where in a panel and the moving image in activity and the panel is moving down so the enemies.top will not change because its in a panel and thatswhy it didnot work for me so now i calculate panel1.top + enemy.top and its working perfect

Thank you very much :)
 
Top