let it leave me like a long breath

let it dissipate or fade in the background

Aug. 15th, 2017

Profile

xax: purple-orange {11/3 knotwork star, pointed down (Default)
howling howling howling

Nav

  • Recent Entries
  • Archive
  • Reading
  • Tags
  • Memories
  • Profile

Tags

  • art - 2 uses
  • asteroid garden - 4 uses
  • code - 19 uses
  • demos - 1 use
  • dreams - 5 uses
  • ff7 fangame - 23 uses
  • fic prompts - 13 uses
  • gamedev challenge - 82 uses
  • hell game - 76 uses
  • nanowrimo - 11 uses
  • plants - 9 uses
  • process - 52 uses
  • programming - 51 uses
  • screenshots - 5 uses
  • writing log - 83 uses

May 2025

S M T W T F S
    123
45678 910
1112131415 1617
18192021222324
25262728293031
    • Previous Day
    • |
    • Next Day

    Aug. 15th, 2017

  • xax: purple-orange {11/3 knotwork star, pointed down (Default)
    posted @ 08:36 pm

    okay so libgdx has a builtin map data structure, right? so. that map data structure is just a container for a MapProperties and a MapLayers. the MapLayers is just a list of MapLayer. MapLayer is actually an abstract class; it has instances of TiledMapImageLayer and TiledMapTileLayer. sure. TiledMapTileLayer actually has some data in it: a map height and width, with some functionality to set and get tiles, and an iterator. but it's not just storing abstract data; it's storing, specifically, Cells. a Cell contains a TiledMapTile, as well as rotation and flip data(??) for the cell.

    so to make a spritesheet of TiledMapTiles, first you make a TiledMapTileSets. then you make a TiledMapTileSet, and add it to the tilesets set. then you put tiles (which are either StaticTiledMapTile or AnimatedTiledMapTile) into the tile, by initializing them with a TextureRegion.

    java was a mistake

    like, i was planning on replacing my janky map code with the engine-supported map code, but, i mean,,,

    • Add Memory
    • Share This Entry
    • Link
    • 0 comments
    • Reply
    • Previous Day
    • |
    • Next Day
Page generated Oct. 14th, 2025 08:25 pm
Powered by Dreamwidth Studios

Style Credit

  • Style: (No Theme) for vertical