Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • When enemies are destroyed or chests are opened I’d like for them to release their loot as one or more 2D sprite objects which contains a physics collider that will allow it to bounce off walls and dungeon objects and finally come to rest on the floor.

  • Some objects such as treasure will be small and comprise of multiple objects. (eg: 1 treasure value = 1 sprite) With high levels of distance deviation away from the originating tile.

  • Other loot objects such as a key will be singular and not deviate much from the original tile. Dropping to the floor quickly and being picked up just as quickly if the player was still standing there.

  • This physics collider will drop the items to the floor in a dynamic way and these loot objects will bounce a few times before coming to rest on the floor.

  • These Loot objects will bounce off and not occupy environmental tile spaces that contain objects like pillars, walls, and tables.

  • Once the loot object comes to rest it will no longer move around until it is picked up by the player. It will lose its Dynamic Physics once it comes to rest.

  • NOTE: Dropped loot should not interact (ie: Bounce off) the player character or enemies. It should ignore them entirely while in motion.

...

Player Loot Collecting:

  • The player character will have a “Loot Collection Radius” around them that will determine how close they need to be to loot in order to collect it.

  • The larger the radius, the more area the player character can pick-up loot without needing to travel to each individual tile.

  • This size radius will be a tweakable value that the player will be able to improve as the player progresses through the game.

...