Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » AI in Air Hockey
- monireach_eng
-
2 posts
AI in Air Hockey
Can someone help me how make an AI player because I don't know how to make it in Air hockey game that I'm gonna make?
- hotsaucehater
-
62 posts
AI in Air Hockey
Put this script on the AI paddle:
forever
change x by ((((puckX) - (myX)) / (-5))) //The smaller the number that you divide by, the slower it goes
end
Last edited by hotsaucehater (Nov. 19, 2014 23:24:19)
- monireach_eng
-
2 posts
AI in Air Hockey
One more thing, How make the disk to let mallet to push in different direction in air hockey?
- Discussion Forums
- » Help with Scripts
-
» AI in Air Hockey