Discuss Scratch
- Discussion Forums
- » Suggestions
- » My suggestions
- minecraftstevehaha
-
Scratcher
37 posts
My suggestions
Gravity on
Gravity off
Enemy Ai target [player v]
- Imtwentytenth
-
Scratcher
500+ posts
My suggestions
Can you be more specific please?Gravity on - probably turns on earth gravity
Gravity off - turns off gravity
Enemy AI target (player) - an AI targeting player
- Imtwentytenth
-
Scratcher
500+ posts
My suggestions
1/2. You can already code gravity, like this:
when green flag clicked3. You can use this project to have an enemy AI.
set [gravity v] to [0]
forever
if <touching [ground v] ?> then
set [gravity v] to [0]
end
change y by (gravity)
change [gravity] by [-1]
if <(gravity on?) = [on]> then
if <key [key to jump v] pressed?> then
change y by (10) ::motion
^^^ To not touch the ground while jumping ::grey
set [gravity] to [10]
^^^ The higher the number, the higher the jump is ::grey
end
end
end
- minecraftstevehaha
-
Scratcher
37 posts
My suggestions
I want it too be shorter scripts like
when green flag clicked
Enemy Ai type[chase and patroll jump across during patrol[yes v] v]
- nikky10000000
-
Scratcher
500+ posts
My suggestions
You can code these yourself. sure this would make it easier, but wouldn’t that ruin the point of coding?
- nikky10000000
-
Scratcher
500+ posts
My suggestions
I don't know how to code itYeah, and the point of coding is to learn how to do it. you can also watch a tutorial I guess.Replay [no]
Last edited by nikky10000000 (Oct. 17, 2025 23:03:50)
- Paddle2See
-
Scratch Team
1000+ posts
My suggestions
Please create a separate topic for each suggestion you have, rather than creating a list of suggestions. That way, the conversation stays focused and each idea can get the attention it needs.
Before making a new topic, please check out the following:
Before making a new topic, please check out the following:
- The Official List of Rejected Suggestions. If your suggestion is in this list, please do not make a new topic about it, as it will not be implemented anyway.
- The Suggestions Directory. If your suggestion is in this list, please continue the discussion in the existing topic, rather than making a new topic.
- Discussion Forums
- » Suggestions
-
» My suggestions