0 votes
 Hi i would like to know how i can save the amount of coins the player received in a level.when the player plays the level again; the coins he received in this level should be added to the coins he collected before. 
 The coins amount should be saved when the player enters or exits the game.
    and  " Could you help me in writting down the coin's gd and the nodes required in this procedure ? "
in Engine by (140 points)

This link may help you.

Why is everything in code format?

1 Answer

0 votes

I don't know what you exactly understand by coin in your game. But in my point of view this is just a variable in your scripts. The value of it you may hold in user-space file, if it is enough, or you may hold via API on some server and load to your variable from it.

by (164 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.