Entity stats are now a Hash (thanks @Jeff-Hostetler!),
Convenient NPC#say displays NPC's name (thanks @jamesball27!),
Convenient treasure chest Event,
Location class encapsulates Map and 2D position
Map's regen_location has been replaced by Player's respawn_location.
Note that not all of these features were written on the 0.2.0 branch. Therefore, the commits may not appear on this pull request but are available on master.
This merge completes version 0.2.0 of Goby.
It is available at https://rubygems.org/gems/goby.
New features include the following:
Music
module provides looping background music,Player
can travel to multipleMap
s -Map
state is saved,Fighter
module encapsulatesEntity
battle behavior (thanks @scosbet!),goby
executable generates simple starter project,Monster
s may drop multiple treasures,Entity
stats are now aHash
(thanks @Jeff-Hostetler!),NPC
#say
displaysNPC
's name (thanks @jamesball27!),Event
,Location
class encapsulatesMap
and 2D positionMap
'sregen_location
has been replaced byPlayer
'srespawn_location
.Note that not all of these features were written on the
0.2.0
branch. Therefore, the commits may not appear on this pull request but are available onmaster
.