Discuss Scratch
- DeathReviews
-
Scratcher
100+ posts
WHAT PFP WHAT WHAT WHAT
How did @codubee make it so their pfp changed every refresh?!
- atomicbryght
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcher
- DeathReviews
-
Scratcher
100+ posts
WHAT PFP WHAT WHAT WHAT
probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
- atomicbryght
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
i mean you can code anything, chances are they just did a website-code version of this:probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
when green flag clickedor maybe
switch costume to (pick random (...) to (...))
when green flag clickedprobably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do it
point in direction (pick random (...) to (...)
set [idk v] effect to (pick random (...) to (...)
- ChristianScratcher1
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
Its also the pfpf itself. If you right click the pfp and open the image in a new tab, it behaves the same as it does on the site.
Plus they're the directector of tech and have access to the backend code and have the ability to code it themselves :p
Plus they're the directector of tech and have access to the backend code and have the ability to code it themselves :p
- axalotlautomaster_2
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
they probably used CSS to do thatprobably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
- bitmap_caketin
-
Scratcher
100+ posts
WHAT PFP WHAT WHAT WHAT
its a gif imageGifs change after a certain amount of frames but this pfp changes after refreshes
- localrulebreaker
-
Scratcher
100+ posts
WHAT PFP WHAT WHAT WHAT
They probably change the scratch uploads server to pick between a few different pfps every time it gets hit.probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
- DeathReviews
-
Scratcher
100+ posts
WHAT PFP WHAT WHAT WHAT
How do I do thatThey probably change the scratch uploads server to pick between a few different pfps every time it gets hit.probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
- atomicbryght
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
you probably can't, codubee was probably able to because they work for st and work on developing scratch itselfHow do I do thatThey probably change the scratch uploads server to pick between a few different pfps every time it gets hit.probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
- Catbald
-
Scratcher
31 posts
WHAT PFP WHAT WHAT WHAT
It would be great that any scratcher could make that pfp
- axalotlautomaster_2
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
you cant really because codubee probably has access to code we dontHow do I do thatThey probably change the scratch uploads server to pick between a few different pfps every time it gets hit.probably because they're the director of technology, my guess is maybe they coded it themselves or something since it's not possible to do so as a regular scratcherHow do you “code” a pfp? That doesn’t make sense.
- Rosics
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do itAbout that…
https://github.com/scratchfoundation/scratch-www
- atomicbryght
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
…yeah i'm kind of stupid and have literally no idea what that is or how to use it sorryprobably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do itAbout that…
https://github.com/scratchfoundation/scratch-www
- Maximouse
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
That's only the client-side code (the part that runs in your browser). codubee's rotating profile picture is implemented on the server.probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do itAbout that…
https://github.com/scratchfoundation/scratch-www
- scratchcode1_2_3
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
(#16)Yes, otherwise it wouldn't work on scratchr2 either, since half the website is scratchr2.That's only the client-side code (the part that runs in your browser). codubee's rotating profile picture is implemented on the server.probably not that hard to do, it's just that we don't have access to the code of the scratch website so that's why we can't do it ourselves of course, which makes it seem impossible but i imagine if we did probably tons of people would be able to do itAbout that…
https://github.com/scratchfoundation/scratch-www
- scratchcode1_2_3
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
(whoops necropost)
why would this need to get bumped? it's resolved
why would this need to get bumped? it's resolved
Last edited by scratchcode1_2_3 (Aug. 28, 2026 01:55:39)
- subjectnamehere
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
to make a long story short, there's no way you can do this. codubee (presumably) hard coded it into scratch's servers so that their pfp is randomly rotated, the only way you could do this is to get a job at st and do the same thing.