thanks
thanks
nice tutorial
Newgrounds Tutorial Error
leo345610zzz
and other people who are getting NaN, there is a fix:
On the first frame of the whole movie type in "_root.totalmoney = 0;", not just stop();.
What it actually does is that, the var and instance name of the dynamic text is "totalmoney", there it detects (Checks all frames) and Writes "0" onto the text box as the code is so soft we can modify it so if one hits a button the text changes.
A really helpful tutorial.
Here is a fix to get the gold coin to work correctly.
On the first frame of the gold coin put
_root.totalmoney = 0;
stop();
instead of just
stop();