Creating an Endstate: Two Game Loops


Courtesy of Michelle Nie's Github

Updates:

  • Pathfinding and AI tweaks for smoother sailing
  • An endstate routine for the cart version
  • Objective tracking for the player

This update has two versions. They play differently, so please try both of them out!

InstantEat: (the original game based on VDD)

  • Player instantly eats items picked up
  • When the mom catches the player, the game is over and player loses
  • Player wins if they can get all the items before the mom catches them!

DropAtCart: A variation

  • Player must pick up and bring items to the cart
  • If the mom is still shopping, the player can be caught and brought back to the cart but can still keep playing
  • If the mom is done shopping, the next time she catches the player they will check out of the store
  • Player wins if they can get all the items in the card before checkout!
  • Player loses if not all objectives are in the cart by checkout..

Files

SupermarketShowdown1-29-21InstantEat.zip 19 MB
Jan 30, 2021
SupermarketShowdown1-29-21DropAtCart.zip 19 MB
Jan 30, 2021

Get Grocery Gremlin