Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+3)

Hey ahmwma, I've been at this all day and was soooo close to getting it. haha. I actually arrived at most of the code snippet myself but to reset the counter, I tried doing it from the button on my previous card 🤦‍♀️. You gave me that last piece of the puzzle to make this work, thank you so much! And thank you for coding a widget I can use to speed up my process, it'll be so helpful! 

EDIT: in the copy-paste widget, I think you have me.value:me.value+1 there under both the if and the else?

(1 edit) (+2)

Oops, you're right! I changed my mind about how to do it while I was writing the post and I think I updated the widget in my open copy of decker and forgot to update the code snippet for you.

My mistake! I'll fix it for anyone who stumbles on the thread in the future. The codebox in the post is correct, and now so is the copied widget.

It sounds like you've got it figured out now, though. :D Good luck with your project!