Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!
Newgrounds Tutorial Error
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;
instead of just
it's work but my money increased to NaN