Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Eralpb

Pages: [1]
1
General discussions / Background flickering
« on: January 03, 2011, 01:57:03 pm »
Thanks! Activating vertical synchronization seems to solve my problem, but shouldn't double buffering solve that tearing or flickering?

Can anyone explain if that won't take too long. I was closing vsycnh when I was playing or coding games whenever I see that option. So what brings turning that on? Will it work with other computers and what changes should I make if any?
I heard it was for CRT monitors by the way

2
General discussions / Background flickering
« on: January 03, 2011, 12:34:29 pm »
Hello I wonder what could be causing my background to flicker when I move my character & custom view.

I searched for some time and found two things
1)drawing sprites with float coordinates
2)Image may be too big for video card to handle easily

and I am now casting the coordinates to integers and  I tried loading an image like 500*500 but I still have the same issue.

how does it flicker?
borders are like filling this way, take 10 pixels width, fill it from down to up then take 10 pixels more. while the "not yet filled" up parts stay black.
Sorry If I coulnd't explain it well:)

I can't take a screenshot because when I try to take, the game freezes for a moment and borders seem normal in screenshots.

And I don't know which part of my code to post since I have like 15 headers and I can't seem to guess what is causing this.

Thanks :)

3
Graphics / Fading screen in , out
« on: December 07, 2010, 05:52:35 pm »
Hello, I want to ask how I should make my screen fade in or out, I searched and found some examples but they were sprite-specific. I saw postFX effects of SFML but I don't think I can do something continious with them. I mean I have to add one hundred pixel calculation and then I can use it but, I don't want to do that.

And maybe I won't want to be limited with fading in or out. How can I add more complex things? Like whirlwind effect between game states. OR some kind of snake shape moving and thus mixing all the pixels.

Thanks :)


Edit:Oh! What about not clearing the screen, it glanced me right now, I'll try it but last effects I mentioned are still not doable.

Pages: [1]
anything