Skip to content

0.15.0

Compare
Choose a tag to compare
@timhutton timhutton released this 18 Jul 16:11
· 1295 commits to master since this release

Changes:

New: Added ObservationFromNearbyEntities (#89) and updated reward_for_items_test.py to demonstrate it.
New: Simplified inventory movement with swapInventoryItems command (#148).
New: Can combine inventory slots using new combineInventoryItems command (#189).
New: Free-floating blocks can now be placed using DrawItem, and used in RewardForDiscardingItem/RewardForCollectingItem.
New: Crafting now triggers RewardForDiscardingItem/RewardForCollectingItem.
New: Python bindings changed for videoframe pixels - now returns a native python array, for faster use in numpy/PIL etc. (#187)

Which version?

  • Unless you want to use the Arcade Learning Environment, avoid the _withALE builds.
  • If you are on Ubuntu 16.04 then you can use the 15.10 release.
  • The Redhat build was made with Fedora23 but may work with other Redhat flavors.

Let us know if you need more builds.

Breaking changes:

  • Inventory commands are now more sensible. Previously:
selectInventoryItem 3
dropInventoryItem 30

Now:

swapInventoryItems 3 30
  • Python image retrieval is now simpler (and much faster):
for frame in world_state.video_frames:
    image = Image.frombytes('RGB', (frame.width, frame.height), str( frame.pixels ) )