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

Pages: [1] 2
1
General discussions / Re: "Web SFML" using HTML5/Javascript/WebGL
« on: October 30, 2013, 04:51:39 pm »
Emscripten is a nice way of compiling C++ to Javascript. I started working on an Emscripten version of SFML a while ago -- the system and window modules were pretty straight forward, but IIRC the graphics module posed a few problems with some third party dependencies.

It's at least relatively easy to set up a window and do your own rendering with raw OpenGL.

2
Graphics / Re: graphics module needs libglew 1.5, i have newer.
« on: May 13, 2013, 02:09:26 am »
May I simply remove all the libsfml-xxx and headers i've manually installed?
If you installed SFML by moving files manually into directories, you can uninstall by simply removing them, yes.

In order to "build" SFML i can simply following this tutorial, right ?
Yep!

After installing the dependencies, it basically boils down to the following commands:

Code: [Select]
$ cd /tmp
$ wget https://github.com/SFML/SFML/archive/2.0.tar.gz
$ tar zxvf SFML-2.0.tar.gz
$ cd SFML-2.0
$ mkdir build
$ cd build
$ cmake ..
$ make
# make install

3
SFML projects / Re: Thor 2.0
« on: May 06, 2013, 07:16:26 pm »
Thanks, this is exactly what I mean :D
Also this is very wrong as well:

int main()
{
____foo();
____
____return 0;
}


One proof of wrongness:

$ cat <<FOO > demo.c
> int main()
> {
>     foo();
>     
>     return 0;
> }
> FOO
$ git init
Initialized empty Git repository in /tmp/test/.git/
$ git add .
$ git diff --check --cached
demo.c:4: trailing whitespace.
+████


However, fixing it is very easy ;)

4
SFML projects / Re: Thor 2.0
« on: May 06, 2013, 06:50:50 pm »
For the record, tabs are used for indentation, spaces are used for alignment.

int main()
{
____printf("Indented!\n");
____int foo____= 3,
________barbaz_= 8;
____return EXIT_TAB_SUCCESS;
}

5
SFML website / Re: New website
« on: May 03, 2013, 12:18:49 am »
Quote
Bug: It relies on the browser's default styles having a white background.
I'll fix it this evening.
Great, I noticed this was fixed! However, new bug I noticed now:
<h2>, <pre> and class="title" relies on the browser's default styles having black text :D

http://www.hashcookie.net/uploads/3334adba1c_2013-05-03-000318_1134x452_scrot.png

(The <div class="title"> on the frontpage should probably be <h2>s instead)

6
Feature requests / Re: How to find out if window has focus?
« on: May 02, 2013, 02:11:25 pm »
Currently in SFML there is no way to keep track of the focus state from the beginning.
I just tested it on Linux, and I get a GainedFocus event at the very start of the program - do you not on Windows?

I'd assume if the window were to open without getting focus, a GainedFocus event will not be created.

7
General discussions / Re: SFML 2 and its new website released
« on: April 30, 2013, 08:49:55 pm »
Any chance of a download for Linux...
Dependencies and instructions here: http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php

Basically what you have to do is:

If you want version 2.0:
Code: [Select]
$ wget https://github.com/SFML/SFML/archive/2.0.tar.gz
$ tar zxvf SFML-2.0.tar.gz
$ cd SFML-2.0

-OR- if you want the greatest and latest:
Code: [Select]
$ git clone https://github.com/SFML/SFML.git
$ cd SFML

Then you do:
Code: [Select]
$ mkdir build
$ cd build
$ cmake ..
$ make
# make install

Which will build the shared libraries and install them in your system \o/

8
SFML website / Re: New website
« on: April 30, 2013, 11:56:00 am »
(anchors and links use the same HTML tag)
Anchors rely on only the id attribute, which can be used on almost any tag.

For example <h2 id="foobar"> is where you will end up on somesite.com/page.html#foobar.

9
General / Re: SFML 2.0 in Linux
« on: April 30, 2013, 02:14:48 am »
You could symlink your libGLEW.so to libGLEW.so.1.7 - it should probably work properly.

Better yet you can compile it yourself to make it link to the libraries you already have :)
http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php

10
General discussions / Re: SFML 2 and its new website released
« on: April 30, 2013, 01:16:47 am »
Quote
What about Android?!!
I can't do both at the same time... but don't worry.
I'm sure there is a huge bunch of people eager to assist you in making SFML work on Android (and other platforms)! :)

11
SFML website / Re: New website
« on: April 29, 2013, 08:06:05 pm »
Bug: It relies on the browser's default styles having a white background.

With a default background of #222 it looks like this:
http://www.hashcookie.net/uploads/29f5f6907c_2013-04-29-200039_1154x879_scrot.png

12
General discussions / Re: A new logo for SFML
« on: April 28, 2013, 07:19:39 pm »
Woot, white text makes it amazing!

I like #8.

The text is bright and its shading isn't too noticeable.
The powerbutton similarly has a good contrast while not looking evil (like #6 and above).

However the outline is kinda jagged/aliased, and could probably be slightly brighter.
It might be nice to have the outline be the same hue as the content but darker (as in text outline is grey, powerbutton is green).

Maybe #9 would look nice with the drop shadow...

But again, the outline/shadow would probably depend on the context it's used in.

8:


13
General discussions / Re: A new logo for SFML
« on: April 27, 2013, 10:25:37 pm »
I like Cornstalks' 3rd variant (shadow or not depends on context) - but wouldn't it be better to make the text colour brighter/more white? Right now it looks dark, dirty and evil.

14
General discussions / Re: A new logo for SFML
« on: April 23, 2013, 05:57:34 pm »




I think this is my favorite one.

Me too

me three   :D
Me four. The other one looks too dirty and evil in some way, while this one is clean and happy.

15
General discussions / Re: A new logo for SFML
« on: April 22, 2013, 04:25:33 pm »
I font I used is Segoe UI.

1) What is its license? Is it free to use for SFML?
2) Do we/Laurry care if it's not?

---

I tried integrating it:




SVG (kerning doesn't work in some programs for some reason)
PNG

As I don't have Segoe UI I used the slightly similar Open Sans.

Pages: [1] 2
anything