# Création d'un comptage de s-core

**URL:** <https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696>\
**Category:** Questions about Thunkable X\
**Created:** [July 31, 2021, 9:30pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696 "2021-07-31T21:30:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![valerie.evequea1](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@valerie.evequea1](https://community.thunkable.com/u/valerie.evequea1)\
**Post date:** [July 31, 2021, 9:30pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/1 "2021-07-31T21:30:27Z")

</div>

Bonjour

je suis en train de créer un mini jeu et je veux compter un score  
à chaque fois qu’un spride touche un autre spride c’est +1

j ai créé un label score

j ai créé la régle pour lancer lancer le décompte

When spride1 collides with spirde2  
change app variable app variable score by 1

j essaie ensuite de faire afficher le résultat

when app initilizes or changes

et là je vois dans les tuto qu il y a une fonction  
FROM label set text to " "

et je ne l’ai pas

dans mon label je n ai que des fonctions qui commencent par set

pourriez vous m aider à trouver comment créer un score svp

cordialement

---

<div class="post-metadata">

**Author:** ![bnice](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bnice/32/110648_2.png) [@bnice](https://community.thunkable.com/u/bnice)\
**Post date:** [July 31, 2021, 9:46pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/2 "2021-07-31T21:46:22Z")

</div>

Hello and welcome to the furom.  
Please understand that almost everyone here speaks in English. I used a translator to understand your post and this is what I got.

— **Start Translation** —  
"Hello  
I am creating a mini game and i want to count a score every time a spride (Sprite) hits another spride(Sprite) it is +1. I created a score label. I created the rule to start the count When spride1 (Sprite1) collides with spirde2 (Sprite2) change app variable app variable score by 1

I then try to display the result when app initializes or changes and there I see in the tutorial that there is a function FROM label set text to “” and I don’t have it. In my label I only have functions that start with set.

Could you help me figure out how to create a score please

Cordially"  
— **EndTranslation** —

You are going to use the 'Set “”‘s Text to Block’. Here is a screenshot of what I did and this worked.

![Code](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/9/d96ef92ff293d1fc7aedbd0efd431f11f0cf4cfc.jpeg)

---

<div class="post-metadata">

**Author:** ![valerie.evequea1](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@valerie.evequea1](https://community.thunkable.com/u/valerie.evequea1)\
**Post date:** [July 31, 2021, 11:18pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/3 "2021-07-31T23:18:26Z")

</div>

thanks for the reply, however it still doesn’t work.  
my project is public.  
my username is valerie.evequea1  
the project I am telling you about is: jeu d’essai UNIQUEMENT

Pourriez vous regarder? please

thanks

---

<div class="post-metadata">

**Author:** ![bnice](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bnice/32/110648_2.png) [@bnice](https://community.thunkable.com/u/bnice)\
**Post date:** [July 31, 2021, 11:22pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/4 "2021-07-31T23:22:39Z")

</div>

Your project is not coming up. Can you send a copy link my hitting “Share” in the designer and sending me the link?

---

<div class="post-metadata">

**Author:** ![valerie.evequea1](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@valerie.evequea1](https://community.thunkable.com/u/valerie.evequea1)\
**Post date:** [August 1, 2021, 8:00am UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/5 "2021-08-01T08:00:19Z")

</div>

bonjour  
ci-joint le lien  
Merci

[https://x.thunkable.com/copy/891b435679d5d6f05f6172328b66c6fe](https://x.thunkable.com/copy/891b435679d5d6f05f6172328b66c6fe)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 1, 2021, 9:56am UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/6 "2021-08-01T09:56:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/d/dd243094f54299607e3f64f1355db124118e8842.png)  
This is wrong

You should do this way  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/3/c3e9bbd8f78bff6c27dc9f89cba333b4cb0a3b2e.png)

Change all others the same way and it should work.

---

<div class="post-metadata">

**Author:** ![valerie.evequea1](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@valerie.evequea1](https://community.thunkable.com/u/valerie.evequea1)\
**Post date:** [August 1, 2021, 2:39pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/7 "2021-08-01T14:39:12Z")

</div>

hello thanks

the score remains at 0, it does not change.  
it does not work.

++

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 1, 2021, 2:53pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/8 "2021-08-01T14:53:22Z")

</div>

I changed in all 3 blocks and tested it and can see the score changing.

Please make sure you change all and if still not working then please show the blocks you changed to see what is wrong.

---

<div class="post-metadata">

**Author:** ![valerie.evequea1](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@valerie.evequea1](https://community.thunkable.com/u/valerie.evequea1)\
**Post date:** [August 1, 2021, 3:58pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/9 "2021-08-01T15:58:40Z")

</div>

It works.  
Thanks a lot.

j’ai une autre question,  
Est il possible de par exemple faire choisir un sprite à lutilisateur parmis plusieurs et utiliser que le sprite choisit pour le jeu.  
je vous explique  
je voulais prendre 10 personnages marvel, l’utilisateur choisit un personnage et je remplace le personnage choisit à la place du caddie pour faire les courses.?  
est ce possible?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 1, 2021, 4:37pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/10 "2021-08-01T16:37:32Z")

</div>

When you add sprites in the same group (sprite type), each sprite will have its own ID and you can change the sprite with any of images in the same sprite type.

---

<div class="post-metadata">

**Author:** ![valerie.evequea1](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@valerie.evequea1](https://community.thunkable.com/u/valerie.evequea1)\
**Post date:** [August 1, 2021, 4:48pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/11 "2021-08-01T16:48:51Z")

</div>

Merci je vais tester  
🙂

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:17pm UTC](https://community.thunkable.com/t/creation-dun-comptage-de-s-core/1423696/13 "2024-11-08T13:17:41Z")

</div>


