how do I get rid of pixel artifacts when going full screen

milk

Veteran
Veteran
Joined
Oct 18, 2015
Messages
44
Reaction score
45
First Language
english
Primarily Uses
from what I understand I need to double the resolution exactly (im using the default resolution) to keep my pixels crisp and artifact free. at the moment when I full screen my sprites look like this. now, I'm thinking maybe it's just my laptop resolution making it weird, it's 1366x768, i just tested changing my games resolution to half of that ( 683x384) and it looks perfect at full screen now, however that resolution is too small for my tastes so I would like to stick with the default 816x624. I'm not sure how I can fix this issue and also take into account other peoples screen resolutions(including mine because 816x624 doubled would be too large for my laptop screen). I'm really confused and this issue has been bothering me since I started making my game so I hope I can get some help.  
 

Attachments

  • Screenshot (262).png
    Screenshot (262).png
    10.9 KB · Views: 120

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,699
Reaction score
940
First Language
English
Primarily Uses
N/A
Sounds like the solution for you would be to disable sprite smoothing so that hard edges are preserved. You'd either need to edit the code directly, or use a plugin that disables that for you.


The easiest solution would be something like this:


/*:
* @author Zalerinian
* @help
* This plugin disables sprite smoothing for ALL IMAGES by default.
* To make a particular image smooth again, you'd need to set the bitmap's
* smooth property to true (Make sure it's the bitmap, not the sprite).
*/

(function() {
var IM_loadBitmap = ImageManager.loadBitmap;
ImageManager.loadBitmap = function(folder, file, hue, smooth) {
return IM_loadBitmap.call(this, folder, file, hue, false);
}
})();




Please Note: The above code is untested.
 

milk

Veteran
Veteran
Joined
Oct 18, 2015
Messages
44
Reaction score
45
First Language
english
Primarily Uses
I tried that and all it does is add a black border around the screen when I full screen, the resolution stays the same. its better than the pixels being all stretched and crazy looking but if possible I would like to find a solution to actually making it larger when it full screens, minus the artifacts. If I can't figure out how to fix this in rpg maker I'm considering switching to game maker, as i've read you can change the aspect ratio to get the full screen looking smooth and perfect (like in undertale, the full screen on that looks flawless)
 
Last edited by a moderator:

milk

Veteran
Veteran
Joined
Oct 18, 2015
Messages
44
Reaction score
45
First Language
english
Primarily Uses
thank you but it doesn't seem to have any effect, I'm also not using parallax backgrounds at the moment though
 

Latest Threads

Latest Posts

Latest Profile Posts

Who's a fan of firearms? The 5 on the bottom row (not including the green laser ones) I made pretty recently. I plan for most of these to be in my project.

Screenshot 2021-09-28 165924.png
Doing RPG Maker News for 28th September 2021

RMMV - Skip script errors:

For game developer testing purposes.
You know, I really get to farm likes since I post all of @Avery and @hiddenone 's blog tutorials on the forums...
Back from a very long hiatus with a new project woo
This is my battler placeholder image trying out art styles too I want to fake a backview battle system
I think I will want portraits and battle sprites to be 2D and stick to pixel art for overworld not 100%sure but pretty sure its easier to make pixel art for overworld sprites, events and maps and stuff.
Placeholder.png

Forum statistics

Threads
115,441
Messages
1,089,947
Members
150,226
Latest member
Reyeskhalifa32
Top