Discuss Scratch

minecraftstevehaha
Scratcher
37 posts

My suggestions


Gravity on

Gravity off
Enemy Ai target [player v]
Spaceandmoon1
Scratcher
100+ posts

My suggestions

Can you be more specific please?
Imtwentytenth
Scratcher
500+ posts

My suggestions

Spaceandmoon1 wrote:

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 clicked
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
3. You can use this project to have an enemy AI.
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]
minecraftstevehaha
Scratcher
37 posts

My suggestions

Oops
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?
minecraftstevehaha
Scratcher
37 posts

My suggestions

I don't know how to code it
Replay [no]
nikky10000000
Scratcher
500+ posts

My suggestions

minecraftstevehaha wrote:

I don't know how to code it
Replay [no]
Yeah, and the point of coding is to learn how to do it. you can also watch a tutorial I guess.

Last edited by nikky10000000 (Oct. 17, 2025 23:03:50)

minecraftstevehaha
Scratcher
37 posts

My suggestions


when green flag clicked

no
SMG4fan7236
Scratcher
100+ posts

My suggestions

No suggestion lists, please.
minecraftstevehaha
Scratcher
37 posts

My suggestions

Why?!?
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:
Thank you!

Powered by DjangoBB