solarus-games / zsdx

This repository was moved to GitLab: https://gitlab.com/solarus-games/zsdx
http://www.solarus-games.org
Other
186 stars 54 forks source link

Counters (rupees, keys) are not showing up #72

Closed Renkineko closed 10 years ago

Renkineko commented 10 years ago

We can't see the counters for rupee and keys anymore, and if we set a lower max_life via the lua console, the sprites of hearts are not updated : they still appears, but the decrementation of the life is set from the good heart position. Here is a screen :

http://jeuxtotaltribu.free.fr/zsdx-bug/dx_heart_issue.png

On this screen, I started the game with a max_life of 80. I opened up a console and entered the command "game:set_max_life(40)", then I have been hit by enemy two times. The decrementation is OK, but the second bar shouldn't be visible...

Don't know if it's an engine issue or a quest issue, since the quest didn't move and before it worked I suppose it's since the texture commit.

Solarus v1.2 christopho/solarus@534912caa5e6dc5ee7a88a7b1c90729bd68d9600 ZSDX v1.7 562a4ffd109d8018b6bbd6d38f4114df22c2692a

Renkineko commented 10 years ago

Two separates bug. Counters are OK now, I'll open a new issue for the max life.