In the properties section of 'player' (below all the physics settings) change the setting to 'keep between levels'. This will carry the money score across all the levels.
You can use an expression to calculate how much money the player has.
i don't want it to have 3 live sorry my goal was to have my game like flappy bird in a sense where you play for a short to cuz it supposed to be hard. Is there any way for the money to stay with you the whole time @muddyapples
Perhaps if you get hit make player invisible for a while so it gives the impression of him losing a life, then reappears a second later, still with the score intact.
Comments
http://www.flowlab.io/game/play/74741
I added some logic to a game earlier to show how to collect and add points.
https://flowlab.io/game/play/75980
The logic is in the knight. This is set up to show how coins of two different values add to the same label but you can just leave one out.
I'd try making the money emit from different places like the spikes, at the minute you can stay around the same area and get rich quick!
is the anyway the money wouldn't reset after every game and then you could use money to buy upgrades
In the properties section of 'player' (below all the physics settings) change the setting to 'keep between levels'. This will carry the money score across all the levels.
You can use an expression to calculate how much money the player has.
@muddyapples
I think you need to give your character some lives. Check out the logic used in Grazers Space Drones. http://flowlab.io/game/play/37
3 lives, if you get hit you lose a life bit your score still stays with you. Only after all your lives are used up do the scores reset.
player collision with spike > 0% Alpha > Timer (perhaps 10) > 100% Alpha
The above logic will make the player disappear and reappear.
You may have to send a message to the spikes to stop falling for a second, try using the delay on the timer.
Good luck.