Discuss Scratch
- Discussion Forums
- » Requests
- » Free AI scripts
- minecrafter81
- Scratcher
23 posts
Free AI scripts
I am willing to give off some AI scripts (Artificial Intelligence) some like
when green flag clicked
forever
if <(distance to [Player]) > [200]> then
point towards [Player]
move (5) steps
end
end
And other stuff like that. I can also do more requests, so just ask. :D
Blocks :P
- oliverepic
- Scratcher
11 posts
Free AI scripts
can i have an ai fighter for a pokemon game im planning
- MegaApuTurkUltra
- Scratcher
1000+ posts
Free AI scripts
So what kind of AI scripts are these? What algorithms do they use? (A*? Some sort of heuristic based? State based?) How can I input data and get output? I'm kind of confused here. I think you need to explain exactly what you are doing a bit more.
I mean I hope it's not just what you posted in the original post. I'm pretty sure people can easily make that themselves…
I mean I hope it's not just what you posted in the original post. I'm pretty sure people can easily make that themselves…
Last edited by MegaApuTurkUltra (Oct. 3, 2014 14:16:54)
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- MegaApuTurkUltra
- Scratcher
1000+ posts
Free AI scripts
I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- minecrafter81
- Scratcher
23 posts
Free AI scripts
Actually, his post is perfectly fine. I also have gotten way way WAY more advanced than most scratchers. So don't worry about my advice please, and ask away!I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
- MegaApuTurkUltra
- Scratcher
1000+ posts
Free AI scripts
Ok sorry I assumed an 8 month old topic is obsolete now but apparently you're still taking requests.Actually, his post is perfectly fine. I also have gotten way way WAY more advanced than most scratchers. So don't worry about my advice please, and ask away!I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
So, can you provide some details as per my top post?
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- minecrafter81
- Scratcher
23 posts
Free AI scripts
Ok sorry I assumed an 8 month old topic is obsolete now but apparently you're still taking requests.Actually, his post is perfectly fine. I also have gotten way way WAY more advanced than most scratchers. So don't worry about my advice please, and ask away!I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
So, can you provide some details as per my top post?
Sure! So, first of all, I take people's problems, like above and I give them their answer in these blocks.
move () steps
when this sprite clicked
- minecrafter81
- Scratcher
23 posts
Free AI scripts
Of course, not just those. There are lots more of those.Ok sorry I assumed an 8 month old topic is obsolete now but apparently you're still taking requests.Actually, his post is perfectly fine. I also have gotten way way WAY more advanced than most scratchers. So don't worry about my advice please, and ask away!I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
So, can you provide some details as per my top post?
- MegaApuTurkUltra
- Scratcher
1000+ posts
Free AI scripts
Ok then.
My upcoming game is a tiled platformer. Some smart-ish AI would be nice. Given a list of tiles where non zero values mean a solid tile and tiles are ordered by (y*mapwidith+x+1), a map width/height, and player/AI positions, can you make and AI script that makes the AI go to the player if it's close enough (in terms of the path distance, not actual distance from the player)? It can't bump into solid tiles, or jump more than 2 tiles high. Also having different weights for different paths (such as land preferred over going through water) would be nice.
So, could you do this? Make sure it's not buggy or anything and I'll give you credit in my project.
My upcoming game is a tiled platformer. Some smart-ish AI would be nice. Given a list of tiles where non zero values mean a solid tile and tiles are ordered by (y*mapwidith+x+1), a map width/height, and player/AI positions, can you make and AI script that makes the AI go to the player if it's close enough (in terms of the path distance, not actual distance from the player)? It can't bump into solid tiles, or jump more than 2 tiles high. Also having different weights for different paths (such as land preferred over going through water) would be nice.
So, could you do this? Make sure it's not buggy or anything and I'll give you credit in my project.
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- FORBIDENxKROSS
- New to Scratch
16 posts
Free AI scripts
Would have come in handy for my Pacman Highway Game
The Most Popular Game on Scratch: http://scratch.mit.edu/projects/27965236/
My Other Projects: http://scratch.mit.edu/users/FORBIDENxKROSS/projects/
- minecrafter81
- Scratcher
23 posts
Free AI scripts
The thing is, I could do that, but it would be buggy. I am not too good at the scratch blocks in forum. Ok then.
My upcoming game is a tiled platformer. Some smart-ish AI would be nice. Given a list of tiles where non zero values mean a solid tile and tiles are ordered by (y*mapwidith+x+1), a map width/height, and player/AI positions, can you make and AI script that makes the AI go to the player if it's close enough (in terms of the path distance, not actual distance from the player)? It can't bump into solid tiles, or jump more than 2 tiles high. Also having different weights for different paths (such as land preferred over going through water) would be nice.
So, could you do this? Make sure it's not buggy or anything and I'll give you credit in my project.
- Mustachio_Mario
- Scratcher
29 posts
Free AI scripts
nooo!! this needs to be the longest quote thing ever!!!!!!Of course, not just those. There are lots more of those.Ok sorry I assumed an 8 month old topic is obsolete now but apparently you're still taking requests.Actually, his post is perfectly fine. I also have gotten way way WAY more advanced than most scratchers. So don't worry about my advice please, and ask away!I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
So, can you provide some details as per my top post?
- minecrafter81
- Scratcher
23 posts
Free AI scripts
The coding for this would be too long for me to write out, but make a 3 varables, named (1) Attack (2) Health (3) Player Done (4) Pokemon name, and 1 list, named Attacks. Put all the attacks for the Pokemon in it. When the player encounter the Pokemon, turn Player Done to No. In the Pokemon, set the Pokemon name to whatever Pokemon you want and say A wild (Pokemon name) appeared!!In the player, use a attacking system to do the attacking and all, and when the player is done, set Player Done to Yes. In the Pokemon, make this set Attack to a random unit of the Attacks list. Make an attack happen. Then, broadcast to the player and his turn should start again. can i have an ai fighter for a pokemon game im planning
- minecrafter81
- Scratcher
23 posts
Free AI scripts
YES IT DOEEESSSSSSnooo!! this needs to be the longest quote thing ever!!!!!!Of course, not just those. There are lots more of those.Ok sorry I assumed an 8 month old topic is obsolete now but apparently you're still taking requests.Actually, his post is perfectly fine. I also have gotten way way WAY more advanced than most scratchers. So don't worry about my advice please, and ask away!I just realized this was a necropost. Please don't necropost. can i have an ai fighter for a pokemon game im planning
So, can you provide some details as per my top post?
- Discussion Forums
- » Requests
- » Free AI scripts