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

Pages: [1]
1
Network / Re: Sockets cannont be a vector
« on: April 05, 2016, 10:50:32 pm »
Hey!

I dont know if you want a vector just because you want to store your objects in an organized way, or just because you want to resize the vector, but an std::list will work fine assuming your most wanted need is to store your objects in an organized way.

It just worked for me:

std::list<sf::TcpSocket> connectionList;
connectionList.emplace_back();// This creates a new socket, directly inside the list

For resizing, this looks dangerous to me to resize without knowing what will happen to the clients connected to your sockets, but this function is also avaiable in list. You can watch all a list can do here on this link:

http://www.cplusplus.com/reference/list/list/

Have a nice time!


2
Hey Mario,

It seems to me that exploiter got the point already and he is one of the people able to fix it if he is wants to.

I believe that any further attempt at explaining myself again will generate always the same type of comments like „freedom is more important to the beginner than actually getting something working out of the box”.

Thus, I will not explain this yet one more time.



But thanks anyway for the chance :)

3
Everyone should be entitled to use any setup or software that they prefer without being dictated to by one's elitist preference.

Maybe I didn’t express myself clearly, so that’s why you missed the point.

The point is to aid people who are lost with too much options (beginners). Beginners need guidance and strong directions, otherwise they get lost, frustrated, and abandon your tool. Too much freedom or alternative at this point is totally detrimental to getting something useful for beginners.

That is why I say that my idea is useful for BEGINNERS. For people who are already into the workflow of software development, then I agree with you.

4
Hi eXpl0it3r

I think this is really important, because at least in my case I was between learning C++ and Java, and in Java is really easy to get this multimedia things running, and on C++ you have to fight a lot to get it running (if you are a beginner). The only reason I kept with C++ was because SFML was lowering my headache on this topic.

So you see... A beginner is usually confused about one Million things, and adding a tiny bity of  complexity to it (even if it is to compile a library) is already enough to overload People new to any topic.

I know you don’t agree on trying to reach a bigger audience, but I think its really a beautiful Thing to be able to massify contents which are usually for a selected Group of people. Some hundreds of years ago, being able to read or write was a privilege of only a few, and now this is massified knowledge. The same is for computers and so many other things in our everyday life.

This philosophy apart, although I would still think the tutorial would be nice, I accept your suggestion of leaving a note on the site for people who are confused with so many Options, as you said:

"What we may think about is adding a note that people using MSYS (or Cygwin) could potentially use the built-in package managers. ;)"

I believe that adding the note as you said would be probably good enough (provided the note is in someplace easy to be found).

We could write something like this: "If you are lost with so much compiler possibilities or compilation problems, just use the MSYS2 system with a package manager (available on link bla bla) and let the package manager work the details for you."


Near the note we could leave the link to get MSYS2 (for Windows or any other widely used platforms) for people who are still lost with he possibility of using one Million Compilers, each one with their dependancy problems.


Or even better, we could provide a "it works out of the box pack" which comes with Codeblocks, a compiler and the latest SFML already installed and running out of the box that requires no headache with compilation or choosing a compiler and IDE for the user.

I think providing it for at least Windows should be enough to get the majority of people.


5
SFML website / Re: SFML 2.2 MinGW downloads clarification
« on: November 22, 2015, 11:04:40 am »
Hello!!

I have just opened a post where I explain how people can stop having to care about which compiler version they are using. The title is HELP NEWBIES USING SFML WITHOUT HAVING TO CARE ABOUT COMPILATION and you can see it here:

http://en.sfml-dev.org/forums/index.php?topic=19386.0


6
Hello all!! I remember being new to C++ and wanting to get SFML for my system for the first time. I arrived at the download section of the website, only to see that no precompiled version of SFML was available for my specific GCC version. I eventually found out how to do this by myself, but this process is quite a headache for beginners. It can scary people out quite quickly if not enough tutorials are available.

SFML tutorial on how to compile got me strong on my hope that the process would eventually work, but I wished it could be even easier at the time. If we eliminate this entry barrier, I bet we can get even more people using this library.

As SFML seems to be interested in attracting people for its ease of use, I think I can help SFML by providing you this suggestion:

I have found something which can ease this for the beginner. It is basically choosing a compiler which can download the latest SFML version by itself without requiring that the user cares about how to compile SFML. And if the user updates his compiler, his SFML will get updated automatically without headaches.

I though we could advertise this on the download section of SFML (http://www.sfml-dev.org/download/sfml/2.3.2/) or on the "Getting Started" tutorials on http://www.sfml-dev.org/tutorials/2.3/

Basically its installing the MSYS2 compiler system and using its package manager (pacman) to download SFML from it.

The user just has to open the package manager (pacman), search for SFML inside it and ask to install it.

See details for the package manager here: http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/
And an old example of installing the SFML from this package manager here: https://github.com/Alexpux/MSYS2-packages/issues/10

The information is not too complete now, but I bet we can organise it in a way to make it very clear and useful to every beginner.

Thanks!

EDIT: If you from SFML have no time for this, I could try writing the tutorial myself, and you from SFML administration could make the aesthetics of it such as to fit your website or making final changes when needed.


7
SFML projects / Re:creation - a top down action rpg about undeads
« on: August 24, 2015, 11:06:54 pm »
I would really like to download the game, but I really didnt manage to find the link?

Could you post it to us?

I would prefer (if possible) to have the binaries for windows, instead of having to compile everything myself. I am tiring of compilling errors all the time.

If the game is fun, I would also like to have a look at the source if you can make it available for us!!

Thanks!!

Pages: [1]
anything