Unity 3D - Achieving Pixel Perfection / Virtual Resolution for 2D Pixel Art Games

  Рет қаралды 41,651

GucioDevs

GucioDevs

Күн бұрын

This fixes problems like uneven pixels, pixel bleeding and other related problems. Also adds a nice retro feel to your game.
Script (thanks to / wtfmig):
drive.google.com/file/d/0B0os...
List of 16:9 resolutions:
pacoup.com/2011/06/12/list-of...
♥ Become a Patron!: / guciodevs
♥ Twitter: / guciodevs

Пікірлер: 66
@notsoren665
@notsoren665 7 жыл бұрын
twitter.com/wtfmig made it
@Jeep-vd6pd
@Jeep-vd6pd 7 жыл бұрын
funny thing, im just studying pixel art right now, after like 2 years. this video is very useful for me, thank you!
@WTFMIG
@WTFMIG 6 жыл бұрын
Oh hey I made this lol. I stopped using this method because having a second camera and a 2x1 rendertexture lets you have more dynamic resolutions and not be locked in to an aspect ratio. It can still be automated with code as well
@laissez-faire496
@laissez-faire496 6 жыл бұрын
So what method do u use?...Do u use the other method that GucioDevs made a tutorial on?
@mechaqueen7372
@mechaqueen7372 3 жыл бұрын
Can we use this in our games 😗
@matthewconnolly3896
@matthewconnolly3896 6 жыл бұрын
Thank you GucioDevs, very cool!
@jodybam6200
@jodybam6200 6 жыл бұрын
Honestly bro this is awesome.
@Justin-cu7so
@Justin-cu7so 7 жыл бұрын
SO MUCH TALENT!!!!
@DrengenAlex
@DrengenAlex 7 жыл бұрын
I'm doing fine, thank you for asking :)
@GrimfaithStudio
@GrimfaithStudio 7 жыл бұрын
Nice and thank you ! :)
@Max29847
@Max29847 4 жыл бұрын
This helped me alot thanks
@GuillemPoy
@GuillemPoy 6 жыл бұрын
¿Which one of both of your videos are better for to achieve pixel perfect?
@torryjaja
@torryjaja 7 жыл бұрын
Thanx man
@abalorias333
@abalorias333 2 жыл бұрын
Hello there! I think this is probably best solution for some situations. Is there an updated link for the script? I want to use it for background effects
@sleepyoliv
@sleepyoliv 5 жыл бұрын
awesome! thank's :-)
@RobertoMartinez-pz7im
@RobertoMartinez-pz7im 6 жыл бұрын
Thanks.
@salvadortopete7062
@salvadortopete7062 7 жыл бұрын
yea ..is great!
@quett
@quett 6 жыл бұрын
gemme that wallpaper please
@andylee582
@andylee582 7 жыл бұрын
Does patreon give you the latest submarino builds?
@GucioDevs
@GucioDevs 7 жыл бұрын
+Andy Lee yeah, I'll continously be putting up builds when something interesting gets added to the game.
@andylee582
@andylee582 7 жыл бұрын
So I support you on patreon, how do I get the build btw?
@GucioDevs
@GucioDevs 7 жыл бұрын
Thanks for the support
@Givemeapplez
@Givemeapplez 6 жыл бұрын
I got this error: ArgumentException: RenderTextureDesc height must be greater than zero. Parameter name: desc.height please help...
@sixthsurge
@sixthsurge 6 жыл бұрын
Givemeapplez Are you sure you're on the latest Unity version?
@Skellens
@Skellens 4 жыл бұрын
Nice
@zydeas
@zydeas 7 жыл бұрын
The only issue I have with this is that you have to have objects at a very large scale, and unity units are usually supposed to be 1 meter. Does this cause any issues?
@GucioDevs
@GucioDevs 7 жыл бұрын
It shouldn't cause any issues. The only issue you might stumble upon is that the gravity is pretty weak. You can change that in Edit > Project Settings > Physics 2D. Try fiddling around with the gravity parameter :)
@beaverjoe9171
@beaverjoe9171 4 жыл бұрын
I realize when I disable it.....Very nice
@pavah7026
@pavah7026 6 жыл бұрын
If I use the screen/aspect resolution 1920 x 1080 it fails, but If I use 192 x 108 everything works fine, why is that? EDIT: When I fill in 1920 and 1080, the view get's zoomed out alot so it looks like the script ain't working but it works.
@laissez-faire496
@laissez-faire496 6 жыл бұрын
Is it possible to convert the script from C# to python? Cause I use Blender Game Engine
@daveb7596
@daveb7596 6 жыл бұрын
yeah its impossible. as blender is not unity. and this script uses unity api. what you can do is. you can google a pixel image effect for blender
5 жыл бұрын
your voice is so diffirent !
@ezequielramirez1858
@ezequielramirez1858 6 жыл бұрын
u are my god, thank you, all praise this channel
@arvin7334
@arvin7334 6 жыл бұрын
This is awesome! but hey, could you make a tutorial on how you made that in-game color theming system in submarino? That would be pretty cool.
@LunaticEdit
@LunaticEdit 10 ай бұрын
Hehe 16:9, try 21:9, and this absolutely won't work on ultrawides, but it's pretty trivial to fix if you start with that script and I know this is an old video.
@Nero-hi3zf
@Nero-hi3zf 5 жыл бұрын
I'm coming from Godot. It's nice to see Unity being suited for Pixel Art as well.
@presauced
@presauced 3 жыл бұрын
can you do this in godot too?
@Nero-hi3zf
@Nero-hi3zf 3 жыл бұрын
@@presauced Yes, of course! I just don't know if you can program the Camera2D node in a similar way. I'd probably use a shader if I wanted to achieve this effect in Godot...
@presauced
@presauced 3 жыл бұрын
@@Nero-hi3zf wait, how do you do that?
@Nero-hi3zf
@Nero-hi3zf 3 жыл бұрын
@@presauced I'd solve it with Post-Processing in Godot. Do as they say here ( docs.godotengine.org/en/stable/tutorials/viewports/custom_postprocessing.html ) and load your World/Level as a child of the Viewport-Node. You will need this, it's basically a GLSL Pixelation Shader. Add it as a material to the ViewportContainer-Node: // START CODE shader_type canvas_item; void fragment() { float Pixels = 2048.0; float dx = 10.0 * (1.0 / Pixels); float dy = 10.0 * (1.0 / Pixels); vec2 Coord = vec2(dx * floor(SCREEN_UV.x / dx), dy * floor(SCREEN_UV.y / dy)); COLOR = texture(TEXTURE, Coord); } // END CODE This should cause the same behavior if you set up the values correctly...
@presauced
@presauced 3 жыл бұрын
@@Nero-hi3zf sorry for being late, well thank you! very much thanks
@play4fun599
@play4fun599 5 жыл бұрын
When you said about 1 pixel per unit I stoped wacth this video, because it is not allowed for any game with physics
@Hitbox_unKnown
@Hitbox_unKnown 4 жыл бұрын
Same, I'm looking for a real fix to the problem, not some niche workaround that limit's my game.
@joaoandrea.1954
@joaoandrea.1954 4 жыл бұрын
this fucking thing is fucking sick bro thx a lot
@presauced
@presauced 3 жыл бұрын
how to do this on godot
@TamalPlays
@TamalPlays 7 жыл бұрын
Where can I get that wallpaper?
@GucioDevs
@GucioDevs 7 жыл бұрын
Here it is: i.redd.it/jasnbiyat3vy.png
@TamalPlays
@TamalPlays 7 жыл бұрын
thanks for thae wallpaper and the script also.
@jumpyjacko
@jumpyjacko 6 жыл бұрын
lol i wanted it too XD then I saw this comment
@fahrettinyldz2852
@fahrettinyldz2852 2 жыл бұрын
I cannot access the script. Can you help?
@xmrfinlandx8110
@xmrfinlandx8110 7 ай бұрын
did you get access?
@Fahnder99
@Fahnder99 6 жыл бұрын
pixel boy is gold - even if you don't use it for production.
@xXlonchezXx
@xXlonchezXx 7 жыл бұрын
wow regalame el wallpaper!!! porfa
@pabubayshow4512
@pabubayshow4512 7 жыл бұрын
первый
@DrengenAlex
@DrengenAlex 7 жыл бұрын
Greetings Gucio! I am debating with myself whether or not to become and sponsor on Patreon, however, there is no tier for patrons donating more than $100! If you post a physique update where you show me your young body I will donate many money and I might be able to give you some advice on shredding those last pounds around the mid-section. But alas, I'm babbling - Cheerio!
@customanimation4u
@customanimation4u 7 жыл бұрын
ur a terrible person; loser
@customanimation4u
@customanimation4u 7 жыл бұрын
everyone report this guy..you tube only needs a few more reports
2D Drop Shadow Effect Using Sprites in Unity 3D - Tutorial
10:46
I Made the Scariest Game Ever
10:13
BadGameDev
Рет қаралды 279 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 64 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 15 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 32 МЛН
Pixel Perfect Lights and Particles in Unity! (Tutorial)
8:52
Upgrading The Graphics And Terrain In My Survival Game!
10:22
Sam Davis
Рет қаралды 3,3 М.
What size should your assets be? | HD 2D GAME ART
12:10
Nonsensical 2D
Рет қаралды 109 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 513 М.
The Trick I Used to Make Combat Fun! | Devlog
8:12
Game Endeavor
Рет қаралды 1,6 МЛН
The Ultimate Pixel Art Tutorial
14:15
Saultoons
Рет қаралды 1,4 МЛН
Unity Pixel Art Game Tutorial - Complete Starting Setup
51:44
Restful Coder
Рет қаралды 136 М.
How To Make Game Art
22:34
Saultoons
Рет қаралды 183 М.
What Size is Pixel Art? (Intro to Sprite and Canvas Size)
8:35
Brandon James Greer
Рет қаралды 951 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,4 МЛН
ЧТО-ТО НА ГРУСТНОМ ► The End of You
23:02
Kuplinov ► Play
Рет қаралды 612 М.
БИТВА за ДОНАТ 3000 ГЕМОВ В BRAWL STARS
17:05
Поззи
Рет қаралды 360 М.