How I Made an AI Game in Just 10 Minutes!
by Random Stuff We Make in Living > Video Games
45 Views, 4 Favorites, 0 Comments
How I Made an AI Game in Just 10 Minutes!
In this tutorial, I’ll show you how to create a simple AI-powered game where you control a ninja character using just your body movements. No controllers, no joysticks—just you! And the best part? You’ll have your own game up and running in under 10 minutes. You can watch the full video guide here: Made This AI Game in 10 Minutes – It’s Crazy Easy!
Setting Up the Platform
- Head over to the Avishkar Maker Studio and sign up.
- Once logged in, select the Game Builder Mode.
- Click on Body Pose Game to start a new game dev
Adding Sprites and Background
- Add your background and music from the asset library.
- Upload your ninja sprites—one for standing and one for jumping, one for hit(Optional).
- Add your Shuriken Sprite.
Coding the Ninja’s Movements
- Detect the player’s body pose using the pose detection block.
- Track the player’s hip coordinates to determine when they jump.
- If the player jumps, change the ninja’s sprite to the jumping position.
Downloads
Dodging Shurikens
- Add a moving shuriken sprite that approaches the ninja.
- Set conditions to reset the shuriken’s position if it passes the ninja.
Adding Lives and Score
- Add a scoring system: +1 for dodging shurikens, and lose a life when hit.
- Display the game-over screen when lives reach zero.
Conclusion
And there you have it! A fully functional AI game in just 10 minutes. You can now experiment by adding more features and share it with your friends! Check out the full video guide for extra tips: Watch the Tutorial