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

Pages: 1 2 [3] 4 5
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 :)

32
SFML projects / Vector Math Library
« on: September 20, 2009, 12:04:55 am »
Quote from: "RixCoder"
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.


I appreciate you making this for others so that we don't have to do it ourselves. People will always point out your flaws, but you just need to subtract the "criticism" and get the point from their advice. The internet is a weird medium for discussion because you often think someone is being harsh or demeaning when they really aren't. Thanks again :)

33
SFML projects / cpGUI - A new object oriented GUI toolkit based on SFML 1.5
« on: September 14, 2009, 02:56:38 am »
I made a static library out of the current release for use with my game if anyone needs it:

http://blog.gtproductions.org/cpGUI-s.rar

Put includes into /include/ folder and the lib files into /lib/. Remember to add to your linker: cpGUI-s.lib and include into your project with
#include <SFML/cpGUI/cpGUI.h>

34
SFML projects / cpGUI - A new object oriented GUI toolkit based on SFML 1.5
« on: September 12, 2009, 03:10:18 am »
I made a mirror on my website since a lot of people don't like to use those pay2download sites.

http://blog.gtproductions.org/cpGUI_15_4.zip

35
Network / Recuperating IP Address from selector
« on: September 08, 2009, 09:15:39 pm »
Build your own Socket class and derive it from sf::Socket, for both the clientside and serverside

36
SFML projects / [09.11.09] JeZ+Lee's"The Final Option 100%™"SOURCE
« on: September 08, 2009, 09:13:37 pm »
Quote from: "Tank"
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.


So who makes money?

37
Network / Basic Threaded Server?
« on: September 06, 2009, 08:50:08 pm »
Starting a new thread for each client will waste a TON of resources. I haven't used the network library yet but im assuming its using asynchronous sockets which means you could setup a thread pool and when stuff is recieved send it off to an unused thread.

38
Graphics / Game question
« on: September 06, 2009, 07:20:52 pm »
Ah yeah I thought about that :P It's a good idea and gets the job done but I was just wondering if there were any other ways people might use to draw background sprites. Thank you Laurent :)

39
Graphics / Game question
« on: September 06, 2009, 04:53:51 pm »
How do people handle backgrounds in games? I'm making an RTS and I need to work on getting the map into the game. Is it possible to make a sprite like 3000x3000 and have the image (thats 300x300) be repeated like tiles inside of it? Right now im doing everything manually and I can't figure out how else i'm going to do it...

Code: [Select]

/////////////////////////////////////////////////
/// 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);
/////////////////////////////////////////////////


Any helps/tips/suggestions would be great :)

40
General discussions / Sigvatr's Newbie Thread
« on: September 06, 2009, 02:35:15 am »
If your trying to limit your FPS to 60, then turn v-sync on. Although its wierd because at times on my windows 7 desktop i get bursts of frames up to 13k even though it mostly stays at 60fps, while on my vista laptop it always stays at 60

41
General / Why?
« on: September 05, 2009, 10:51:44 pm »
Is the file open in any other program? Are you surrrrre? Have you restarted your computer? (possible memory leak and a program has it open in memory) Are you sure it's spelled right? Are you sure it's .bmp and not .BMP? (File names are case sensitive)

Maybe post the exe and the images and we can try it.

42
General / Why?
« on: September 05, 2009, 04:34:21 am »
I'm not sure what it means but that is the reason why your code never worked when you used folders.

43
System / How does SFML handle deletion?
« on: September 01, 2009, 11:52:13 pm »
could you post the assembly?

44
Network / Problem with receiving sf::Packet
« on: September 01, 2009, 11:51:13 pm »
I think it should be up to the developer to provide his own layer of security otherwise Laurent would have to do a LOT of extra coding just to make some things secure.

45
Network / Problem with receiving sf::Packet
« on: September 01, 2009, 09:29:11 pm »
He's basically saying a malicious player can telnet into the server and crash it, which means the server is down for other non-malicious players. Exploit :)

Pages: 1 2 [3] 4 5