Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (527)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Slick2D : Incorrect sub pixel rendering on: 2013-09-18 10:13:08
thank you! i searched on the internet about mipmapping (and also joined the lwjgl irc channel :3) and now i solved the problem Cheesy though now i discovered that i also have tile bleeding issuses. however i think i should be able to find a solution for that by myself :3 thank you again.
2  Java Game APIs & Engines / Engines, Libraries and Tools / Slick2D : Incorrect sub pixel rendering on: 2013-09-17 17:53:09
Hello there. it's a long while since i started searching cause and solution of this problem. That said, even searching on this forum, i couldn't find anything. heck, i am struggling on even finding a definition of the problem! xD

So, let me explain. I got a game where the scene can be zoomed in/out.

so i scale the scene. and the sprites ( and all the things drawn with Graphics) go bananas.

here's an example on a sprite placeholder for the floor tiles

https://www.dropbox.com/s/05878bt489tda19/flicker-1.png

and here's the result when i render it, after i zoomed out

https://www.dropbox.com/s/p1yumjqzt3c0uaf/flicker-2.png

of course when the camera moves it's even more horrible T_T

the problem happens with both i methods i know to scale images/things into slick2d:

-g.scale(f1,f2) on the rendering block;
-calculating position and size of the game entities relative to the zooming value ( we used this because we did not know about the g.scale feature);

i hoped the problem was caused by our code, but since even the first method causes the same problem, i am clueless :\

yes, i already tried to disable/enable vSynch. yes, i already tried enabling/disabling anti aliasing. and yes, i even tried setFilter(Image.FILTER_NEAREST).

i would even be ok with knowing the definition of this glitch, if it has any Tongue thank you for your patience on reading this and eventually freeing me from the frustration of this problem Cheesy
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

PocketCrafter7 (14 views)
2014-11-28 16:25:35

PocketCrafter7 (9 views)
2014-11-28 16:25:09

PocketCrafter7 (10 views)
2014-11-28 16:24:29

toopeicgaming1999 (76 views)
2014-11-26 15:22:04

toopeicgaming1999 (67 views)
2014-11-26 15:20:36

toopeicgaming1999 (16 views)
2014-11-26 15:20:08

SHC (30 views)
2014-11-25 12:00:59

SHC (28 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (28 views)
2014-11-24 19:59:16
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!