Wiz - screen tearing

Previous topic - Next topic

fjsantosb

Your game looks really great!
True old school graphics!

King Regards, fjsantos.
Francisco Santos Belmonte founder of Tip Tap Games.
Website: www.tiptapgames.com
Twitter: www.twitter.com/tiptapgames
Facebook: http://dld.bz/dYVd
iPhone News & Sales: www.gamesappetizer.com

Hatonastick

Quote from: Ian Price on 2009-Dec-12
Here's a WIP screenie of the game I'm running on Wiz



Nothing too complex. Even with lots of snow it ran at 60FPS.
Mate, I always love your work. :)

So, where's the iPod version?  =D

Kitty Hello

Excellent grphics. I'll add an inline command so you can switch to what you need. I default to the quicker one then.

Ian Price

Thanks fjsantos, hatonastick and Gernot :)
I came. I saw. I played.

Kitty Hello

OK, I flipped the loop and now it's faster. I get 200 FPS when I'm in tearing mode, and 151 FPS when I'm in the smooth mode. (Just drawing the FPS, nothing more)
I've implemented a method to toggle for you. I'm just waiting until I can wait for vblank to make it even smoother. Who needs > 60 FPS.

Ian Price

Sounds good to me :)
I came. I saw. I played.

Kitty Hello

I made a quick update w/o the vblank. You can try and see if it fits you.

Ian Price

At work at the mo, but will try later.

Fingers crossed :D
I came. I saw. I played.

Ian Price

Sorry for the double post, but this deserves to be more than an edit to the post above.

This seems to be working pretty well now gernot :)

I'm getting 55FPS with no tearing, although I could probably optimise to get a full 60FPS :D

There is a slightly odd "jumping" to the scrolling, but it's more acceptable than the tearing. Maybe that "vblank" as you call it might help with this.

Good job gernot :)
I came. I saw. I played.

Ian Price

I came. I saw. I played.

Hatonastick

#25
He may know about it if the 'KungPhoo' mentioned is Gernot's KungPhoo. :)

Edit:  Sorry, I sound like I'm being a smarta**.  I didn't mean it like that.

Kitty Hello

oh. Did I improve SDL now? :D

Hatonastick

#27
So that's another Kungphoo is it? :)  I could have sworn that used to be your ID on Retro Remakes, which is why I thought it was you.  Of course there's a few billion other people in the world so chances that a forum ID might be used by more than one person is probably fairly high.   :S

Ian Price

Nope, same KungPhoo. He's laughing at the credit I presume. 
I came. I saw. I played.

Hatonastick

Ah ok, sorry I must have left my sense of humour in my other body.  Totally went over my head.

Actually I'm not sure why I commented in the first place.  It's not like I've added anything to the conversation.  Sorry about the attempted thread-jack mate.