Discuss Scratch
- as23990402
-
83 posts
Find all diamonds!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1130324016/
collect 8 diamonds and run away from viruses.
control:
left button/space key/enter key – turn to next page
right stick bar/arrow keys/ mouse left key (press and drag) – move
collect 8 diamonds and run away from viruses.
control:
left button/space key/enter key – turn to next page
right stick bar/arrow keys/ mouse left key (press and drag) – move
Last edited by as23990402 (Feb. 15, 2025 07:32:00)
- The_Floppy_Disc
-
66 posts
Find all diamonds!
The game is good. I think some ways you can improve it are making the character slower and translating the text to English. (Maybe one half of the screen English and one half Chinese for the instructions) About the speed: I was just running around slamming into viruses. I think that making the character slower could prevent some of that, as could adding a bigger penalty, such as stopping the player for a second when you run into viruses. I really liked how you had a map that had a line that showed where the character went. It is helpful for exploring new areas, and it looks like some complex coding.
Last edited by The_Floppy_Disc (Feb. 15, 2025 12:33:46)
- as23990402
-
83 posts
Find all diamonds!
The game is good. I think some ways you can improve it are making the character slower and translating the text to English. (Maybe one half of the screen English and one half Japanese for the instructions) About the speed: I was just running around slamming into viruses. I think that making the character slower could prevent some of that, as could adding a bigger penalty, such as stopping the player for a second when you run into viruses. I really liked how you had a map that had a line that showed where the character went. It is helpful for exploring new areas, and it looks like some complex coding.
Thanks for your responding. I added speed options and a few English description. Try again~
Would you like to optimize this project? I'm glad to share the original code.
- The_Floppy_Disc
-
66 posts
Find all diamonds!
Sure. I'll remix it.
Last edited by The_Floppy_Disc (Feb. 15, 2025 12:33:28)
- as23990402
-
83 posts
Find all diamonds!
Sure. I'll remix it.https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134424455/
- The_Floppy_Disc
-
66 posts
Find all diamonds!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/
It's not finished yet.
I noticed that when you use a star, you can see stars and diamonds on the edges of the screen, so I'm working on fixing that.
It's not finished yet.
I noticed that when you use a star, you can see stars and diamonds on the edges of the screen, so I'm working on fixing that.
- as23990402
-
83 posts
Find all diamonds!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/No! Don't fix that. It's on purpose to let players see where diamonds and stars are. I wanted it a surprise.
It's not finished yet.
I noticed that when you use a star, you can see stars and diamonds on the edges of the screen, so I'm working on fixing that.
- as23990402
-
83 posts
Find all diamonds!
There's a bug in Stage/backdrops character, please add the setting block to fix it when you remix the project(if you got an old version).
define 遊戲難度設定
set [104 v] to [20]
Last edited by as23990402 (Feb. 16, 2025 07:41:53)
- as23990402
-
83 posts
Find all diamonds!
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/
It's not finished yet.
I noticed that when you use a star, you can see stars and diamonds on the edges of the screen, so I'm working on fixing that.
There's a bug in Stage/backdrops character, please add the setting block to fix it when you remix the project(if you got an old version).
define 遊戲難度設定
set [104 v] to [20]
Last edited by as23990402 (Feb. 16, 2025 07:41:43)
- The_Floppy_Disc
-
66 posts
Find all diamonds!
I made it so when diamonds or stars are on the edge, they are hidden. The bug should be fixed now.
This is the code I added:
This is the code I added:
when green flag clicked
forever
if <touching [edge v] ?> then
set [ghost v] effect to (100)
else
set [ghost v] effect to (0)
end
end
- as23990402
-
83 posts
Find all diamonds!
I made it so when diamonds or stars are on the edge, they are hidden. The bug should be fixed now.
Cool! I see how it works.
So diamonds or stars are hidden on the edge, what will you suggest when character “2_小廠務” receives the message below?It's always good to me getting more ideas from others.
when I receive [2閃電 v]
repeat (10)
hide
wait ((0.2) * ((4) - (204))) secs
show
end
- The_Floppy_Disc
-
66 posts
Find all diamonds!
Okay.https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/No! Don't fix that. It's on purpose to let players see where diamonds and stars are. I wanted it a surprise.
It's not finished yet.
I noticed that when you use a star, you can see stars and diamonds on the edges of the screen, so I'm working on fixing that.

I noticed it and thought it was a bug, because it let me go to where they are.
It's only one script so I can remove it easily.
Maybe make it so when the player runs into viruses when the lightning is on, they die, like they were hit by lightning. Cool! I see how it works.
So diamonds or stars are hidden on the edge, what will you suggest when character “2_小廠務” receives the message below?It's always good to me getting more ideas from others.
when I receive [2閃電 v]You could also add an animation to the viruses before they disappear if you want to. If you want me to animate it, ask me and I'll try.
delete this clone
when I receive [2閃電 v]
next costume
wait (0.5) seconds
next costume
wait (1) seconds
delete this clone
- as23990402
-
83 posts
Find all diamonds!
Okay.https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/No! Don't fix that. It's on purpose to let players see where diamonds and stars are. I wanted it a surprise.
It's not finished yet.
I noticed that when you use a star, you can see stars and diamonds on the edges of the screen, so I'm working on fixing that.Do you still want me to have it hidden, or should I fix it?
I noticed it and thought it was a bug, because it let me go to where they are.
It's only one script so I can remove it easily.
I'd like it an egg when difficulty=1, the script in character 「2_鑽石」will be:
when I receive [2閃電 v]
if <<touching [edge v] ?> and <[0遊戲難度] > [1]>> then
set [ghost v] effect to (100)
wait until <not <touching [edge v] ?>>
set [ghost v] effect to (0)
end
end
- as23990402
-
83 posts
Find all diamonds!
To do the virus death animation, several problems are needed to modify:
1.「516」variable's amount checking is not correctly coded at this version.
2. costume checking in this script of character 「2_病毒」. The killed viruses are still moving before being deleted, they can still trig and decrease player's life(i.e. variable ).
It's been upgarded in my project「探照燈-黑夜尋寶 V1A.5(無註解)」. Still I sincerely need your opinion. Thanks a lot.
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1130324016/
1.「516」variable's amount checking is not correctly coded at this version.
2. costume checking in this script of character 「2_病毒」. The killed viruses are still moving before being deleted, they can still trig and decrease player's life(i.e. variable ).
It's been upgarded in my project「探照燈-黑夜尋寶 V1A.5(無註解)」. Still I sincerely need your opinion. Thanks a lot.
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1130324016/
Last edited by as23990402 (Feb. 17, 2025 15:47:01)
- The_Floppy_Disc
-
66 posts
Find all diamonds!
Nice. I like what you did with the diamonds and stars showing on the edge.
I'll work on freezing the viruses and making the player immune to viruses when the lightning is on.
I found a bug with the difficulty selection with the mobile joystick, so I'm working on fixing that.
I'm still updating the project at https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/.


I'm still updating the project at https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1134469855/.
- The_Floppy_Disc
-
66 posts
Find all diamonds!
I fixed the joystick bug. There are arrow buttons that only show on the selection screens now.
I'm going to use this post as a change log.
Feb 17, 11:46 AM ET - Disabled mobile joystick on difficulty and speed selection screens because of a bug, added arrow buttons for selection.
Feb 17, 12:11 PM ET - Made viruses die when you touch them when you have lightning. Added the “lightning” variable. Is 1 when lightning is on, is 0 when it is off.
Feb 19, 7:56 PM ET - Fixed showing all diamonds at end bug.
I'm going to use this post as a change log.
Feb 17, 11:46 AM ET - Disabled mobile joystick on difficulty and speed selection screens because of a bug, added arrow buttons for selection.
Feb 17, 12:11 PM ET - Made viruses die when you touch them when you have lightning. Added the “lightning” variable. Is 1 when lightning is on, is 0 when it is off.
when green flag clickedFeb 18, 5:33 PM ET - Enabled mobile joystick on difficulty and speed selection, fixed joystick bug, and removed arrow buttons.
forever
if <<(lightning) = (1)> and <touching [2_球 v] ?>> then
delete this clone
end
end
Feb 19, 7:56 PM ET - Fixed showing all diamonds at end bug.
Last edited by The_Floppy_Disc (Feb. 19, 2025 12:56:59)
- as23990402
-
83 posts
Find all diamonds!
Thanks! But I don't get it. What kind of bug in difficulty selection?
- The_Floppy_Disc
-
66 posts
Find all diamonds!
In the difficulty selection, the joystick wouldn't work, and in the speed selection, if you moved the joystick in any direction, the game would think you pressed it to the right. I also made viruses die when you have lightning and touch them. Thanks! But I don't get it. What kind of bug in difficulty selection?
- as23990402
-
83 posts
Find all diamonds!
Wow! It works correctly on my computer. How does it happen between different computers?In the difficulty selection, the joystick wouldn't work, and in the speed selection, if you moved the joystick in any direction, the game would think you pressed it to the right. I also made viruses die when you have lightning and touch them. Thanks! But I don't get it. What kind of bug in difficulty selection?