v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

Beta test version of Andor's Trail v0.7.6!

Official news about Andor's Trail.
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Beta test version of Andor's Trail v0.7.6!

Post by rijackson741 »

Perhaps, but what we can do in this respect with the current game engine is very limited. We can change day to night, or vice versa night to day, based on an event, and realistically only in one step. Every step change in darkness requires a new version of the map you are on, so doing a gradual day-night change for the whole world would require an absurd number of new maps. I understand what you want, and why you want it, but it's not practical. IMO, new content, within the constraints of the current game engine, is more important than major changes to the game engine.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
sdevaney
Site Admin
Posts: 1177
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: Beta test version of Andor's Trail v0.7.6!

Post by sdevaney »

rijackson741 wrote: Thu Sep 26, 2019 1:41 am Perhaps, but what we can do in this respect with the current game engine is very limited. We can change day to night, or vice versa night to day, based on an event, and realistically only in one step. Every step change in darkness requires a new version of the map you are on, so doing a gradual day-night change for the whole world would require an absurd number of new maps. I understand what you want, and why you want it, but it's not practical. IMO, new content, within the constraints of the current game engine, is more important than major changes to the game engine.
Agreed, and that's exactly the beauty of open-source and the reasoning behind having this community IMHO. Maybe someone sees this and decides to take on the challenge of adding a more robust option for this sort of thing in the engine.
extrashady
Posts: 10
Joined: Sat Feb 16, 2019 7:27 pm
android_version: 10 - Android 10

Re: Beta test version of Andor's Trail v0.7.6!

Post by extrashady »

I totally understand the challenges of this at an engine level based on all your existing content not being made with this feature in mind, but as a gameplay mechanic albeit requiring the copying and darkening of a tileset, it was just a nice little surprise. I could tell I was sandboxed because I couldn't exit the town or enter any establishments, but it just felt kind of neat.

Additional content is definitely priority and I don't want to be the guy that says "hey you know what we can just copy the town and do a pallette swap to add an hour of gameplay", but maybe it might add some additional content to make some night missions in certain towns with a little less effort. Anyway I'm just spitballing here. You're clearly releasing new content and have direction. Good work all around.
Jip
Posts: 7
Joined: Mon Dec 17, 2018 4:12 pm
android_version: 7.1 - Nougat

Re: Beta test version of Andor's Trail v0.7.6!

Post by Jip »

rijackson741 wrote: Thu Sep 26, 2019 1:41 am Perhaps, but what we can do in this respect with the current game engine is very limited. We can change day to night, or vice versa night to day, based on an event, and realistically only in one step. Every step change in darkness requires a new version of the map you are on, so doing a gradual day-night change for the whole world would require an absurd number of new maps. I understand what you want, and why you want it, but it's not practical. IMO, new content, within the constraints of the current game engine, is more important than major changes to the game engine.
Sorry I haven't looked into the source code but normally you could do stuff like this with shaders.
User avatar
Nut
Posts: 1499
Joined: Mon Oct 27, 2014 12:14 pm
android_version: 8.0
Location: Glade

Re: Beta test version of Andor's Trail v0.7.6!

Post by Nut »

Yes, it is possible to darken a map with some kind of shader indeed, but only explicitly and each single map. It is already done e.g. in Guynmart dungeon.
But night/day has other problems.
Some indoor or underground maps should be unchanged though. And even when you get the light dimmed, what then? Some monsters might be more uproad in the night, but not every monsters. Everything has to be set explicitly in every map, and checked for consistency. And if there are night/day intervals, it should also have consequences to diverse quests.
I think all this would be _very_ much work, with limited benefit overall. Such things should have been added at the design time of the game. I wouldn't spend the time and effort to realize it now.
Although it is nice to have it here - I like that part too
Nut
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Beta test version of Andor's Trail v0.7.6!

Post by Zukero »

Jip wrote: Sat Sep 28, 2019 12:52 pm Sorry I haven't looked into the source code but normally you could do stuff like this with shaders.
The game does not use opengl, or graphics acceleration at all, which makes it very easy on the battery. It also means it's hard to do animation, and no shaders in the GLSL sense.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
extrashady
Posts: 10
Joined: Sat Feb 16, 2019 7:27 pm
android_version: 10 - Android 10

Re: Beta test version of Andor's Trail v0.7.6!

Post by extrashady »

Are you using the android.graphics library? I'm not sure what the performance implications would be but could you use a LightingColorFilter as part of your Paint when you drawBitmap()? Multiply everything by 0.5 or just take in a variable and let the map creator set how dark a room should be? Keeps everything away from the rabbit hole that is OpenGL/Vulkan shaders.

I was just thinking that might be an easier option for a hardcoded nighttime scene that recoloring an entire tileset.
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Beta test version of Andor's Trail v0.7.6!

Post by Zukero »

We're actually using ColorMatrixColorFilter when using the high quality filters. It caused performance issues on some devices, so the low quality filters are simply transparent overlays.
Each map uses one of the predefined filters (several shades of darkening, B&W, inverted colors, or none), and we can use scripts to change the active filter on a given map.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
Post Reply