Trying to add a currency to my game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Trying to add a currency to my game

https://code.sololearn.com/WrrxkB0z8Dg0/# I am trying to add a currency in the game as so you get scored on you get get Level Ups(Planning that for later) But currently trying to add a currency in the game And i want to currency to be a C So Every time you get scored on 1C and Every time you score 5C

4th Sep 2022, 8:57 AM
Yatharth Dwivedi
Yatharth Dwivedi - avatar
1 Answer
+ 1
Create a game state that updates the money variable when things happen.
5th Sep 2022, 7:09 AM
Jason Kennedy