Jason Long
55f054a63e
TileImage: refactor: s/readTileImage/readTileImageM
...
this method is called in the context of the parent tag;
it reads all <image> tags that are children of the current tag
and only returns one of them
2015-01-11 12:33:41 -05:00
Jason Long
030abc4512
TileImages: refactor: move readTileImage() to graphics package
2015-01-11 12:33:40 -05:00
Jason Long
d64126f05e
TileImages: refactor: move AnimatedTile to graphics package
2015-01-11 12:33:39 -05:00
Jason Long
0c29bbfcf8
TileImages: refactor: move SimpleTileImage to graphics package
2015-01-11 12:33:34 -05:00
Jason Long
02ee143ce9
refactor: move LoaderContext to graphics package
2015-01-10 11:53:46 -05:00
Jason Long
21f983d4be
TileImages: make gui classes use same base class as MakeTiles component
2015-01-10 11:21:52 -05:00
Jason Long
409f338e6b
refactor: make readTileImage() to read any tile image descriptor type
2015-01-07 20:41:12 -05:00
Jason Long
7b85b7bbe9
TileImages: load image file directly into BufferedImage
2015-01-07 13:22:22 -05:00
Jason Long
a68c533ef5
TileImages: fix bug (shadowed variable) in LoaderContext.getImage()
2015-01-07 13:22:17 -05:00
Jason Long
fbd3a0dc94
MakeTiles: change meaning of offsetY
2015-01-07 13:21:20 -05:00
Jason Long
7415edeb9e
TileImages: allow having multiple tile image files
2015-01-07 13:20:41 -05:00
Jason Long
dbdad3b37e
TileImages: more object-oriented tile-drawing code
2015-01-07 13:13:19 -05:00
Jason Long
6c0c9203a4
TileImages: share image-loading code between overlay map and main view
...
main view- tiles image is now loaded as a single buffered image,
and selected into "sub-images" where needed
overlay- the rgb drawing code is moved into TileImages class
2015-01-07 13:13:04 -05:00
Jason Long
ddd72b44e8
debug: giev more information on assertion failures
2014-09-21 16:37:45 -04:00
Jason Long
4dc9194fe4
TileImages: auto-redraw animated tiles
2014-09-21 16:37:44 -04:00
Jason Long
9c5c41e0f4
TileImages: draw animated frames
...
(still need to implement redrawing of animated frames)
2014-09-21 16:37:43 -04:00
Jason Long
0d6f6d4789
TileImages: put placeholder for animated tile support
2014-09-21 16:37:42 -04:00
Jason Long
2791a5658a
TileImages: allow loading a named tiles pack...
...
and make the overlay map use the 'sm' mapping
2014-09-21 16:37:38 -04:00
Jason Long
2112ee04f0
MakeTiles: change format of tiles.idx (preparing for future capability)
2014-09-21 16:37:37 -04:00
Jason Long
3597e11bbd
tile-names: teach GUI how to load images for dyn-numbered tiles
...
(this only handles the main view, it does not do anything for the overlay view)
2014-09-21 16:37:37 -04:00
Jason Long
f4fdb09481
graphics: change where images are loaded from when running the gui
...
tiles.png used to be at the root of the jar,
now it is in the '16x16' subdirectory (or '32x32' or '8x8' or 'sm'
depending on what resolution is being loaded)
2014-06-16 20:39:00 -04:00
jason@long.name
6851224c10
drawing-area: scale sprite images with tile resolution
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@766 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-21 15:34:56 +00:00
jason@long.name
4a38afc40f
drawing-area: fix crash bug caused by not loading sprite images
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@764 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-21 15:34:46 +00:00
jason@long.name
1ce5080705
drawing-area: allow zooming from 8px to 32px, using unique graphics source for each level
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@756 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-20 21:29:53 +00:00
jason@long.name
103999e578
drawing-area: allow zooming in to 32px tiles
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@753 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-20 21:29:44 +00:00
jason@long.name
d452c45d21
drawing-area: hold in-memory tile images in an object, rather than static variables
...
This will allow changing tile sizes on a per-window basis.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@752 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-20 21:29:40 +00:00