Quantum-Game / quantum-game-2

LEGACY open-source version of Quantum Game 2 (Sept 2019 - Oct 2020)
https://quantumgame.io
MIT License
65 stars 16 forks source link

limit access to the game #257

Closed Frizi closed 3 years ago

Frizi commented 3 years ago

Disable access to proper game levels, keep it under a feature flag.

This is mostly a stopgap. The flag should eventually be replaced with more proper access control and a compile time switch. We will need to add some demo levels.

As an interesting model of paid game that is also fully open source - see https://github.com/tobspr/shapez.io

stared commented 3 years ago

In such PRs a screenshot would be very desirable! :)

Frizi commented 3 years ago

The only real visual difference is the disabled "play game" button, and a missing "levels" entry in the in-game menu.

image

stared commented 3 years ago

This visual looks more like an error, than intended. Maybe full opacity, but with gray and "coming soon"?

Frizi commented 3 years ago

That's up to @KlemKlem, I have just used the "disabled" style as it it already was. I agree that opacity might not be the best choice here though.

Alternatively, once the buttons are moved to be below logo, it should blend nicely with the background gradient.

Frizi commented 3 years ago

I've moved the buttons to always be below the logo, but i'll leave the design of potential "coming soon" text to @KlemKlem :)

I think now the opacity works fine as a disabled state.

image

KlemKlem commented 3 years ago

The inactive button should have different colors (not opacity, it doesn't work well on this background):

6c508c main body, #beabd8 text, #3e2954 underline

They might still need to be a bit brighter, but I can change it later.

Frizi commented 3 years ago

Changed according to above colors image