Discuss Scratch
- Homo-sec-shoe-whale
-
56 posts
Would an ai for games be a good idea??
I'm a bit confused about what is actually being suggested. Not generative AI, but, like, the kind of programming that runs CPU characters in Mario Kart or the movements of animatronics in Five Nights at Freddy's? How exactly is that supposed to be implemented? NPCs like this are not anything special; they are just called “AI” because their behavior has a randomness factor, and is usually meant to simulate something. They aren't trained on anything, nor do they simulate human intelligence most of the time; they just have programming that controls their behavior, like every part of any video game does. So I'm not sure what new feature or block Scratch can add to turn this into a feature.
- scratchcode1_2_3
-
1000+ posts
Would an ai for games be a good idea??
(#41)It could just be simple algorithms or grids, such as the A* algorithm, or Dijkstra's algorithm. I thought some NPC Ai's were trained on human gameplay though, even if not all games, by training a simple neural network to learn on human input. But yes, simple pathfinding algorithms could work.
I'm a bit confused about what is actually being suggested. Not generative AI, but, like, the kind of programming that runs CPU characters in Mario Kart or the movements of animatronics in Five Nights at Freddy's? How exactly is that supposed to be implemented? NPCs like this are not anything special; they are just called “AI” because their behavior has a randomness factor, and is usually meant to simulate something. They aren't trained on anything, nor do they simulate human intelligence most of the time; they just have programming that controls their behavior, like every part of any video game does. So I'm not sure what new feature or block Scratch can add to turn this into a feature.