Discuss Scratch

breakfast_for_dinner
Scratcher
1000+ posts

An AI assistant for Scratch?

Roblox888i wrote:

(#120)
but can't you report those comments and suggest those words to the filter?
there's an infinite number of phrases you could say to tick somebody off though
Roblox888i
Scratcher
1000+ posts

An AI assistant for Scratch?

breakfast_for_dinner wrote:

Roblox888i wrote:

(#120)
but can't you report those comments and suggest those words to the filter?
there's an infinite number of phrases you could say to tick somebody off though
tick, like the bug?

then just report those bypasses
OnTheCode99
Scratcher
500+ posts

An AI assistant for Scratch?

Roblox888i wrote:

then just report those bypasses

In a website with much less moderators than many other websites (no citation), we do not need more things that can be reported, meaning we do not need more ways to break the guidelines.

Last edited by OnTheCode99 (Sept. 3, 2024 20:14:01)

MagicCoder330
Scratcher
1000+ posts

An AI assistant for Scratch?

new scratcher: hey AI, how do I make it so a sprite switches between its costumes?

AI answer: Step 1. take computer to a sink. Step 2. set computer in it and plug the drain. Step 3. Turn the faucet on full.

I may be exaggerating, but the AI will get things wrong relatively frequently and will likely cause more problems than it could potentially solve.

Last edited by MagicCoder330 (Sept. 3, 2024 20:19:14)

doggy_boi1
Scratcher
1000+ posts

An AI assistant for Scratch?

MagicCoder330 wrote:

new scratcher: hey AI, how do I make it so a sprite switches between its costumes?

AI answer: Step 1. take computer to a sink. Step 2. set computer in it and plug the drain. Step 3. Turn the faucet on full.

I may be exaggerating, but the AI will get things wrong relatively frequently and will likely cause more problems than it could potentially solve.
That's why you train ai. Things like chat gtp get things wrong often because the specialize in literally everything.

Nah, i think having better tutorials would work better. AI doesn't teach as well as guides. Atleast not right now. It more so just tells you what to do.
NonPlayerScratcher
Scratcher
67 posts

An AI assistant for Scratch?

doggy_boi1 wrote:

MagicCoder330 wrote:

new scratcher: hey AI, how do I make it so a sprite switches between its costumes?

AI answer: Step 1. take computer to a sink. Step 2. set computer in it and plug the drain. Step 3. Turn the faucet on full.

I may be exaggerating, but the AI will get things wrong relatively frequently and will likely cause more problems than it could potentially solve.
That's why you train ai. Things like chat gtp get things wrong often because the specialize in literally everything.

Nah, i think having better tutorials would work better. AI doesn't teach as well as guides. Atleast not right now. It more so just tells you what to do.
First off, You didn't tell the AI that It was supposed to be in scratch, so I'm guessing it assumed you misspelled ‘sink’

HOLD UP

I'm getting confused.

Why is step two to put the computer IN the sink????

AI is getting weirder.
NonPlayerScratcher
Scratcher
67 posts

An AI assistant for Scratch?

NamePending_ wrote:

Support. However, there would have to be a way to prevent people from putting something inappropriate in the prompt.
I spent an hour and a half looking at your profile picture.
MagicCoder330
Scratcher
1000+ posts

An AI assistant for Scratch?

NonPlayerScratcher wrote:

doggy_boi1 wrote:

MagicCoder330 wrote:

new scratcher: hey AI, how do I make it so a sprite switches between its costumes?

AI answer: Step 1. take computer to a sink. Step 2. set computer in it and plug the drain. Step 3. Turn the faucet on full.

I may be exaggerating, but the AI will get things wrong relatively frequently and will likely cause more problems than it could potentially solve.
That's why you train ai. Things like chat gtp get things wrong often because the specialize in literally everything.

Nah, i think having better tutorials would work better. AI doesn't teach as well as guides. Atleast not right now. It more so just tells you what to do.
First off, You didn't tell the AI that It was supposed to be in scratch, so I'm guessing it assumed you misspelled ‘sink’

HOLD UP

I'm getting confused.

Why is step two to put the computer IN the sink????

AI is getting weirder.
I didn't ask an AI anything, that was just an (admittedly exaggerated) example of how it might say misinformation. Also, I'm pretty sure that if the AI built into scratch didnt assume you were talking about Scratch it would have a serious problem.

Last edited by MagicCoder330 (Sept. 12, 2024 18:19:46)

MagicCoder330
Scratcher
1000+ posts

An AI assistant for Scratch?

doggy_boi1 wrote:

MagicCoder330 wrote:

new scratcher: hey AI, how do I make it so a sprite switches between its costumes?

AI answer: Step 1. take computer to a sink. Step 2. set computer in it and plug the drain. Step 3. Turn the faucet on full.

I may be exaggerating, but the AI will get things wrong relatively frequently and will likely cause more problems than it could potentially solve.
That's why you train ai. Things like chat gtp get things wrong often because the specialize in literally everything.

Nah, i think having better tutorials would work better. AI doesn't teach as well as guides. Atleast not right now. It more so just tells you what to do.
No matter how much it is trained, it will still make mistakes a decent portion of the time. that's what my example was trying to show
AliMASTER430258
Scratcher
100+ posts

An AI assistant for Scratch?

Okay, here are my insights on this one.

NamePending_ wrote:

Support. However, there would have to be a way to prevent people from putting something inappropriate in the prompt.
Simple; just use the API bad word detector.

MagicCoder330 wrote:

new scratcher: hey AI, how do I make it so a sprite switches between its costumes?

AI answer: Step 1. take computer to a sink. Step 2. set computer in it and plug the drain. Step 3. Turn the faucet on full.

I may be exaggerating, but the AI will get things wrong relatively frequently and will likely cause more problems than it could potentially solve.
False. I asked a free ai
“how to make a one player pong project on scratch using the if on edge bounce block”, it said this:
Creating a one-player Pong game in Scratch where the paddle is controlled by the player and the ball bounces off the edges can be a fun project! Here’s a step-by-step guide to help you set it up:

### Step 1: Create Your Sprites
1. **Open Scratch**: Go to the Scratch website or open the Scratch app.
2. **Create the Ball Sprite**:
- Click on the “Choose a Sprite” button.
- Select the round sprite (or draw your own).
3. **Create the Paddle Sprite**:
- Click on “Choose a Sprite” again.
- Select the rectangle or draw your own to serve as the paddle.
4. **Optionally, Create a Background**: You can also create a simple backdrop if you like.

### Step 2: Set Up the Ball
1. **Select the Ball Sprite** and open the code tab.
2. **Add Movement Code for the Ball**:
- Use the following blocks:

```scratch
when green flag clicked
go to x: 0 y: 0 // Start in the center
point in direction 45 // Set an initial direction
forever
move 10 // Move the ball forward
if on edge bounce // Bounce the ball off the edges
if <touching > then
point in direction (pick random (120) to (240)) // Randomize angle after bouncing
end
end
```

### Step 3: Set Up the Paddle
1. **Select the Paddle Sprite** and open the code tab.
2. **Add Control Code for the Paddle**:
- Use the following code:

```scratch
when green flag clicked
go to x: 0 y: -150 // Start at the bottom of the screen
forever
if <key pressed?> then
change x by -10 // Move left
end
if <key pressed?> then
change x by 10 // Move right
end
// Keep the paddle within screen boundaries
if <(x position) < -240> then
set x to -240
end
if <(x position) > 240> then
set x to 240
end
end
```

### Step 4: Test Your Game
1. Click the green flag to start the game.
2. You should be able to control the paddle at the bottom of the screen.
3. The ball should bounce off the edges and the paddle.

### Step 5: Add Game Features (Optional)
- **Score Keeping**: You can create a score variable and increase it every time the ball hits the paddle.
- **Game Over Condition**: Detect if the ball goes below the paddle and reset the game or display a “Game Over” message.
- **Speed Increase**: Gradually increase the speed of the ball to make the game more challenging over time.

### Example Addition: Game Over Condition
To add a condition that resets the game when the ball misses the paddle:
```scratch
when green flag clicked
set to 0

forever
move 10
if <y position < -170> then
say for 2 seconds
stop all
end
end
```

### Step 6: Share Your Game
- Once you’re satisfied with your game, you can share it on the Scratch website, allowing others to play and enjoy!

By following these steps, you should have a simple one-player Pong game in Scratch. Feel free to experiment with designs and additional features to make your game unique!
This goes to show that any ai can help you code a simple project.

Elijah999999 wrote:

If the user can only input certain prompts, this might as well not be AI, and just write pre-written content.
They are just suggestions, I think.

-InsanityGames- wrote:

Use of AI was rejected by the Scratch Team back in August last year after they ran a closed test of image generation in Scratch Lab. It was rejected for multiple reasons and many of these apply to all forms of AI, such as inappropriate results and bias, as well as AI being extremely costly for a non-profit organisation like Scratch. This article explains why it was rejected.
Image ai is rejected. Not an ai assistant.

Elm0-_- wrote:

There will only be a series of prompts to choose from, no typing allowed like the safe chat from Among Us. This is only an assistant for help on coding projects and asking questions about Scratch, and anything not Scratch friendly will be rejected by the AI.
1. then its not ai if everything is premade

2. it isn't rejected, only image ai is
3. this would just clutter the scratch website if there is 100+ suggestions.

Za-Chary wrote:

However, the use of AI as a virtual assistant is NOT rejected. You can discuss it on this topic.(Which is, by the way, this topic!) In general, AI in Scratch is not entirely rejected; it depends on the specific use of the AI.
In my opinion, semi support; if scratch can get it's budget right, then this is a okay idea… of course you have to take in everything else, such as budget, storage, and everything else :(
pugusialove
Scratcher
100+ posts

An AI assistant for Scratch?

Elm0-_- wrote:

AI is a really helpful tool, and it is the future. I was thinking maybe you could use an AI for Scratch similar to GitHub's Copilot. Since I use GitHub almost every day, the AI has definitely been helpful. Maybe we could use the same thing for Scratch.
It would only waste the time of those who make it. There are forums and tutorials for a reason. Another reason is that AI runs on knowledge already in the web. If it can answer your question, someone else also can. Why not talk to a real person instead? Here is why it would be better:
  • People can answer your question differently, giving more knowledge to other answerers
    You can become friends
    People know how other people work better than AI knows how people work
    AI takes jokes and fake information seriously
    AI can generate something inappropriate
Also, many people HATE talking to robots.
OnTheCode99
Scratcher
500+ posts

An AI assistant for Scratch?

gem1001 wrote:

(#106)

NonPlayerScratcher wrote:

OnTheCode99 wrote:

Also:

BigNate469 wrote:

After just asking AI how to make a 3D game on Scratch (to test your theory there), it came up with:
when green flag clicked
set ground x to 0
set ground y to -100
set ground size to 300

set tree1 x to 50
set tree1 y to -50
set tree1 size to 50

set house1 x to -100
set house1 y to -75
set house1 size to 75

forever
set tree1 size to 50 - (abs(tree1 x) / 10)
set house1 size to 75 - (abs(house1 x) / 15)

Which by no means is 3D, and will not create a 3D effect. If you want to make 3D, there's a Scratch Wiki article for that: https://en.scratch-wiki.info/wiki/Three-Dimensional_Projects

Furthermore, it's full of reference errors (you can't set sprite x & y from another sprite, only read that value).

The suggestion itself was tested on an AI by BigNate469, and it is a no brainer that the code is completely wrong. This takes much more code to do, and I'm pretty sure (but correct me if I'm wrong) that a good 3D game requires the pen extension, which this AI generated code does not contain.

The code is also not specific, as it it does not say what sprite to put the code in, and things like that. That concludes me to believe that the current AI isn't trained for much advanced codes, so then there is really no point for AI, if it can only do really simple things.
Could you try asking an AI bot such as ChatGPT to generate scratch code? (I'm asking myself that) No. They can generate code, but they'll convert it to a different type.

For example, I tried asking ChatGPT to give me ideas for my game, Jump Car Game. (It's a school project) I wanted it to give the code to me in scratch form, but it was converted to python. Now, I tried searching for some website that can change python code and convert it into a scratch project. (Also, when I say python, it probably works with java too) I haven't tried that yet though. The website I was talking about is https://pypi.org/project/pystage/ by the way.
It would be designed specifically for Scratch, so this isn't a problem.

Just remember that Scratch doesn't have the resources to make an AI specifically for Scratch.
greentreebee
Scratcher
100+ posts

An AI assistant for Scratch?

OnTheCode99 wrote:

gem1001 wrote:

(#106)

NonPlayerScratcher wrote:

OnTheCode99 wrote:

Also:

BigNate469 wrote:

After just asking AI how to make a 3D game on Scratch (to test your theory there), it came up with:
when green flag clicked
set ground x to 0
set ground y to -100
set ground size to 300

set tree1 x to 50
set tree1 y to -50
set tree1 size to 50

set house1 x to -100
set house1 y to -75
set house1 size to 75

forever
set tree1 size to 50 - (abs(tree1 x) / 10)
set house1 size to 75 - (abs(house1 x) / 15)

Which by no means is 3D, and will not create a 3D effect. If you want to make 3D, there's a Scratch Wiki article for that: https://en.scratch-wiki.info/wiki/Three-Dimensional_Projects

Furthermore, it's full of reference errors (you can't set sprite x & y from another sprite, only read that value).

The suggestion itself was tested on an AI by BigNate469, and it is a no brainer that the code is completely wrong. This takes much more code to do, and I'm pretty sure (but correct me if I'm wrong) that a good 3D game requires the pen extension, which this AI generated code does not contain.

The code is also not specific, as it it does not say what sprite to put the code in, and things like that. That concludes me to believe that the current AI isn't trained for much advanced codes, so then there is really no point for AI, if it can only do really simple things.
Could you try asking an AI bot such as ChatGPT to generate scratch code? (I'm asking myself that) No. They can generate code, but they'll convert it to a different type.

For example, I tried asking ChatGPT to give me ideas for my game, Jump Car Game. (It's a school project) I wanted it to give the code to me in scratch form, but it was converted to python. Now, I tried searching for some website that can change python code and convert it into a scratch project. (Also, when I say python, it probably works with java too) I haven't tried that yet though. The website I was talking about is https://pypi.org/project/pystage/ by the way.
It would be designed specifically for Scratch, so this isn't a problem.

Just remember that Scratch doesn't have the resources to make an AI specifically for Scratch.
they could steal like the ai from gpt….. i mean come on… they aren't as stupid as coding goes as some other people
ajskateboarder
Scratcher
1000+ posts

An AI assistant for Scratch?

AliMASTER430258 wrote:

False. I asked a free ai
“how to make a one player pong project on scratch using the if on edge bounce block”, it said this:
Creating a one-player Pong game in Scratch where the paddle is controlled by the player and the ball bounces off the edges can be a fun project! Here’s a step-by-step guide to help you set it up:


Even if it didn't use made-up blocks, the syntax for the inputs is still wrong. And remember, its still relatively easy for an AI model to trip up if you give it non-trivial questions

Last edited by ajskateboarder (Sept. 23, 2024 20:43:33)

TheCreatorOfUnTV
Scratcher
1000+ posts

An AI assistant for Scratch?

AliMASTER430258 wrote:

-snip-
Let's see what that looks like in Blocks:
when green flag clicked
go to x: (0) y: (0) // Start in the center
point in direction (45) // Set an initial direction
forever
move (10) // Move the ball forward
if on edge bounce // Bounce the ball off the edges
if <touching [Paddle v]> then
point in direction (pick random (120) to (240)) // Randomize angle after bouncing
end
end

when green flag clicked
go to x: (0) y: (-150) // Start at the bottom of the screen
forever
if <key [left arrow v] pressed?> then
change x by (-10) // Move left
end
if <key [right arrow v] pressed?> then
change x by (10) // Move right
end
if <(x position) < (-240)> then // Keep the paddle within screen boundaries
set x to (-240)
end
if <(x position) > (240)> then
set x to (240)
end
end

when green flag clicked
set [Score v] to (0)

forever
move (10)
if <(y position) < (-170)> then
say [Game Over] for (2) seconds
stop [all v]
end
end
It's relatively good for AI standards, but learners should always be getting the best learning they can.
(Red blocks are the blocks that are wrong.)

Last edited by TheCreatorOfUnTV (Sept. 24, 2024 01:25:27)

NonPlayerScratcher
Scratcher
67 posts

An AI assistant for Scratch?

pugusialove wrote:

Elm0-_- wrote:

AI is a really helpful tool, and it is the future. I was thinking maybe you could use an AI for Scratch similar to GitHub's Copilot. Since I use GitHub almost every day, the AI has definitely been helpful. Maybe we could use the same thing for Scratch.
It would only waste the time of those who make it. There are forums and tutorials for a reason. Another reason is that AI runs on knowledge already in the web. If it can answer your question, someone else also can. Why not talk to a real person instead? Here is why it would be better:
  • People can answer your question differently, giving more knowledge to other answerers
    You can become friends
    People know how other people work better than AI knows how people work
    AI takes jokes and fake information seriously
    AI can generate something inappropriate
Also, many people HATE talking to robots.
Perhaps scratch could team up with openAI?
8to16
Scratcher
1000+ posts

An AI assistant for Scratch?

NonPlayerScratcher wrote:

Perhaps scratch team could team up with openAI?
(scratch isn't a company, it's scratch team)
It takes a lot of time to even put GPT into your product, and OpenAI is a profit while the ST isn't, so this is very unlikely and is pretty costly for the ST. They are working on more important stuff, such as moderation and server maintenance.

Last edited by 8to16 (Sept. 24, 2024 14:51:33)

greentreebee
Scratcher
100+ posts

An AI assistant for Scratch?

8to16 wrote:

NonPlayerScratcher wrote:

Perhaps scratch team could team up with openAI?
(scratch isn't a company, it's scratch team)
and OpenAI is a profit .

true, only because us humans are to lazy to figure stuff out on our own
LaughabIe
Scratcher
100+ posts

An AI assistant for Scratch?

aside from the statements everyone else has made, my main concern is how this would be handled in schools. obviously, schools are not a fan of AI assistants, and i feel like this would turn off many districts from using scratch for their coding class.
NonPlayerScratcher
Scratcher
67 posts

An AI assistant for Scratch?

greentreebee wrote:

8to16 wrote:

NonPlayerScratcher wrote:

Perhaps scratch team could team up with openAI?
(scratch isn't a company, it's scratch team)
and OpenAI is a profit .

true, only because us humans are to lazy to figure stuff out on our own
Scratch does have donors, but I'm pretty sure the donor guys have to agree to pay for that as well.

Powered by DjangoBB