Screen Tearing

Non-platform specific questions.

Screen Tearing

Postby rudyj » Sun Jan 25, 2009 11:48 pm

Everyone,

I just bought GE on Friday and love it. I am working on my first game and when I run it in game mode it is not crisp. I basically have a object moving across the screen like in space invades and it is glitcy. Is there anything that I need to do to smooth this out?

Regards from a 3 day newbie.

My computer has plenty of power I just know I am missing something simple. Running XP nvidia video card dual core 2gigs of ram.
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby jimmynewguy » Mon Jan 26, 2009 12:19 am

can we see the GED to see what is really going on? thnx in advance :D
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Screen Tearing

Postby rudyj » Tue Jan 27, 2009 12:33 am

I have a couple simple circles going across the screen and it jumps like in 3 places across the screen. Tested on multiple computers still no joy. I have worked in blitzbasic and I had to do something with vsync but I have no ideal on how to achieve smooth movement in GE. I am planning on only creating my games for the pc so I would like to use at least 800 * 600.
Attachments
testscreentear.zip
(10.3 KiB) Downloaded 90 times
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby skydereign » Tue Jan 27, 2009 1:14 am

You can increase the frames per second in Config->Game Properties. Make sure to lower your actors speed accordingly.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Screen Tearing

Postby rudyj » Tue Jan 27, 2009 2:09 am

I increased the game properties to 80 fps and that has fixed it. Is that really the best fix?
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby skydereign » Tue Jan 27, 2009 3:23 am

That I know of. There was another post on this, but I did not find it helpful. They were discussing the width of the sprites and how movement should be done in multiples of the width.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Screen Tearing

Postby rudyj » Tue Jan 27, 2009 4:23 am

Well bad news its fine on my laptop but the bug still exist on my desktop.
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing More Lag

Postby rudyj » Tue Jan 27, 2009 5:58 am

Ok, day 4 bytes. But there is no way I am going to give up. Please take a look I can not even make one small actor move smoothly. I know it is simple.

Thanks,

Rudy
Attachments
lag.zip
(18.11 KiB) Downloaded 77 times
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby skydereign » Tue Jan 27, 2009 6:49 am

Is that the right data folder? It won't load because it is asking for a ttf.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Screen Tearing

Postby rudyj » Wed Jan 28, 2009 2:00 am

Sorry about that. Here is the correct one
Attachments
lag.zip
(3.19 KiB) Downloaded 83 times
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby rudyj » Wed Jan 28, 2009 4:26 am

I am pretty ticked off to be honest but will not give up because there is no way GE could be released with this bug! I hope I did not waste 93 bones. I do not want so sound sour but I just am trying to make a actor go across the screen like space invaders and it's performance is not acceptable for selling a game. There has to be a way to sync framerate. Hopefully someone will have a answer.

I tried not using a graphic to rule out my file.

Tested on multiple computers

Maybe GE is only for cell phones which is really a bummer.
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby makslane » Wed Jan 28, 2009 11:33 am

I've seen the game test and, yes, is a very ugly bug.
By setting the game to Full Screen mode, the results are better, but not perfect.

I've created a ticket at:
http://code.game-editor.com/ticket/13

Any help to solve this bug will be welcome.

Please, If you want your money back, just send me a PM.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Screen Tearing

Postby DST » Thu Jan 29, 2009 4:00 am

I've never had this problem before, but your laggy.ged did tear badly, like you said.
I have 1.5 g ram and running an ATI x1050, and I always use 60 fps for games.

See if these instructions will help you, as they eliminated the screen tear for me at 60 fps.

Open the laggy.ged.

Create a new actor. Load a graphic for it. On the normal/infinite tab set it to xinfinite.

Give it a createactor>script editor:

xvelocity=-6;

or whatever number you want, but make sure it is faster than laggy's speed.

Now try it.
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: Screen Tearing

Postby rudyj » Tue Feb 03, 2009 1:20 am

I gave that a try but it produces a enemy that last forever. One thing that I did notice is when I showed the game to some of my testers it seemed much faster on their computers but still has the jitters. Mak when you take a look at the problem I think it might have something to do if the client is at 16 bit or 32 bit. I can much better speed when I set it to 16 bit but it is still not acceptable for selling a game.
rudyj
 
Posts: 17
Joined: Tue Jan 20, 2009 4:46 am
Score: 0 Give a positive score

Re: Screen Tearing

Postby Game A Gogo » Wed Feb 04, 2009 11:13 am

Oddly... I don't find it choppy at all, just a very little skipping, but that's normal because the eye can see 70fps and the game is at 60fps.
When I set the FPS at 70, it was smooth, perhaps you should do the same?

And on a note: I don't have a strong computer at all...
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron