We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Change resolution of simulation based on a media query?

Home Forums Puzzles Change resolution of simulation based on a media query?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #64877
    vergecurious
    Customer

    Good morning all. Is there a way to change the resolution of a simulation (for faster loading) based on some kind of media query? It would be awesome. A guy with a cell phone does not need the same quality simulation as a guy on a desktop looking at a 4k tv. Well that’s my opinion anyway. lol

    Thanks in advance. May everyone have a great day.

    #64880
    kdv
    Participant

    It’s already working this way. All apps run with the screen scale 1 by default. The actual page resolution is 1 / device pixel ratio. For most mobile platforms it will be 40-50% of their native resolution. And for 4k monitors too.

    http://whatismyscreenresolution.net/

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #64881
    vergecurious
    Customer

    Thanks, I knew it made sense. lol

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.