Anyone know how to create score system that saves the players previous and show it so they can try to beat it for shooter game

How do i create s scoring system so every time you kill and enemy you get a point while defending the sprite you are trying to defend and how do i have it where it saves the players score and then every time
they launch the game die and retry or reload the game the score shows so they try to beat it


You can use gdevelop’s storage system to store saved values

Here’s how:


Variable(score) is the score variable used, but you can change it to your own.
Ideally, the load score action should be used at the beginning at the scene.

As for killing enemies, you can use the Health points and damage extension. You just have to attach the Health behaviour to your enemy.

Here is an example for the score:

Hope this helps!

thanks that helps a lot honestly being a python coder i should have thought of that but then again sometimes we think of everything but the answer

There is no show variable function how do put on the screen for players to see and try to beat

How do you want to show it? As a text? Then use a text element for which you set a value to score variable. This is common usage which you can see in Gdevelop tutorials, e.g. latest one https://youtu.be/XxeD_2nTyHI?feature=shared&t=1158.