Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I give a sprite AI?
- EliasTalamirYT
-
46 posts
How do I give a sprite AI?
I want to give a sprite AI, but I don't know how. Plz Help
- mstone326
-
1000+ posts
How do I give a sprite AI?
You'll have to give more details as to what you would want your ai to do. Also share the project you have started so we can see your progress at your current ai scripts.
- RokCoder
-
1000+ posts
How do I give a sprite AI?
Can you specify what it is that you want your sprite to be able to do? If it's a case of dodging enemies or moving towards a target then I'm sure someone will help. If you're looking to implement a game of chess or gradually take over the world then it's a tougher question to answer 

- mr_scientific
-
100+ posts
How do I give a sprite AI?
Maybe give a link to the project an d I may able to help. assuming it is an enemy sprite that goes after the player then
attack could be
Something like that,
attack could be
- EliasTalamirYT
-
46 posts
How do I give a sprite AI?
I want my sprite to just walk around and have a trail. Like just random directions and stuff. But I want every load of the project to be different so that every person who views it sees something different. https://scratch.mit.edu/projects/224497962/
- EliasTalamirYT
-
46 posts
How do I give a sprite AI?
I tried to have it go to the center using the go to x: y: block but it won't work. Instead of going to (0,0) it goes to (-97, 180)
Last edited by EliasTalamirYT (May 21, 2018 15:24:53)
- mstone326
-
1000+ posts
How do I give a sprite AI?
If it isn't going to 0.0 when you set it to 0,0 your costume probably isn't centered properly in the sprite editor. Click on the costumes tab and in the top right there is a plus sign or crosshair icon. Click it and drag to the center of the costume(s).
- Starstriker3000
-
1000+ posts
How do I give a sprite AI?
Hi, welcome to the forums! Please don't post on old topics, as doing so is called necroposting and isn't allowed. I don't know how to, i am making a fnaf game
https://scratch.mit.edu/projects/371742994/
Reporting this topic to be closed to prevent future necroposts.
- Discussion Forums
- » Help with Scripts
-
» How do I give a sprite AI?