Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Sil

Reply
 
Thread Tools Display Modes
Old July 2, 2018, 03:58   #11
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,777
Donated: $40
Pete Mack is on a distinguished road
I made a list a couple days ago, in no particular order, of things I noticed playing on an android phone.
http://angband.oook.cz/forum/showpos...84&postcount=8

It'd be nice to use keys with gaps around them: miskeys in roguelikes can be very bad. Most of the other issues are minor.
Pete Mack is offline   Reply With Quote
Old July 13, 2018, 04:07   #12
Shaosil
Rookie
 
Join Date: Jun 2018
Posts: 10
Shaosil is on a distinguished road
Alright, I think Sil is finally in a place good enough to release on the Play Store! It 'seems' stable enough for now. I still may need to update the package name (rather than com.Sil...) but I already registered a Google Developer account or whatever, so I just need to learn how to get stuff on there next.

Here is what I've accomplished since my last post:
  • Added original font. I left the new font alone, because after I painstakingly traced each bitmap character in the original 8x13 font to convert it to vector (android only likes vector fonts), I realized how truly awful it looks on phone screens. However, I did add a font option to preferences if you must have the classic look.
  • Fixed background colors. This means walls draw as solid blocks (assuming you have the option enabled), highlights work, etc.
  • Added transparency option for keyboard, along with the option to overlay it on top of the game view. Great for playing in landscape mode, similar to what you can do with DC:SS.
  • Introduced and then fixed a rather large bug related to the graphics being drawn. Still not sure what causes it, and why it doesn't happen with Angband Variants and DC:SS, since they use nearly identical code. If you pressed keys too fast, the game bitmap could be updated during a draw, causing minor glitches like overlapping or half-blanked-out text. I fixed it by rewriting the draw method to use a queue of characters that were set instead of external draw calls.
  • Other minor code improvements that shouldn't affect much.

Eventually, I would still like to get to most of what I had on my todo list before.
  • With the introduction of an overlaying keyboard, the 9 "squares" on the screen that are used for finger tap movement don't work when the transparent keyboard is overtop of them. Currently the only way around it is not to use an overlapping keyboard, sorry.
  • Slain monsters list doesn't appear
  • Add way to view manual from app, or at least link to it.
  • Having second thoughts about a single row sliding keyboard. I think the transparent option helps a lot, so it may be more effort than it's worth.
  • Want a way to copy over ALL settings from last character on a new one
  • Also having second thoughts about filling the whole screen with the game view. Not even sure if Sil would allow that type of aspect ration, to be honest. Let's hear your thoughts on this!
  • Probably won't make a way to drag the screen around. I dunno. I'll keep it in my list.

Anyway, I'll post another update when I actually have this thing on the Play Store.
Shaosil is offline   Reply With Quote
Old July 13, 2018, 04:40   #13
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,777
Donated: $40
Pete Mack is on a distinguished road
Does it work fully in portrait mode? And can it change font size in landscape? The main problem with the game is that in each mode it is wasting screen space. In one, because a third of the screen is empty. In the other, because the font is too large.
Pete Mack is offline   Reply With Quote
Old July 13, 2018, 05:18   #14
Shaosil
Rookie
 
Join Date: Jun 2018
Posts: 10
Shaosil is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
Does it work fully in portrait mode? And can it change font size in landscape? The main problem with the game is that in each mode it is wasting screen space. In one, because a third of the screen is empty. In the other, because the font is too large.
It does work pretty well in portait mode, but you're absolutely right. Sil is by default like 80x25 or something like that. I could mess around with those values and see how it goes, which I may get to eventually. But I did improve the font code a bit - by default you can scale it up and down using the volume buttons, or autosize it to the width or height of your orientation using the pop-up menu. I think that, combined with a translucent keyboard, makes the game more manageable on mobile
Shaosil is offline   Reply With Quote
Old July 13, 2018, 08:22   #15
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 597
fph is on a distinguished road
Thanks, great job! I will try it [EDIT: as soon as it's on the Play store --- didn't read that it's not there yet].

If you want to make it fit better on a portrait screen without changing the gameplay at all, one possibility could be rotating the map view by 90 degrees, so that the long side of the dungeon matches the long side of the screen.
Not sure if it looks good, though, because fonts usually are taller than larger. Just brainstorming...
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.

Last edited by fph; July 13, 2018 at 08:40.
fph is offline   Reply With Quote
Old July 13, 2018, 12:47   #16
Shaosil
Rookie
 
Join Date: Jun 2018
Posts: 10
Shaosil is on a distinguished road
Quote:
Originally Posted by fph View Post
If you want to make it fit better on a portrait screen without changing the gameplay at all, one possibility could be rotating the map view by 90 degrees, so that the long side of the dungeon matches the long side of the screen.
Yeah, as long as you have the orientation option set, you can rotate your phone and the game view will switch to landscape. It's easier to read, so long as you don't mind the keyboard overlay. Just mess with the keyboard opacity until you get it to a place you like.
Shaosil is offline   Reply With Quote
Old July 14, 2018, 03:25   #17
Shaosil
Rookie
 
Join Date: Jun 2018
Posts: 10
Shaosil is on a distinguished road
Version 1.0.0 Released!

It's live, download it from the Play Store here!

Well that was fun, took like 2 hours to finish going through the signing and publishing process. I'm open to feedback!

My biggest publishing mistake was the package name... I didn't mean for the extra ".SilActivity" to be on there. Oh well.
Shaosil is offline   Reply With Quote
Old Yesterday, 21:30   #18
Shaosil
Rookie
 
Join Date: Jun 2018
Posts: 10
Shaosil is on a distinguished road
I've pushed a couple updates out, and added it to GitHub if anyone wants to poke around in my code.

The first update addressed startup crashes that occurred on certain devices (related to the C++ code only being compiled for one CPU architecture... blah), and gave it a prettier icon.

The second update fixed screen tapping for movement, added a "wait" option for center screen tapping, and fixed the slain monster list not showing up.

Since the app has release notes and it's also on GitHub, I probably won't post many more updates to this thread, but I'm tuned in to PMs or feedback as always. Enjoy!
Shaosil is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm considering making a new Sil branch Quirk Sil 46 October 19, 2017 18:27
Sil and Angband variants available on Android half Sil 37 November 11, 2016 00:19
Sil 1.3 on android xorzac Sil 33 November 5, 2016 00:51
Making V play more like Sil Therem Harth Vanilla 81 October 1, 2012 14:36
Android Antoine Development 3 July 30, 2011 01:59


All times are GMT +1. The time now is 01:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.