SeanTheSheepCS / OpenAlice

OpenAlice is a open source game written in C++ that is heavily inspired by the 2007 game Alice Greenfingers
The Unlicense
2 stars 0 forks source link

Dropped objects should not intersect with collision boxes. #7

Open SeanTheSheepCS opened 4 years ago

SeanTheSheepCS commented 4 years ago

Basically when an object enter the world it should move if it detects that it is in conflict with the collision box of an existing object. Uncommenting the loop contained in TileMap::addWorldObjectWithReferenceNumber(int referenceNumber, WorldObject objectToAdd) runs an experimental version of what this feature should look like.

SeanTheSheepCS commented 4 years ago

Note that without this fix, it is possible to hide objects behind the house.