![]() |
#1 |
Knight
Join Date: Jan 2009
Posts: 909
![]() |
Shockbolt tiles
I'd love to add the Shockbolt tiles to Sil, and am looking into it. Shockbolt has kindly offered to look into making the extra tiles I'd need, but first I want to check that it is possible to get it to work. I plan to borrow code from V to do this, so I thought I'd check out the tiles in a current version of V. However, this has left me puzzled.
I've just had my first hands-on experience with them by downloading the 3.4.0 RC version for Mac. This has a native UI menu with choice of graphics set and font face/size. However, the size of the tiles seems to be completely determined by the font size, which is measured in points. This leads to non-square tiles which are also rather arbitrary sizes, leading to rescaling of the original Shockbolt images. Strangely their aspect ratio skews towards wider and wider as I make the point size bigger. When I try to enlarge/reduce the main window by dragging the bottom right corner, it doesn't add or subtract rows/columns, but scales the graphics. This allows me to produce roughly square tiles of roughly the right size, but I'd rather be able to have perfect squares at natural sizes (e.g. 32x32, 64x64, 96x96, 128x128). I'd also rather be able to have multiple characters of text per tile space. I seem to recall that it used to be much more like that. Is this still possible? Are there reasons for the change? Is this the same on the Windows/Linux ports? |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Jan 2009
Posts: 909
![]() |
Looking around the forum, I found this screenshot, and this is basically how I'd like to use the tiles (with a couple of choices about how big to make them, and complete freedom about how big the window is in terms of rows/columns):
http://angband.oook.cz/forum/attachm...1&d=1325021636 |
![]() |
![]() |
![]() |
#3 | |
Angband Devteam member
Join Date: Apr 2007
Posts: 334
![]() |
Quote:
I am less sure about multiple characters of text per tile space. Someone more familiar with the UI code than I may be able to comment on that. |
|
![]() |
![]() |
![]() |
#4 | |
Knight
Join Date: Jan 2009
Posts: 909
![]() |
myshkin,
Firstly, thank you for all your work on the Mac port! I look forward to updating the Sil Mac port to reflect most of the changes when I can work out how... Quote:
If you are playing with tiles, then it seems that the Windows/Linux way is markedly superior to the current Mac way. Text only modes might reverse this though, so one needs to bear both in mind. |
|
![]() |
![]() |
![]() |
#5 | ||
Angband Devteam member
Join Date: Apr 2007
Posts: 334
![]() |
Quote:
Quote:
It does also look as if the Carbon port's Graphics menu items for Nice graphics, Bigtile width, and Bigtile height do more or less what you describe (although the "Just get 'em square" option still leaves space between text characters)...so maybe I should just finish porting that behavior. Last edited by myshkin; June 19, 2012 at 09:01. Reason: Added information about Carbon port. |
||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shockbolt Tiles | Malatar | v4 | 7 | April 21, 2012 17:19 |
[3.4-dev] Shockbolt tiles and SDL | oldmansutton | Development | 7 | April 19, 2012 12:04 |
Problem using Shockbolt tiles in v4 | cmpederson | v4 | 15 | January 28, 2012 00:28 |
Shockbolt's tiles now in 3.4-dev! | Magnate | Development | 27 | January 9, 2012 09:52 |
Shockbolt's tiles now in v4 | Magnate | v4 | 14 | December 31, 2011 18:59 |