Grimmys / rpg_tactical_fantasy_game

A tactical turn-based game project in pygame, open to support
GNU General Public License v3.0
391 stars 85 forks source link

Show in UI that given foe is related to a mission objective #74

Open Grimmys opened 10 months ago

Grimmys commented 10 months ago

Currently, nothing is telling the player which enemies are required to be killed for the level to be finish.

For example, in level 3 (Lost City), the main mission is to kill the Mutanter, but nothing is directly indicating who is the Mutanter, and that it is the mission target.

Something could probably be added in one (or both) of these places:

mutanter_preview Preview of the Foe when hovering it

image Details about the Foe when clicking on it

The property to look for is Foe.target_of_mission, its value is whether None or the id of the related mission.

silent-lindsay commented 6 months ago

Also have no idea what the rule of each game level is, like in level 2. Why some foes are undefeatable and some are harmless? I'd like to make it clear and make contributions as well.

Grimmys commented 6 months ago

@silent-lindsay What do you mean by "what the rule is"? The main objective of the level (and the secondary objectives as well) should be displayed on the bottom sidebar, near the right corner of the screen.

No foes are supposed to be undefeatable, just that some might be stronger, depending on their level, and the boss might be way too strong because I suck at balancing (anybody can try to adapt their stats if they want). Also, foes can have different strategies (AI): for now I think there are only two different ones, whether the mob is static (never moving), or active (move in the direction of the closest player). They might be a third one: semi-active (move only if a player is at reach). The strategy of a mob is not displayed yet anywhere I think, but I guess it could? I don't know.