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

Pages: [1]
1
DotNet / SFML and clipboard
« on: February 02, 2014, 09:59:51 pm »
Hi guys!

I have a problem with the work of the clipboard.

Said further code, according to the tests, indicating that the clipboard contains an empty string. That is, the two conditions return true.

What could be the problem?

add_str(Clipboard.GetText());
if (Clipboard.GetText() == "") add_str("22");
if (Clipboard.GetDataObject() == null) add_str("222");

(add_str(string str) - a function for adding text to the screen, for tests)

2
DotNet / Stereo sound
« on: January 05, 2014, 07:24:49 pm »
Hi!
How do I get surround sound and changing panorama?

I set Listener:
Listener.Position = new Vector3f(0.0f, 0.0f, 0.0f);
Listener.Direction = new Vector3f(0.0f, 0.0f, -1.0f);
Listener.GlobalVolume = 100.0f;

I set Sound: (soundbuffer have a 2 channel)
sound = new Sound(snd_shot_m249);
sound.RelativeToListener = false;
sound.Position = new Vector3f(0.0f, 0.0f, 0.0f);
sound.MinDistance = 5.0f;
sound.Attenuation = 10.0f;
sound.Play();

But when the position changes nothing sound - the sound still comes from the center of the panorama.

I think the problem may be in the audio file. Please help to solve this problem.

3
DotNet / How to compile a project with SFML.NET under Ubuntu?
« on: August 24, 2013, 02:28:35 pm »
Hello everyone.

I have a few questions about moving my games from Windows on Linux. Can you tell me how to do it?

Do I need a Linux distribution to compile the project under it? For example, the same Unity3D successfully compiles the Linux-projects of under Windows.

I've heard that you will need some way to change the DLL in SO. How can this be done?

Simply, I never contacted Unix-platform and it is for me very difficult. Can you tell us about that?

And then how to distribute my game? To require the player to download a deb-package with my game and the necessary files, such as Mono Runtime or something.

Pages: [1]
anything