Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (762)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (846)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Blurry background motion  (Read 2477 times)
0 Members and 1 Guest are viewing this topic.
Offline magemog

Senior Newbie




Jaded Samurai


« Posted 2006-02-07 07:45:44 »

I have a 2d side scroller, and it seems that when the background is dark / uncomplicated there is no problem. When I move to a brighter and more complicated background however, the scrolling seems weird. Either it's glitching or maybe it's just a bad choice for a background.

At the moment I'm updating by using Timer.scheduleAtFixedRate, which on it's own might be a bad way of doing things. The "problem" with the background got slightly better when I updated more often... but that won't fly because that slows everything else down ( I need two windows open while I can test the multiplayer aspects ) And even then it still looks too blury when in motion.

Anyhow you can take a look here: www.homph.com/VampireHack.jar

The background off to the right with the trees is what is bothering me... nevermind the flying inactive second player  Tongue

Hmm... sounds vaguely familiar... yeah
Offline Ask_Hjorth_Larsen

Junior Devvie




Java games rock!


« Reply #1 - Posted 2006-02-07 21:48:42 »

So the problem would not be visible on a screen shot? If it would, I recommend posting one.
Offline magemog

Senior Newbie




Jaded Samurai


« Reply #2 - Posted 2006-02-07 22:12:10 »

It sort of looks like I should be able to get a screen shot of it, but despite my many attempts I just got clean pictures. I tried video capture but with both programs open at the same time it was too choppy to really show anything.

Hmm... sounds vaguely familiar... yeah
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ask_Hjorth_Larsen

Junior Devvie




Java games rock!


« Reply #3 - Posted 2006-02-08 01:38:19 »

Hmm okay. If the 'blur' means that things can briefly appear as duplicates close to each other it might be caused by the scrolling operation taking place from another thread than the rendering operation.
Offline magemog

Senior Newbie




Jaded Samurai


« Reply #4 - Posted 2006-02-08 01:58:13 »

Nah, they're in the same thread. If you can't / won't look at the .jar in my first post I'm pretty sure that you won't be able to get what exactly is going on... I'll give you a screenshot so you can look at the background... it could just be the complexity of it that's making it look weird in motion.



mmh flying "cactuses"

Hmm... sounds vaguely familiar... yeah
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #5 - Posted 2006-02-08 12:11:18 »

When I tried it, it looked fine.  Are you doing it on an LCD screen?  I have seen some LCD screens blur motion.

Offline magemog

Senior Newbie




Jaded Samurai


« Reply #6 - Posted 2006-02-08 21:14:24 »

Oh, yeah it's LCD. I guess I should go try it out for myself if I can find a non LCD in one of the labs here, thanks.

Hmm... sounds vaguely familiar... yeah
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #7 - Posted 2006-02-09 00:01:24 »

I agree, sounds like you are talking about the persistence of the display, nothing to do with the code or the signal coming out of the graphics card, just physical properties of the screen you are viewing on.

Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (360 views)
2018-06-10 19:43:48

EgonOlsen (361 views)
2018-06-10 19:43:44

EgonOlsen (299 views)
2018-06-10 19:43:20

DesertCoockie (534 views)
2018-05-13 18:23:11

nelsongames (859 views)
2018-04-24 18:15:36

nelsongames (842 views)
2018-04-24 18:14:32

ivj94 (1287 views)
2018-03-24 14:47:39

ivj94 (412 views)
2018-03-24 14:46:31

ivj94 (1076 views)
2018-03-24 14:43:53

Solater (424 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!