31
Window / Dual Monitor
« on: September 22, 2009, 04:20:46 am »
Does SFML support dual monitor displays? I'm not sure as to how I would create a sf::renderwindow for a dual monitor setup. Any helps/links/tips would be great, thank you
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.
Nexus, I appreciate the feedback and the help tidying up the header but relax on the hostility in your criticism. Maybe im just reading this the wrong way but im just trying to help people out here. I'm not pretending to be some kind of guru here I only started programming period about 2 years ago. I'm just trying to contribute something to SFML if I can since its being given to us for free.
Also the reason why I believed passing by reference was faster was due to my assumption that a reference would be passed as a pointer is ( 4 byte object ). I'm apparently wrong and I appreciate it being pointed out.
The changes are all in now, including a fix to the 2d cross product that was offbase.
My personal opinion is that Open Source is the only way software should be written as. That's radical, yep.
However, it's really noticeable that artists have a completely different opionion about this. Have you seen often that artists give away their Photoshop project files or similar?
Don't get me wrong, it's absolutely okay, since everybody can and should decide on their own. But it's just interesting that the behaviour differs a lot in different areas.
When we take "Planeshift" (a free MMORPG) as an example, I personally don't like the licensing: Code is GPLed, game content is proprietary. I mean with what reason? Code is under no circumstances less valuable than any other content, so why such a licensing?
It's not a wonder that newbie artists will get into hard times when trying to learn their craft. There's very less to learn from. As a programmer you go to kernel.org or whatever Open Source library, program or game(!). Game graphics and content could be so much better if that sector was more open.
My 2ct.
/////////////////////////////////////////////////
/// Place sprite positions (background)
Background[0].SetPosition(0.f, 0.f);
Background[1].SetPosition(300.f, 0.f);
Background[2].SetPosition(600.f, 0.f);
Background[3].SetPosition(900.f, 0.f);
Background[4].SetPosition(0.f, 300.f);
Background[5].SetPosition(0.f, 600.f);
Background[6].SetPosition(0.f, 900.f);
Background[7].SetPosition(300.f, 300.f);
Background[8].SetPosition(600.f, 600.f);
Background[9].SetPosition(900.f, 900.f);
Background[10].SetPosition(600.f, 300.f);
Background[11].SetPosition(900.f, 300.f);
Background[12].SetPosition(900.f, 600.f);
Background[13].SetPosition(300.f, 600.f);
Background[14].SetPosition(300.f, 900.f);
Background[15].SetPosition(600.f, 900.f);
/////////////////////////////////////////////////