Leinnan / slavic_castles

Card game prototype written in Rust with Bevy
https://leinnan.github.io/slavic_castles/
MIT License
48 stars 6 forks source link

Web version is not playable #2

Closed ghost closed 4 months ago

ghost commented 4 years ago

Same issue I had with Opera and Chrome. OS: Windows 8.1

image

Leinnan commented 4 years ago

The issue is mostly related to the fact that textures does not have power-of-two dimensions. Besides that warnings game is playable?

ghost commented 4 years ago

I can not push button "new game", nothing happens in all three browsers. Game does not start on my computer.

ghost commented 4 years ago

Opera gives me another error line. But anyway -- it does not start.

image

Leinnan commented 4 years ago

Error on top isn't connected to game itself. Still- I will try to prepare special game version with logging info to browser console and ask you to check if all quicksilver events works. Because for now it looks for me that there are two possibilities:

lenscas commented 4 years ago

I think I can reproduce the same bug by opening the dev tools. In my case they are at the bottom of firefox and if I drag it up the game window will automatically become smaller so it stays fitting. HOWEVER the position of where you need to click seems to remain the same, at least according to the onHover effects that the buttons give.

pickfire commented 4 years ago

I feel like the page is getting slower and slower with more steps. Memory leak?

lenscas commented 4 years ago

I feel like the page is getting slower and slower with more steps. Memory leak?

There is indeed a memory leak inside the browser build. I submitted a pull request some time ago that fixes part of it which got accepted but I don't know of that is already live and how many other places there are where this leak happens.

Luckily, native builds don't suffer this leak.

Leinnan commented 4 months ago

If that still happens in Bevy rewrite, there can be a new issue created.