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

Freshness

Discussions of the development process of the game.
twirlimp
VIP
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Freshness

Post by twirlimp »

Voom wrote:lol, hot springs it is! You might need to rework the way NPCs move and and interact with other objects (like go through doors, talk to other NPCs, etc.).
Honestly that would be my pleasure and not a chore at all.

I suspect that performance might be an issue, but I'm willing to do an experiment and risk scrapping it if it lags too much (or I'll keep trying to optimize it).

In case a full NPC schedule is too much, I'll just give them a list of spawns that they can be in, and set them to interact with the spawn environment only when the player is there. That would minimize the performance to the lowest degree possible, and might even be better than a full schedule if there's a reliable time counter that can tell the Player which spawn the NPCs are in at a specific time.
Voom wrote:Maybe another layer on Tiled when creating a map and pathway for NPCs.
I personally don't see why they can't just use the existing layers, but I haven't looked into the map-walking code intensively (only briefly during monster AI changes).
ideas plox
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Freshness

Post by Zukero »

The pathfinding of the swarmers could be reused to send a NPC to a designated tile, and have a script event trigger the movement, and ideally, another script triggered upon reaching the destination.
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
twirlimp
VIP
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Freshness

Post by twirlimp »

Zukero wrote:The pathfinding of the swarmers could be reused to send a NPC to a designated tile, and have a script event trigger the movement, and ideally, another script triggered upon reaching the destination.
The swarmer pathfinding is something I'm extremely familiar with (too familiar tbh) but wouldn't this cause a large performance hit game-wide if all NPCs were to have schedules?
ideas plox
User avatar
Voom
VIP
Posts: 617
Joined: Sat Dec 19, 2015 5:24 pm
android_version: 7.0
Location: Fort Lauderdale, FL

Re: Freshness

Post by Voom »

Ooh, this is getting interesting. Could there be a script that would activate an NPC's movement only once the char is in the same map tile as the NPC? Localized something or other...
Voom
twirlimp
VIP
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Freshness

Post by twirlimp »

Voom wrote:Ooh, this is getting interesting. Could there be a script that would activate an NPC's movement only once the char is in the same map tile as the NPC? Localized something or other...
This should be doable one way or another yes.
ideas plox
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Freshness

Post by Zukero »

Yeah, there are plenty of triggers (like, at least 5) we can use.
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