Discuss Scratch

CoolProgrammer2014
Scratcher
9 posts

Computer Controlled Sprites

How can I make a computer controlled sprite?I need to make computer zombies(:
mathfreak231
Scratcher
1000+ posts

Computer Controlled Sprites

Artificial Intelligence

You'll have to be more specific on how you want it to work, though.

i have grown as a person. and ive grown, literally. none of my posts from before 2022 represent me accurately.
MBF20
New to Scratch
17 posts

Computer Controlled Sprites

If you mean AI (Artificial Intelligence), then you do the following:

when green flag clicked
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

You could also develop it so that when you receive a signal or a message, it starts moving:

when I receive [Play!!! v]
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

Just develop your code around that!!!

Hope this helps!!!

- MBF20

PLAY DOTS AND DOTS NOW!!!

- MBF20
CoolProgrammer2014
Scratcher
9 posts

Computer Controlled Sprites

MBF20 wrote:

If you mean AI (Artificial Intelligence), then you do the following:

when green flag clicked
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

You could also develop it so that when you receive a signal or a message, it starts moving:

when I receive [Play!!! v]
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

Just develop your code around that!!!

Hope this helps!!!

- MBF20

Thanks a lot(:I am just new to this so I don't know much.
MBF20
New to Scratch
17 posts

Computer Controlled Sprites

CoolProgrammer2014 wrote:

Thanks a lot(:I am just new to this so I don't know much.

That's all right, @CoolProgrammer2014 !!! I'm happy to help. Any more questions, don't hesitate to ask me!

- MBF20

PLAY DOTS AND DOTS NOW!!!

- MBF20
smartguy19
Scratcher
4 posts

Computer Controlled Sprites

MBF20 wrote:

If you mean AI (Artificial Intelligence), then you do the following:

when green flag clicked
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

You could also develop it so that when you receive a signal or a message, it starts moving:

when I receive [Play!!! v]
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

Just develop your code around that!!!

Hope this helps!!!

- MBF20
deck26
Scratcher
1000+ posts

Computer Controlled Sprites

smartguy19 wrote:

MBF20 wrote:

If you mean AI (Artificial Intelligence), then you do the following:

when green flag clicked
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

You could also develop it so that when you receive a signal or a message, it starts moving:

when I receive [Play!!! v]
forever
point towards [Player v]
move (1) steps
wait (0.5) secs
end

Just develop your code around that!!!

Hope this helps!!!

- MBF20
Please check the date before responding - this topic is old.
601_26
New to Scratch
1 post

Computer Controlled Sprites

thanks my dudes
french_kagan
Scratcher
1 post

Computer Controlled Sprites

How do you make a computer controlled sprite for a 8 bit game
deck26
Scratcher
1000+ posts

Computer Controlled Sprites

french_kagan wrote:

How do you make a computer controlled sprite for a 8 bit game
Please create your own topic rather than necroposting.
legodarthbatman
Scratcher
1 post

Computer Controlled Sprites

deck26
Scratcher
1000+ posts

Computer Controlled Sprites

legodarthbatman wrote:

Please don't spam or necropost.
Addictive_Gaming_Inc
Scratcher
5 posts

Computer Controlled Sprites

Yeah, I am trying to make a 1 player battle royale game or a zombie game where they follow you. They have to be controlled by AI.
Vicream_Creator
Scratcher
100+ posts

Computer Controlled Sprites

Addictive_Gaming_Inc wrote:

Yeah, I am trying to make a 1 player battle royale game or a zombie game where they follow you. They have to be controlled by AI.
Make your own post since that one is like 3 years old
SO_Project
New to Scratch
2 posts

Computer Controlled Sprites

Hi
ironkaiyo
Scratcher
7 posts

Computer Controlled Sprites

How do I have attacker CPU
ItsCool_Pro
Scratcher
5 posts

Computer Controlled Sprites

I need help, and I want to know how to make a good battle royale game.
Wainggan
Scratcher
500+ posts

Computer Controlled Sprites

ItsCool_Pro wrote:

I need help, and I want to know how to make a good battle royale game.
Create your own topic

~ parchii

Powered by DjangoBB