hi all,
I’ve built this simple engine for Roleplaying game; it’s an engine that permits to store a coin in a backpack and retrieve it as soon as needed.
It is fully usable, but the retrieveCoin function doesn’t go, maybe because of a targeting problem (???); I’m struggling on it since a few days, can any expert coder help me please? I’m full of endless gratitude to anyone will gimme a hint
Functions are scattered through different layers in order to make them recognizable and have the attachCoin function well separated… this introduce the second problem: it comes at the beginnig, I’m not sure how to handle the initial function that scatters coins all over the screen. I need to make them appear many time, in some different position, so I guess I need an array to drive each one at its position, via the attachCoin function
fla in attachment (CS3, but AS 2.0)
thank a lot you all in advance