Weird sprite rendering issues on different computers

48 views
Skip to first unread message

puggsoy

unread,
Jan 15, 2015, 6:17:09 AM1/15/15
to haxef...@googlegroups.com
I'm working on a game with a team of people. One of them said that recently the sprites have been looking "muddy" to them, sort of what you would expect if you scaled the sprites a little bit. However, for me it looks fine as it should, with crisp sprites. We're both on the same Flixel version, and even when he sends me his build it still renders fine for me.

At first we thought it might be somehow related to the operating system; he runs Windows 7 while I use Windows 8.1. However, I tested it on two computers belonging to family members, one with Windows 7 and another with Windows 8.1. These both produced issues, although the 8.1 computer showed more serious "muddiness".

Anybody know what might be causing this? My colleague has said that when setting the game's zoom level to 0.99792 makes them look fine, and when I do that it simply misaligns my sprites. This is on Neko by the way.

Andrei Regiani

unread,
Jan 15, 2015, 8:49:18 AM1/15/15
to haxef...@googlegroups.com
Try this:

FlxG.camera.pixelPerfectRender = false;
// FlxG.fixedTimestep = false; // not render, but better for smooth movements (high res games)
FlxG.camera.antialiasing = true;

puggsoy

unread,
Jan 15, 2015, 10:49:15 PM1/15/15
to haxef...@googlegroups.com
The art in this game is pixel art so anti-aliasing is undesireable. Setting pixelPerfectRender to false also misaligns some sprites, unfortunately.

puggsoy

unread,
Jan 17, 2015, 3:10:26 AM1/17/15
to haxef...@googlegroups.com
Nevermind, we were using OpenFL 2.2.1. Updating OpenFL fixed the issue.
Reply all
Reply to author
Forward
0 new messages