Techmino icon indicating copy to clipboard operation
Techmino copied to clipboard

Swipe to switch between view radar chart and stats on endgame page

Open Allustrate opened this issue 4 years ago • 5 comments

Currently (V0.16.0), radar chart and stats are shown in two different pages, and player may click/tap the "<" or ">" button to switch.

But for mobile phone players, they may be confused if they can not swipe to switch between the two pages.

Allustrate avatar Aug 12 '21 07:08 Allustrate

Maybe add an event listener in Zframework?

When there is a relatively quick movement starting on a widget, it should be detected as a swipe (or, a flick in rhythm game terminology). Swipe-scrolling seems next to impossible to implement for now.

Trebor-Huang avatar Aug 22 '21 10:08 Trebor-Huang

The problem is, that's not a widget Oh, so I can add a transparent button on it

MrZ626 avatar Aug 22 '21 10:08 MrZ626

Well that's so... Z-ish

Trebor-Huang avatar Aug 22 '21 10:08 Trebor-Huang

Also, you can implement a container component, that just contains some widgets and stuff, so that scrolling is easier to make.

Trebor-Huang avatar Aug 22 '21 10:08 Trebor-Huang

this still hasn't been implemented yet; should this be marked as hard?

Not-A-Normal-Robot avatar Dec 01 '21 05:12 Not-A-Normal-Robot

The problem is, that's not a widget

use scene.touchMove(x,y,dx,dy), if the dx is quite large and x/y is within the range of the box, switch between radar chart and stats.

or you might wanna track the touch movement and if the dx is enough throughout the duration of the touch and x/y is within the range of the box during touchUp, then switch

Not-A-Normal-Robot avatar Dec 03 '22 12:12 Not-A-Normal-Robot

Finally, the owner of this FR can feel comfortable now?

SweetSea-ButImNotSweet avatar Oct 29 '23 08:10 SweetSea-ButImNotSweet

Glad that this feature has been finally added to the game. Unfortunately, as I am currently in hospital and was not accessible to my laptop, where I usually play Techmino, I am temporarily not able to experience this new amazing feature. However, I would express my gratitude to the guy who made this feature possible.

---Original--- From: "C6H12O6 + NaCl + @.> Date: Sun, Oct 29, 2023 16:01 PM To: @.>; Cc: @.@.>; Subject: Re: [26F-Studio/Techmino] Swipe to switch between view radar chartand stats on endgame page (#197)

Finally, the owner of this FR can feel comfortable now?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Allustrate avatar Oct 29 '23 08:10 Allustrate

I'm so sorry to hear about this, wish you could get better soon

SweetSea-ButImNotSweet avatar Oct 29 '23 08:10 SweetSea-ButImNotSweet