Comments (7)
Hi, @zenseii, this is observed on any resolution and when closing Castle screen not from Kingdom overview. And this is the closest color for the current brightness value of image, returned by GetPALColorId()
. We are limited to the color of game palette.
Maybe we should use ApplyTransform()
instead ... (or modify GetPALColorId()
). I'll check it later.
from fheroes2.
Hi, @zenseii, after the castle screen is closed the shadow of the dialog (to the left of dialog) becomes stronger.
And if I buy 4 heroes in 4 castles closing castle dialog every time, I'll get almost fully black shadow. :)
from fheroes2.
You can also dismiss a hero from Hero dialog to get the same result.
from fheroes2.
Hi @ihhub, what do you mean by abnormal rendering? :)
Kingdom overview and castle screen are opened in a "StandardWindow" (not full-screen), so after closing kingdom overview there is no fade-in animation.
The screen moves down after kingdom overview is closed because mouse pointer is near the bottom edge of game screen.
from fheroes2.
Hi, @Districh-ru. I believe what @ihhub refers to is the blue-ish colored effect that is sometimes visible for a split second when fading. Particularly visible on the horse/knight piece graphics:
from fheroes2.
There is a bug in Kingdom Overview: Open Castle, buy a Hero and go back to Kingdom Overview: there will be one more shadow added to the Kingdom Overview dialog.
https://user-images.githubusercontent.com/113276641/262657815-b209d4eb-40a1-4e63-88cf-71fce40d93d4.gif
It could be possibly a source of the small "hang" after closing the castle screen, shown in this issue.
from fheroes2.
There is a bug in Kingdom Overview: Open Castle, buy a Hero and go back to Kingdom Overview: there will be one more shadow added to the Kingdom Overview dialog. https://user-images.githubusercontent.com/113276641/262657815-b209d4eb-40a1-4e63-88cf-71fce40d93d4.gif
It could be possibly a source of the small "hang" after closing the castle screen, shown in this issue.
Hi, @Districh-ru
I'm not sure I see the extra shadow in the linked to gif? Where on the overview screen does it show up?
from fheroes2.
Related Issues (20)
- AI just moves back and forward, instead of killing me HOT 4
- Hotseat multiplayer - Last human player gets to see all other human player maps revealed! HOT 3
- Combat screen, AI doesn't consider mirrored creature as the target for attacking spells
- Combat screen, Griffins retaliate after being paralyzed by Cyclops HOT 40
- Combat screen, AI should consider and block the nearest ranged troops while attacking the target HOT 1
- Improve AI in combat not to waste units HOT 3
- Improve AI in combat vs neutral units (not to waste units) HOT 3
- Improve AI to find the fastest way HOT 4
- Improve AI for situations on using "Armageddon" spell HOT 4
- AI is sitting at the teleport from the start of the game HOT 5
- Improve "records" window HOT 1
- Bug with map choosing menu HOT 1
- Improve AI to use magic or not HOT 2
- Improve AI to use magic or not (AI is using spells, but loses more units, then without using spells) HOT 1
- Teach AI to hire heroes for army HOT 3
- Teach AI to use marketplace HOT 1
- Sorting saves in "load game" window HOT 1
- Improve AI in battle (AI wants to protect range unit, but this is losing strategy) HOT 2
- Battle: AI is moving units with no profit HOT 1
- Articaft/resource is not visible because of the rocks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fheroes2.