Skip to main content
GameDev.net gamedev.net
🔒 Locked

Pixel Visual Programming

Started by #Euphoria May 6, 2017 at 10:43 PM 4 replies 2.6k views
Original Post
#Euphoria
#Euphoria

What is going on that makes pixel games not viewed too small ?

Are the pixels enlarged by the artist scaling the images or is the programmer doing something like using a camera to zoom in on the entire map ?

Here's two examples that I want to know. I'm more interested on what went on with Hyper Light Drifter, because it was made using Game Maker.

[attachment=35829:VDSSw.jpg]

[attachment=35830:enter-the-gungeon-5.jpg]

Fredericvo
Fredericvo
I don't understand your question. Do you mean how do you zoom an image without pixelating it?
Auskennfuchs
Auskennfuchs

You can achieve this effect with many different ways

- draw bigger images -> waste of memory, but more details possible or mixing pixelated and highres images

- draw on a smaller texture and then draw this texture on a bigger quad -> need some math for ratio calculations, picking,...

- zoom in with matrixparameters in orthogonal projection -> probably the most common technique

Make sure to not use any filtering for your texture sampling or you get a blurry instead of pixelated output

FrankEnCode
FrankEnCode

With Direct3D, you can also just change the resolution of the display buffer/viewport.

Your monitor might display a square with multiple pixels, but the image itself could be just one pixel occupying a single 'pixel' in the back buffer (for example).

Lecturer and semi-domesticated Code-Panda for Polygon College
frob
frob

There are several algorithms used to upscale pixel images, and even to depixelate them. Wikipedia has a long list to choose from, and that list is incomplete.

The result is generally far better than simple bilinear scaling or 2x scaling.

#Euphoria
#Euphoria

yes to Frederic question and thank you all

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.