yeh, i know this
but actually i have to collect resource, so i check player collision with resources through c_move function. And i have to write code for player movement in while loop.
so in while loop i check if distance is <=0 then collision occur(means got resources)so i delete that resources.

So can you tell me another way.

Actually i am new in Lite-C programing. so if we can write any another way of collecting resource code then also its good.

Thanks



in