Skip to content

Release 2

Compare
Choose a tag to compare
@drakewill-CRL drakewill-CRL released this 16 Jun 16:36
· 12 commits to main since this release

Changelog:

  • AreaTracker for minimized data now correctly includes stuff in your current Cell6 when scanning for valid places for missions without a fixed distance
  • CellTracker is now automatic, connecting itself to PraxisCore.plusCode_changed() when added to the tree.
  • FullOfflineTiles: Can now draw a thumbnail of the Cell6 that has its tiles drawn. Suggesting a default scale on this of 0.08, which gives a 540x800 image of the area.
  • FullOfflineTiles: Fixed a bug when trying to reload area data that was already loaded.
  • FullOfflineTiles: Fixed a bug on listing the location of a Point in the scanner.
  • FullAreaScanner now exists. Gets a list of all places in the full drawable data for the Cell6 and category (mapTiles or adminBoundsFilled) given. Returns name, type, and estimated center of each place found. Unlike the minimized version, this doesn't detect child areas at this time.
  • PlusCodes: Added GetDirection(code1, code2) to return the heading from point1 to point2. This is an angle, with 0 == north. This matches the heading returned by PraxisCore.GetCompassHeading()
  • PlusCodes: Added GetDistanceDegrees(code1, code2) to return the distance between 2 PlusCodes, in degrees.
  • ProxyPlay is now available on-device. You can set proxyCode in PraxisCore to a PlusCode and the player will be treated as starting there, and their movements will be applied relative to that position.
  • Styles can now be created that only partially cover the items in the data. EX: If you wanted a style that only draws roads and parks, you could use the tids from mapData for those elements and use that style with the mapData entries to draw them and only them.
  • ScrollingCenteredMap control created. This map will automatically stay centered on the player, and will create tiles from OfflineData if it's present. This is intended to be built on in other games, adding in additional layers of drawable stuff on top of the tiles.
  • DrawSingleTile will now not save the results to file if the scene has AlwaysDrawNewTile set to true. No point in saving the file if you're not gonna use it again.
  • This is now self-contained as it's own demo app, instead of being separate.
    • GPS Test shows available GPS data
    • ProxyPlay/ScrollMap demo treats you like you were in Los Angeles, CA, and translates your movements from where the scene is opened to the in-game position.
    • Styles demo shows off the drawing engine, drawing a single tile on the fly in 3 different styles. Maybe more in the future if there's more to show off?
  • Other improvements