MosaicMario wrote:Actually, i think i was just doing something wrong, it's working correctly now. but i want to know how to do this with regular coins
and for the value to be carried over to other stages.
If you read the wiki page just one line further, the code to do it for regular coins is literally right there.
As for getting it to save between levels, you need to use either the onExitLevel event or the coins:onCollect event. These will allow you to save the currency value either when you exit the level, or when you collect a coin.