# Clicker Games with Upgrades

**URL:** <https://forum.code.org/t/clicker-games-with-upgrades/38989>\
**Category:** CS Discoveries\
**Tags:** csp-unit-5\
**Created:** [February 5, 2024, 8:20pm UTC](https://forum.code.org/t/clicker-games-with-upgrades/38989 "2024-02-05T20:20:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcostanza](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jcostanza](https://forum.code.org/u/jcostanza)\
**Post date:** [February 5, 2024, 8:20pm UTC](https://forum.code.org/t/clicker-games-with-upgrades/38989/1 "2024-02-05T20:20:52Z")

</div>

Good afternoon,

I have several students who are trying to create clicker games with upgrades using App Lab. Does anyone have an example project they could share?

One student has specific questions:

1. How can I set text that fades after 3 seconds?

2. How can I make upgrades that add +click(s) / second, or +click / 2 seconds?

3. Will it work if I do " score1 \>= (number) ", the text that says “success” will appear, and then the action +1 click / 2 seconds (which I don’t exactly know how to do) will happen on repeat?

I have included a link to her project.

> **[Check out what I made](https://studio.code.org/projects/applab/M9ycS3KBLCxJK2eq9lA5B_ue5-xCgRFS3Xma_anSX_0)**
>
> I wrote the code myself with Code.org

Any help is much appreciated!

Johnna Costanza

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [February 7, 2024, 12:58pm UTC](https://forum.code.org/t/clicker-games-with-upgrades/38989/2 "2024-02-07T12:58:38Z")

</div>

Hi @jcostanza,

I love those upgrades! To get started for all of those upgrades, the students needs a timer. Here is a simple [app with a timer](https://studio.code.org/projects/applab/P90SA6AFfCpfV8mO0oOxegKhlEDddN0UFVsWZj1PG_I) (taken from the timed loop documentation) to create a seconds variable using the timed loop block. From there, I bet the student can think about the different things that need to be added now that you have seconds that have elapsed:

Good luck with the upgrades!  
~Michelle

---

<div class="post-metadata">

**Author:** ![jcostanza](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@jcostanza](https://forum.code.org/u/jcostanza)\
**Post date:** [February 7, 2024, 1:30pm UTC](https://forum.code.org/t/clicker-games-with-upgrades/38989/3 "2024-02-07T13:30:54Z")

</div>

Thanks so much!

Sincerely,  
Johnna Costanza
