Two Stop Bitsnew | comments | tags | ask | submitlogin
A simple way to scale pixel art games (pixelart scaling) (30fps.net | ia)
3 points by DennisOSRM 159 days ago | 5 comments
  • kuwagata 159 days ago
    I'd really like a way to overlay this sort of effect over a web page and not affect mouse events or anything. Wouldn't it be awesome to run a shader over a whole webpage like you can with native rendering?
    • viler 157 days ago
      These effects depend on treating the input as scanlines and pixels - and with modern web rendering approaches, there are too many unit conversions and abstraction layers in the way.

      Anyway, nice article. Although I wish he'd expand on how to properly do the horizontal blur step - does it take gamma into account? If so how, and if not why not?

      (I also wish I could just ask him, but current trends seem to mandate that personal websites and blogs shall not offer ways to leave feedback or comments, let alone a way to contact the author - "follow me on $current_shitty_social_network" doesn't count.)

      • pekkavaa 157 days ago
        Hello, author here. The horizontal blur in the example images was the default one in Krita. I assume it's done in gamma space. There isn't much to do "properly" here since it's supposed to be a fast and loose hack. For example at larger scaling factors (like 5x) it just doesn't look right.
        • viler 157 days ago
          Thanks, good to know. I suppose you could check by trying it on an edge-case, such as a pattern of alternating red and green pixels... on the other hand, the beauty of fast and loose hacks is that they often get you 99% of the way there.

          P.S.: in the "Small World" department, that Cold Dreams screenshot from MobyGames was submitted by me. :) Jeez, 2013...

          • pekkavaa 156 days ago
            I always loved the mood in Cold Dreams. Was way too difficult for me back then though :) Now that I look at it, its style looks like Bitmap Brothers ripoff, hehe. I'm so grateful that MobyGames serves clean PNG screenshots I can use. And of course that people take the time to submit them!
lists | rss | source
Search:
Two Stop Bits is a discussion web site about retro computing and gaming.