sanyaade-g2g-repos / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

Support for SFML #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. No support for SFML

What is the expected behaviour? What happens instead?
- No support for SFML

What version of the product are you using? On what operating system? Which
back-end (SDL/Allegro/OpenGL/other)?
- 0.8.1

Please provide any additional information below.
- No support for SFML

Original issue reported on code.google.com by paulo.pr...@gmail.com on 9 Dec 2008 at 9:33

GoogleCodeExporter commented 9 years ago
-> SFML

Original comment by meuovore...@yahoo.com.br on 10 Dec 2008 at 7:21

GoogleCodeExporter commented 9 years ago
Alright, you two should maybe take some bug reporting courses. :-P

I had a short look at SFML (http://www.sfml-dev.org/), and at a first glace is 
seems
like an interesting target for Guichan to support. Somewhat similar to SDL, but 
with
a C++ interface. Maybe I'll even have a look at it.

I hate its C#-like variable and method naming conventions though, but oh well.

Original comment by b.lindeijer on 11 Dec 2008 at 12:00

GoogleCodeExporter commented 9 years ago
I i think that ppl of guichan can help to enable support with SFML too, like 
SDL.

I know too many ppl that want it too here.

Original comment by paulo.pr...@gmail.com on 11 Dec 2008 at 5:25

GoogleCodeExporter commented 9 years ago
"I know too many ppl that want it too here."

Well that's great, and if someone makes a SFML backend for Guichan I'll happily 
add
it to the Guichan source. But as Guichan is an open source project where people
contribute to the project on their spare time I don't think it's very likely a 
non
SFML user like me will make an SFML backend in a near future. If you want an 
SFML
backend a suggest you get your hands dirty and implement one yourself! Who 
knows,
perhaps you can work together with a couple of other SFML users. It's a great 
way to
learn how to use Guichan.

Original comment by olof.nae...@gmail.com on 11 Dec 2008 at 5:38

GoogleCodeExporter commented 9 years ago
Thnak you for help us :(

Original comment by paulo.pr...@gmail.com on 11 Dec 2008 at 6:13

GoogleCodeExporter commented 9 years ago
Guichan is a free open source project, and that comes with a price - Guichan 
evolves
thanks to user contributions, not user requests. It's all in the spirit of open
source, so please don't try to make me feel bad just because I don't have time 
to
learn SFML, setup projects for a backend, implement a backend, test a backend,
document a backend and distribute a backend all on my spare time (which is very
limited to me because I have a day time job that doesn't involve Guichan and 
numerous
of other projects and people that need my attention). Personally I don't gain
anything by implementing a SFML backend, it's just a lot of work for me.

You do gain something so I again suggest you try to do it yourself. It's not 
that
difficult (although a bit time consuming) and we will help you as much as we 
can if
you run into problems. As said before, I would happily add a SFML backend to 
Guichan
is someone else writes it.

Original comment by olof.nae...@gmail.com on 11 Dec 2008 at 6:46

GoogleCodeExporter commented 9 years ago
I dont want comove you :p

The time that i will lose trying to support sfml is much biggest that yours, 
that is
the creator :)

I can try if i have more time, but like you, the work take all my time.

I will wait a little more time.

Ty

Original comment by paulo.pr...@gmail.com on 12 Dec 2008 at 12:25

GoogleCodeExporter commented 9 years ago
The whole idea of open source isn't about a single guy doing all the coding, 
it's
about community participation, doing heavy coding or light patching, but 
participating. 
I believe that someone has to start the SFML backend and that'd be someone who 
is
most interested or most experienced in SFML willing to learn or practice even 
more
Guichan.

There's no point in pointing who should do that, if there's someone willing to 
do
that, then it will be done, otherwise, do it yourself or wait until it happens.

Original comment by patu...@gmail.com on 12 Dec 2008 at 2:14

GoogleCodeExporter commented 9 years ago
Yeah I just took a quick look at the API and the Image class, for example, 
seems almost trivial to
implement into Guichan. For someone who actually knows sfml they should be able 
to
implement a backend for Guichan pretty quickly... so get to work Paulo ;-)

Original comment by aaron.r....@gmail.com on 13 Dec 2008 at 7:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello,

I am working on the SFML backend for Guichan (0.8.1)

The backend is ready, but might be optimized and documented for doxygen.

gcn::SFMLInput
gcn::SFMLGraphics
gcn::SFMLImage
gcn::SFMLImageLoader
gcn::SFMLFont (for TrueType fonts...)

For suggestion or problems, please go to SFML forum :
http://www.sfml-dev.org/forum-fr/viewtopic.php?t=1860 (french topic)

Original comment by robin...@gmail.com on 14 May 2009 at 10:27

Attachments:

GoogleCodeExporter commented 9 years ago
After a quick look at the code I'm quite pleased with it, except for the 
indentation, the lack of 
doxygen comments (as you pointed out) and the lack of example appplications. 
Read our page about our 
code conventions: 
http://guichan.sourceforge.net/wiki/index.php/Code_conventions Also, take a 
look at 
our example applications, it should be fairly simple to add examples for SFML 
as well. After the code 
has been indented correctly, doxygen comments have been added and examples have 
been added I think we 
can add the code to the Guichan code base.

However, I'm not able to test it. Guichan is supported by a number of backends 
now, and frankly it's 
just too much for me to test. But if you say it works I trust you. If it 
doesn't, well then I think the 
code should be added to the source anyway so it doesn't get lost and so other 
people can improve it.

Original comment by olof.nae...@gmail.com on 14 May 2009 at 2:01

GoogleCodeExporter commented 9 years ago
And about the forum you pointed to, it's in French. Also, issues about Guichan 
should  
preferable be discussed in this issue tracker, not on external sites.

Original comment by olof.nae...@gmail.com on 14 May 2009 at 2:05

GoogleCodeExporter commented 9 years ago
Hi,

In the french topic, users are testing the backend updates...
The backend is for an SFML use, its community is more reactive than Guichan 
forum
(it's true !) and maybe more concerned. SFML users can test it quickly and
effectively, and some of them are very interested in it =)

For the indentation, I actually use Emacs and my config is different than your
conventions, I will correct it.
About example applications, there is a demo in the downloadable pack (like the 
SDL
example in your wiki, which draws a Confirm Dialog box, and incorporates all 
needings
for the user)

Regards,

Original comment by robin...@gmail.com on 15 May 2009 at 8:36

GoogleCodeExporter commented 9 years ago
I noticed the demo, but I need a demo that follow our examples. I have actually 
put 
an effort into making examples that are easily maintained and extendable, so 
please 
make a new examples that follow the standard Guichan examples.

About the forum, the SFML forum might be more active, but it's in French and 
will 
make Guichan issues fragmented over the Internet. To maintain Guichan we need 
to have 
all issues at one place. It might not be that important for you, but I've been 
working with Guichan for 5 years now, and people that contribute code normally 
disappears after a year or something. When new people join the project, perhaps 
to 
improve your backend, they need to be able to find the issues about the 
backend, and 
they will look in our issue tracker, not on a French forum. This is how it's 
done in 
the open source world.

Original comment by olof.nae...@gmail.com on 15 May 2009 at 11:07

GoogleCodeExporter commented 9 years ago
Yeah, I entirely agree with you =)

I said sfml community is active, and that's why I proposed the backend in the 
french
forum (there was a needing). If (but only if) the backend is ready for Guichan
integration, there is no reason to continue the subject on the SFML forum, yes, 
of
course. But it is not true at the moment ;)

Ok, for the examples, I have to make an SDL-like demo, that's it ?

( - I resolved indentation problems, but not doxygen comment yet
  - And I know the open source world xD
)

Original comment by robin...@gmail.com on 15 May 2009 at 5:02

GoogleCodeExporter commented 9 years ago
Hi !

I added a demo that follow your example in the wiki ans doxygen comments have 
been
added too.

Original comment by robin...@gmail.com on 23 Jul 2009 at 2:29

Attachments:

GoogleCodeExporter commented 9 years ago
Some news about the backend integration ?

Original comment by robin...@gmail.com on 6 Feb 2010 at 8:46

GoogleCodeExporter commented 9 years ago
Yes, I'm also highly interested in hearing an update on this, if there is one 
to hear.

Original comment by patquack...@gmail.com on 6 Feb 2010 at 11:46

GoogleCodeExporter commented 9 years ago
The code looks good so I don't really see a problem adding it.

Original comment by olof.nae...@gmail.com on 7 Feb 2010 at 3:17

GoogleCodeExporter commented 9 years ago
Are there any plans to integrate the example code into the repo on gitorious? 
It's been over a year and there hasn't been anything regarding SFML in the repo.

Original comment by fractalm...@gmail.com on 10 Mar 2011 at 8:26

GoogleCodeExporter commented 9 years ago
I've just completed implementing my own SFML backend for Guichan. It works with 
SFML 2.0 and it's on GitHub. You can find it here: 
https://github.com/zackthehuman/guichan-sfml

Original comment by z...@zackthehuman.com on 11 Jan 2013 at 9:21