Discuss Scratch

SmurfCatYummy
Scratcher
12 posts

Achivement System

Hi I need Help on making A Achivement System For My WE LIVE WE LOVE WE LIE SMURF CAT CLICKER Please
define We live we love we lie :) 
smurf Cat

Last edited by SmurfCatYummy (April 8, 2024 15:02:47)

bombardingppl
Scratcher
100+ posts

Achivement System

you could have a sprite with a lot of achievements shown when they get the achievement, then you could have an achievement detection system like this:
when green flag clicked
forever
if <achievement requirements> then
add [achievement name here] to [achievements]
end
...
end

I like scratching. I like math, I like coding, yknow.
You'll find me on the forum, as well as creating projects actively.

try some of my projects, they include simulations, games, math/geometry, all the gud stuff.
sashimiricedev
Scratcher
100+ posts

Achivement System

bombardingppl wrote:

you could have a sprite with a lot of achievements shown when they get the achievement, then you could have an achievement detection system like this:
when green flag clicked
forever
if <achievement requirements> then
add [achievement name here] to [achievements]
end
...
end
Also gotta make sure they can't get an achievement once, so check if they don't have it yet before adding it.

if <<achievement requirements?> and <not<[achievements v] contains [name of the achievement]>>> then
add [name of the achievement] to [achievements v]
end

forum helper
Forum Post Demos
I follow most of the discussions I post on, so feel free to reply back if you have any further questions.
SmurfCatYummy
Scratcher
12 posts

Achivement System

tysm Guys It helped Now i can make a Zelda game
define Thanks 
Thank You Guys it helped

Powered by DjangoBB