Questions tagged [hero]
38 questions
0
votes
0 answers
Perform the battle of monsters in Python : calculate the winner in Heroes Might and Magic
I would like to simulate a battle of monsters from Heroes Might & Magic.
The problem is that only my monster no.2 (unicorn) loss his points.
What I'm doing wrong ?
Fighting mechanics explanation:
mon1 = {"type": "Roc", "hitpoints": 40, "number":…

Momo Qda
- 1
0
votes
0 answers
How I am able to move Hero container behind all widgets?
I am trying to apply hero animation on a container that is in a stack "background"
but it keeps pop above all widgets when that happens, I need help please
Normal design
when using hero
this is the widget that uses hero
import…

Khaled Dokhan
- 23
- 3
0
votes
1 answer
setState in pageBuilder doesn't work in Flutter
I'm using Hero widget to pop up a selector page where you can select your preferred color to use as background.
If I tap on "Change color!" then the main page container background changes perfectly, but on the selector page it remains in the build…

Zoltan
- 43
- 1
- 8
0
votes
0 answers
How to move hero image under navigation?
I'm trying to expand my nav bar, however it overlaps into the hero image below it:
Current View
My goal is to have the nav bar completely above it and with the light blue background
Here is my current nav css:
nav { text-align: center;
…

BigYag
- 3
- 1
- 4
0
votes
1 answer
-1
votes
1 answer
Problem implementing hero_animation flutter
let's see if someone can help me.
I'm trying to implement an animation with hero_animation of a button, that when you press it, it moves to another container above. how could it be done?
Something like the image Example
Thanks!
I tried to implement…

JuanCa
- 1
- 2
-1
votes
1 answer
HTML/CSS Hero banner ruining content pages
i posted a similar question a couple weeks ago and ive got things in place. but the content and footer DIVS are very much in the wrong place. i want them to print below the image for each page, so when the page is opened, my chosen image takes up…
-2
votes
0 answers
How to increase my heros healthpower using a potion? When my hero (Paladini, sorcerer, warrior) use a potion his healthpower should be increase. Java
Increase hero health using a potion. For example if my paladin's health is 50, using a potion should be 60. They are 3 type of heroes, paladin, sorcerer, warrior. If i choose to play with paladin for example, i have the option to increase his power…

nick77
- 1
- 1