tzanou-perso / vscode_tamagotchi_extension

A VSCode Tamagotchi clicker game extension
https://marketplace.visualstudio.com/items?itemName=Tzanou.tamagotchi
MIT License
2 stars 0 forks source link

Too much view padding + moving the view #3

Closed dimateos closed 6 months ago

dimateos commented 7 months ago

Hey! first of all, great idea for a extension :) First thing similar to vscode-pets that Ive seen and I love vscode-pets!

There seem to be too much padding around the game view, for example compared with pets:

image

Also, if I move the view to another panel it crashes and vscode window needs to be reloaded to restart it properly:

You can move it around in the same panel, but in my case I moved from the explorer panel (left) to my rigth side panel. I can give you more info if you cannot reproduce it. Not as important as I dont plan to move around constantly tho.

image

Tzanou123 commented 7 months ago

Hello, Thanks for your feedback and happy you like the extension. I plan to fix those bugs in next release, probably on this end of weeks.

Tzanou123 commented 7 months ago

I upload a new release with patching the problem you relate ! Can you confirm after update the problems are gone ? I can then merge the branch ! Thanks

dimateos commented 6 months ago

Sure!

  1. The window no longer stops working when moving the view around
  2. The padding is gone

This is how it looks on my end:

2024-03-07_(170454)_Code

I guess you had to do funky things with the aspect ratio stuff to fit the view with no padding at all. I think you did a nice job!

Only tiny issue is that now (as you can see in the gif), the text and sprites are over-scaled by a bit in the vertical axis when the aspect ratio is mainly horizontal.

Tzanou123 commented 6 months ago

Thanks dude, your feedback are really appreciated. I fix the bug you pointed to me in the new version!