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 - Geheim

Pages: 1 2 [3] 4 5 ... 14
31
Graphics / Re: Blinking screen when using massive view.move ?
« on: August 10, 2015, 10:37:08 pm »
Ah thats a shame. Have you let others compile your project to see if they also get the blinking? You could also give a minimal and complete example so we could try it too.

32
Besides the weird main.h file, you lack some important fundamental C++ knowledge. Before you can use the function, you have to make an instance of your class and call the function then for that instance. Also in your pong game it would be a better choice to make a Paddle instead of a Paddles class and make one instance per player. (For reasons that should be clear after you progress further).

Read up on classes (and other basic C++ topics), they are so important and crucial in most projects, you don't want to miss them :)

33
Graphics / Re: Blinking screen when using massive view.move ?
« on: August 10, 2015, 08:50:31 pm »
Those lines are because you also have zooming, which results in a floating view scale. Try to find some reasonable bounds to round the scaling to just a few decimals. I once tried several different "zoom factors" to get few decimal floating values. It worked for almost every zoom, except a few (which were always the same values like .375 for instance). Rounding them to let's say .370 or .380 did the trick then for those in my project.

Try to get "good floating values" for your scale and then you can test which values do not work and change them a little bit until the lines are gone. It's a bit tedious and the problem does not occur for everyone, but thats the best solution I know of.

PS: With lines I mean your blinking  ::) (for me it was white lines, but that should be the same problem)

34
General discussions / Re: Building SFML for Visual Studio 2015
« on: August 10, 2015, 09:38:51 am »
The nightly builds for VS 2015RC work just fine with the community version of VS 2015, without compiling anything yourself. Thanks to eXpl0it3r, to keep them updated!

35
So what do have so far then? We can't guess how you implemented your stuff, and without any code or a specific question, you won't get any answer.

36
Graphics / Re: Blinking screen when using massive view.move ?
« on: August 09, 2015, 10:49:57 pm »
Also, Sometimes, the view moves even after I release the button.
That is because you set wheelPressed to true, no matter what mouse button was pressed, but set it to false only when the middle button was released. (Just use {} at your 1st if)

And for your blinking, that is most likely because of the floating position. Try to round the position of your view before rendering, so you don't end up with a position of half a pixel or similar.

37
SFML game jam / Re: 4th SFML Game Jam Announced
« on: May 15, 2015, 04:20:02 pm »
Great, good luck to every participant and have fun.
Looking forward to your ideas  :)

38
General / Re: Youtube increases framerate? (!)
« on: May 08, 2015, 05:38:32 pm »
I have had a similar issue with some older versions of SFML.
If nothing else than my game was open, it locked the frames at around 30, but as soon as I startet Google Chrome it was smooth again. Sometimes I have some weird performance issues with "low intense games", which normally run on every crappy computer.

Must be something with the computer itself, however I never figured out what causes the problem.

39
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: March 26, 2015, 12:52:15 pm »
It really is great to see the progression of this game.
Keep going and surprise us again in the next update!

40
SFML game jam / Re: 4th SFML Game Jam 20. - 22.02?
« on: February 20, 2015, 05:08:06 pm »
Thanks anyway eXpl0it3r, for trying to give us a nice jam  ;)

41
SFML game jam / Re: 4th SFML Game Jam
« on: February 19, 2015, 03:04:55 pm »
I also vote for later so more people have the chance to participate

42
Window / Re: Problems with keeping checking if button is pressed.
« on: February 18, 2015, 02:22:09 pm »
If you use bools for this you would need a bool for each key, because if you just use one bool for all, it stays true as long as any key is pressed.

I suggest using events like AlexAUT already showed you. Especially because it seems you are trying to implement a text field to enter something. Take a look at the text entered event.

43
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: February 14, 2015, 08:32:46 pm »
This looks amazing, great job to your artist, the graphics are great. I also really like the new background music!

Keep up the work

44
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: December 21, 2014, 01:16:34 pm »
Great to see the project progressing in this way, the graphics evolve in a good way too, keep it up!

45
General / Re: Curious about a bugfix
« on: October 08, 2014, 04:37:33 pm »
Alright this makes sence to me, thank you!

Pages: 1 2 [3] 4 5 ... 14
anything