Skip to content

v7.4.0

Compare
Choose a tag to compare
@andrewmcwatters andrewmcwatters released this 09 May 00:54
· 56 commits to master since this release
  • Regions now use a single Box2D world instance
  • Fix crash in engine/server/init.lua when initializing players on maps with no spawnpoints
  • Code formatting
  • Improved character client-side animation prediction handling
  • Fixed crashes when handling destroyed Box2D bodies
  • Improved character tile movement
  • Fixed crashes when attempting to draw trigger entities
  • Added entity:isPredicted() and entity:setPredicted( predicted ) to enable positional history tracking for future client-side prediction reconciliation
  • Added entity:isOnTile() to determine if entitys are in-between tiles or not
  • Added region.pointinrect( px, py, x, y, width, height ) which is bottom-left inclusive to distinguish between math.pointinrect()'s top-left inclusive implementation for GUI usage
  • Fixed entitys not updating their region reference when crossing level streaming boundaries
  • Updated player:getGraphicsBounds() implementation
  • Added player:isMoveKeyDown()
  • Added cl_server_reconciliation console variable
  • Updated trigger_transition level streaming implementation
  • Improved performance of module hot reloading
  • Fixed crash in path interface when pathfinding in dedicated servers
  • Refactored region:getWorld() to region.getWorld()
  • Refactored region:cleanUp() to region:cleanup()
  • Fixed region:getFilename() not referring to the appropriate path
  • Fixed region:getGidsAtPosition( position ) not converting positions to local region space
  • Refactored region:initializeWorld() to region.initializeWorld()
  • region:isTileWalkableAtPosition( position ) now checks nearby regions if the tile is not walkable
  • walkable tile properties are now booleans as defined in newer Tiled versions
  • Fixed region.tileset image loading not referring to relative directories
  • Added string.stripdotdir( path ) to convert paths with dot directories to their relative paths
  • Updated Vertex Adventure sample code