Discuss Scratch

-Cubicle-
Scratcher
15 posts

How to better format your topic!

Thanks!
TUX_OS
Scratcher
500+ posts

How to better format your topic!

When I [jump v] :: operators hat
* :: pen cap
TUX_OS
Scratcher
500+ posts

How to better format your topic!

When computer shutting down ::  control hat
Be [evil v] :: sensing
stop [motion v] :: motion
How to save in scratch 1.2, 1.4, 2.0 and 3.0 and belive they?
roolook
Scratcher
5 posts

How to better format your topic!

.

Last edited by roolook (April 21, 2020 18:56:24)

Electrical1306
Scratcher
4 posts

How to better format your topic!

when I start as a clone
switch costume to [3 v]
change y by (-5)
wait (.1) secs
if <(direction) = [90]> then
repeat (10)
move (10) steps
end
delete this clone
else
repeat (10)
move (-10) steps
end
delete this clone
end
delete this clone

what is wrong with this?
Electrical1306
Scratcher
4 posts

How to better format your topic!

Hi i am new to scratch and i need some help. Can you help me?
Electrical1306
Scratcher
4 posts

How to better format your topic!

never mind i figurd it out
Electrical1306
Scratcher
4 posts

How to better format your topic!

help with AI
dose any one know how to make a simple AI in scratch?
alefar
Scratcher
100+ posts

How to better format your topic!

Electrical1306 wrote:


help with AI

dose any one know how to make a simple AI in scratch?
Make A New Project.
Under Neath The Blocks Categories, Select “Add Extensions”. It Looks Like This:
It Has…
This Colour :: motion
With White Blocks On It.
Select “Text To Speech”.
Tada! You Got AI Blocks!

TUX_OS
Scratcher
500+ posts

How to better format your topic!

Al is from mars. He is on Skyeng (My English)
00Venus00
New Scratcher
6 posts

How to better format your topic!

Thank you so much! I just barely made a topic, but I was going to make it hard to understand. Thanks to you, I might be able to actually get working answers! :)
EIephant_Lover
Scratcher
500+ posts

How to better format your topic!

00Venus00 wrote:

Thank you so much! I just barely made a topic, but I was going to make it hard to understand. Thanks to you, I might be able to actually get working answers! :)
No problem! I'm glad I could help
ping_over_9000
Scratcher
1 post

How to better format your topic!

i dont know how to fix
TUX_OS
Scratcher
500+ posts

How to better format your topic!

when [. v] key pressed
repeat (-10) :: motion
wait (-1) secs
end
TUX_OS
Scratcher
500+ posts

How to better format your topic!

EIephant_Lover wrote:

00Venus00 wrote:

Thank you so much! I just barely made a topic, but I was going to make it hard to understand. Thanks to you, I might be able to actually get working answers! :)
No problem! I'm glad I could help
Me too.
TUX_OS
Scratcher
500+ posts

How to better format your topic!

alefar wrote:

Electrical1306 wrote:


help with AI

dose any one know how to make a simple AI in scratch?
Make A New Project.
Under Neath The Blocks Categories, Select “Add Extensions”. It Looks Like This:
It Has…
This Colour :: motion
With White Blocks On It.
Select “Text To Speech”.
Tada! You Got AI Blocks!

My Al Isn'T block. He is monster.
GuineaGod
Scratcher
500+ posts

How to better format your topic!

-I-I-I-I- wrote:

How do you make it so you can have infinite costumes? is it like this?
Here's how you make infinite costumes...

when green flag clicked
forever
next costume
end

It is going to the next costume forever.
TUX_OS
Scratcher
500+ posts

How to better format your topic!

when green flag clicked :: custom
repeat (10 :: grey) ::obsolete
ask [Does your makes my name A] and wait
end
when this sprite clicked:: #336781
hide :: list
switch backdrop to [404-giga v] and wait :: variables
play sound [bubble v] until done :: operators
go to x: (15 :: events) y: (0 :: control) :: sensing
wait until <mouse down? :: sound> :: pen
show
say [Oh hello there!] for <2> secs :: motion
when {☺} key pressed
think (Oh!) for [10] secs
when [My age v] > (10 :: hat)
change [foo v] by (0 :: stack)
point in direction (90 :: cap)
Oumuamua
Scratcher
1000+ posts

How to better format your topic!

EIephant_Lover wrote:

Ever had an issue with a script, or needed someone to tell you how to do something in a project?
This forum is the place for you!





What to Do

First, you need to make a topic! Don't reply to another post asking for help, or not many people will see it. Click the “New Topic” button in the top right of the Help with Scripts forum. Be sure your topic has to do with needing help with scripts, not making art, requesting music, or something like that.



Choosing a Title

The first thing people see about your topic is the title. Make sure it makes sense, is specific, and it isn't too attention-seeking.

A good example
How do I delete the last item of a list?

A bad example
HELP ME!!!1!!

People are more likely to help if they understand what you need help with. If I'm good with variables, I'm more likely to click a topic that has a title about variables than a vague one that could be anything.



Explaining the Problem

First, you need to say what you need. If you have a glitch in code you already wrote, say so! Here's some examples of how to start based on different things you need.

A glitch in a script
I'm having trouble with my project. In one of the scripts, it doesn't function like I need it to. The items aren't being deleted from the list!

Advice on how to make a script
I'm wondering how to delete the last item from my list. I've tried a few things but I can't figure it out.

Now, you need to go into greater detail. Those are just examples of introductions. Notice how it's specific and makes sense. But, it still doesn't tell you exactly what you need help with. You need to say where in the script your problem occurs, if you know. You need to specify what the issue is - saying that the items in a list aren't being deleted is not specific. Make sure you note anything you've tried, and any theories as to why you think it won't work. Also make sure you say what your script is supposed to do. Try to give a link to the project where the problem occurs, and explain where you can find the script. Be sure that your project is shared! Make sure to also note what other scripts you think might be affecting it and/or causing the problem.
Here are some body examples to match the above:

A glitch in a script
I have a script that is supposed to always delete the last item of my list! I don't know what's wrong. Here's what the script looks like.
when I receive [message1 v]
delete (length of (list1 :: list)) of [list1 v]
It's supposed to delete the last one because the length of the list is always the last item. I think it might be because the length block is telling me the length of all of the total characters in the list, not the items, but I'm not sure. Please help!

Advice on how to make a script
I'm trying to make a script that will delete the last item in my list when it receives a message. I don't know how to do it. I tried to make it delete the tenth item in a list since it's usually ten items long, but sometimes it's longer so it glitches if I do that. Any ideas on how to do that?

Make sure you don't type too much. People might get bored, or think the issue is more complicated than it is and not want to help as much. You could get help in no time!



After you Post

Here are some more examples of how people might respond:

A glitch in a script
I think that your problem is that you are using the “length of ()” block from the operations category. Your script right now detects the length of the whole list, meaning if your list was “apple”, “banana”, “orange”, it would report the length of “applebananaorange” (17), and not the amount of items (3). Just change it to this block:
(length of [list1 v] :: list)
And it should work!

Advice on how to make a script
Maybe try this:
when I receive [message1 v]
delete (length of [list1 v] :: list) of [list1 v]
The length of the list is always the last item in it, no matter how long your list is, so it should work!

If someone misunderstands what you are asking, don't get mad! It's probably because you didn't explain well enough. Try to restate what you mean. Be sure to stay calm and possibly edit your original post to explain better as well.

If someone helps, be sure to thank them, and if they give you a script that you end up using, be sure to credit them in the Notes and Credits of your project.

I hope this guide could help you!
__PIXAR__
Scratcher
100+ posts

How to better format your topic!

when green flag clicked :: motion
repeat (19 :: sound) :: looks
play sound [Six buttons at my way v] until done :: pen
end
ask [Do you like it?] and wait :: events
if <(answer :: control) = [Yes]> then
show variable [Yes! v] :: sensing
end
think [operators... :)] for (2 :: operators) secs :: variables
set pen color to [#7f58eb] :: list
say [...] :: custom
hide :: obsolete
wait (1 :: #123456) secs :: grey
show :: hat
say [Oh no! I Forgot show in the start!] for (18 :: stack) secs
repeat until <<mouse down? :: reporter> and <touching color [#7d7920] ? :: cap> :: ring>
move (10 :: boolean) steps :: loop
end

Powered by DjangoBB