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.

Topics - eigen

Pages: [1]
Graphics / Very odd rendering issue
« on: February 24, 2015, 11:42:36 am »
One person just reported this bug for Pioneers. This is what their main menu looks like:

Full sized image

This is what it's supposed to look like:

Full sized image

At first they reported similar visual defects but the game crashed on launch. I then asked them to upgrade the video drivers and that solved the crash but the defects remained. I thought this might be a texture rendering issue (npot or what have you) but notice the white window with buttons in it? The white background is just a RectangleShape, so no textures involved.

AMD Radeon HD 7620G + HD 8600M Dual Graphics. Windows 8.1

I'm not able to reproduce it on my machine obviously but I had a fresh install of Win 8 on my other partition and the game also crashed on launch (no defects) until I installed the Nvidia video drivers (it had the default drivers previously, I presume) so why does SFML crash in that situtation?

I have no snippets of code to post because this is not caused by a snippet of code, I'm sure of that.

Does anyone have any idea what might cause such a thing? I can't even describe what's going on ... like all the rows of pixels are there but the columns are all messed up?

edit: This only seems to happen in window mode. In fullscreen everything is fine.

Audio / Slow music loading
« on: October 26, 2012, 06:14:25 pm »
So last night I updated my game on Windows 7 from the SFML 2.0 RC version to the latest git snapshot. Most of it works but now music loading takes forever. Previously I wasn't even noticing the loading screen as it was so brief, but now it takes 10-15 seconds easily. That's unacceptable.

I'm using the openFromFile(); method. As I understand, that doesn't load the whole thing into memory but streams it instead. But if I log each file I see they each take considerable time. It almost feels like they're all read into memory which is odd, as sf::Music wasn't supposed to do that.  What further makes me think that is the case is that longer files take longer to load, which shouldn't be the case with streaming ...

I could post code but I don't see how that helps, it's all very standard. The same code acts differently with different SFML builds.

My music files are OGG.

I'm using this tutorial for building.

Any ideas? Has sf::Music openFromFile been recently twiddled with?

Audio / Fade-in volume problem
« on: September 17, 2012, 12:50:11 pm »

First off, I'm using a version built from git repository a few months ago (I checked the log and the audio files haven't been updated in 6 month so it doesn't matter anyway).

Let me try to explain my issue:

When-ever I play a sound, like a button click or random sfx, it starts out quiet and then fades in. The fade is rather quick (~60-90 ms maybe) but if it's a really short sound (like a button bleep or bloop), then it never reaches the set volume and is basically un-hearable. It happens with longer sounds as well. Also, it happens with musics. I can distincly hear the music starting out quietly.

If I manage to play a sound twice in a row (like double clicking or whatever), then the second time it's played at the right volume but if the previous instance has completed playing when playing again, it's back to un-hearable.

It happens both on Windows (Win 7) and Mac ( 10.8 ). But there's a slight difference: on Windows it works fine when I plug in my earphones. When played trough the speakers, the issue arises. BUT, when I start the game with headphones plugged in and then un-plug them, the speakers work fine. Windows might use different output devices/drivers for each case (I'm not sure) which SFML then picks up on start-up? I have updated my drivers. It's a brand new machine anway, but still. I also have an old XP machine and that works fine. Again, it might be something with the audio drivers/devices.

On Mac it doesn't matter, it's always bugged. I think it was fine on the previous OS version but I'm not sure. It was defintely fine with SFML 1.6.

That's all I can think of right now. It was also broken in the RC version.

Okay, one more thing. On Mac, I tried playing the sounds with the Finder play button thingy on the file icon. It doesn't work. If the sound is longer, it does. VLC also doesn't play anything. But Audacity does. It's almost like if the sound data isn't long enough, it bugs out.

Here are a couple of sound files:

Very short bleep - It's finished before reaching its set volume in SFML

Longer bloop - does reach the volume, but the fade is noticable

One more thing I tried: I added 5 seconds of silence to the end of the first file and then during those 5 seconds, whenever I replayed the sound, it was fine. As soon as the first play ended, the issues was back. It's like it drops the buffer then and has to re-initialize everything on next play.

Graphics / BUG: Fullscreen mode on OS X
« on: June 05, 2012, 01:30:48 pm »
Hi, I seem to be having a problem with running the game in fullscreen on OS X. I just updated to the RC. It used to work, I mean I'm not sure exactly which version but SFML 2.

iMac, early 2009, 1920x1200, NVIDIA GeForce 9400 ... thought I doubt it matters because it used to work and I haven't upgraded the software recently.

How the problem manifests:
Unless I use fullscreen mode in the native resolution, what I see on the screen is the bottom-left section of the whole thing. The section drawn is as large as the resolution I wanted.

I took a screenshot. Sorry it it's too big, I think Macs take a screenshot as large as the screen, not as large as the application resolution. Anyway, I ran it in 960 x 600, which is exactly half of the native one.

(Click to see full size)

Also, the mouse is limited to the upper parts of the screen and I can't move it downwards from where it is. It probably goes up but I can't see that.

So, to cap: I see a 960 x 600 bottom-left section of the whole screen supposedly rendered to a 1920 x 1200 buffer/image/texture.

This is how the whole thing should look like:

(Click to see full size)

SFML projects / PIONEERS
« on: May 20, 2012, 09:37:45 am »

Every journey begins with a single step.

Official Website

Pioneers is a turn-based exploration/adventure RPG where you lead a party of travellers in search of treasure-rich temples, new tribes and ways to go down in history - ways to go beyond the horizon. To achieve all that you complete quests building up your reputation to become a sought out explorer by kings and commoners alike.

You set out promising your father to become someone, to make him proud but not all goes like planned in life, does it? On the way you'll meet many interesting characters, solve challenging puzzles and face all that nature has to offer, be it finding and collecting food and building a shelter to survive harsh winters or facing against a pack of wolves in the densest of forests.

The game is currently very much in progress but check below for playable builds. The game uses only 4 colors. Different seasons have different palettes with different set of colors. As to why, read here.

M e d i a

D o w n l o a d

Latest build (Build 7, February 13 2015)

Download from itch.io

Previous versions:

For older builds see the game's website.

SFML projects / Slide Them Boxes (2d puzzle-game)
« on: February 14, 2012, 09:27:00 am »
Hi, my first post here, which is a good thing, in a sense that I have not needed help on the forum with SFML as its documentation is excellent and the code is self-explanatory :)
Anyway, I wanted to let you know, that I just completed a game. It uses SFML for graphics and sound, and a little bit of libcurl. I like the framework very much, very simple to use and provides enough flexibility. I'm definitely using it for my future projects.

What's it about?

Well, it's kind of an old-school puzzle-game, where you control this little character on screen and he can push or pull colorful boxes. These boxes have to be moved onto a tile of the same color. Do so for all boxes and you complete the level. Sounds simple? Oh, no, not at all. As with games this kind, the further you get, the more difficult levels become. And you'd want to complete the level in as few moves as possible, for the sake of showing off your skill :)

What does it look like?

In a nutshell, like this (click on the thumbnail to see full-size):

Where can I get it?

You can freely get it for Windows and Mac here

What else have you done or what are you working on?

I have a small website, that contains all my past and future projects. You can take a look at it here

That's it I think. Please try it out and let me know what you think :)

Thanks and all the best,

Pages: [1]