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

Pages: 1 ... 7 8 [9] 10 11 12
121
General discussions / Re: A new logo for SFML
« on: April 29, 2013, 05:00:22 pm »
This looks more like a banner than a logo to me.

122
General discussions / Re: A new logo for SFML
« on: April 29, 2013, 04:29:54 pm »
The logo is too large... I don't get it, is "SFML" part of the logo or is it just the power button ?

123
Python / Re: using sfml.audio on Cocos2D, good idea?
« on: April 26, 2013, 06:23:26 pm »
But I'm doing this task using ctypes, so it's possible to ship .so/.dll within the engine. Alà Pymunk, you see? :)

I guess that should be possible. :)

124
Python / Re: using sfml.audio on Cocos2D, good idea?
« on: April 26, 2013, 05:19:27 am »
The audio module relies on the system module, so theoretically, you'd need to copy the system.so file too.

But why don't you keep them separated ? Your project would depend on pySFML and Cocos2D at a time. :)-

Does that help ?

125
Thanks for the link you put on your webpage, that helps me keep motivated in porting SFML based works to Python as well. :)

When I started to port Thor, I was aware of these planned changes so don't worry. Even if some part of the Thor API is meant to disappear or be re-factored, I think that most of the code would be reused.

As for difficulties I had in bringing Thor to Python... Yes, the template usage was quite pain in the ass but I finally mastered it and this has improved both my C++ and Python skills! For the record, the worst feature to port was the Distribution class, I really suffered.

You're right about the resources module and that's why it's still not implemented. I still need to think about it to properly explain how it wouldn't exist in Python, before removing it.

126
General discussions / News regarding the Python bindings (python-sfml)
« on: April 23, 2013, 03:48:59 pm »
Version 1.2 is out

Version 1.2 has been released since November 2012, offering new features.

First and foremost, the bindings have been relicenced from GPLv3 to the much more liberal LGPLv3.

Secondly, the load/open/create methods have been deprecated in favor of their from_foo counterparts, which we believe more closely resemble the standard library's naming conventions. Similarly, the save/conversion methods have been deprecated in favor of to_bar methods.

The voip example is now available and various multi-threading issues have been fixed.

Be sure to check out the website for Windows installers and Debian packages.

For a complete list of changes, check out the changelog: http://python-sfml.org/1.2/changelog.html

Known bug in this version: convert_coords methods return None no matter what. This is already fixed in the master branch, so you'll need to compile from source or wait for version 1.3 to get past this limitation.

Thor library is almost ported

In addition, most of the Thor library modules have been ported and can be interpolated with the SFML bindings. This port joins sfeMovie in the list of officially supported add-ons.

It consists of a top-level thor package which in-turn is composed of nine modules. Here's a table showing their implementation status.

ModulesStatusRemarks
TimeImplemented
ParticleImplemented
AnimationImplementedLimitation: so far, can only animate a sprite :/
GraphicsImplementedColorGradient creation is different from C++
ShapesImplemented
VectorPartially implemented
MathPartially implemented
EventsNot implemented
ResourcesNot implemented

For more information, visit the thor section of the website: http://thor.python-sfml.org.

Version 1.3 coming soon

Version 1.3 is set to be released in conjunction with the official release of SFML2. The API, tutorials and documentation will thoroughly be updated to match the latest changes from the SFML2 codebase.

As packages won't be made  available beforehand, you'll need to compile the bindings from source if you wish to get a sneak peak of these upcoming chnages (sfml_latest branch). Details on how to do this can be found below.

In this “final” version, you'll be able to embed Python code into your C++ application and write your own extensions using the C/Cython API. We've dedicated an entire section of the documentation on how to do this, complete with two working examples (embedding and extending).

127
Python / Re: Which Python binding to use
« on: April 14, 2013, 02:46:56 am »
Hello, sorry to be late, the Python section isn't very active which doesn't make me check the forum every day :/

What version are you compiling ? The latest available is 1.2 and if you try to compile from github's master branch, you might encounter issues since I re-factored many things in order to ease the code reuse (soon, other SFML-based project will be available for Python too).

Unfortunately, I can't help you for now since I haven't touched the code for a long time (I'm currently porting SFML to Android and iOS), but I would definitively move my ass if you can't compile the 1.2 version!

As for recommendations, I won't claim anything as I'm the author but hope others will answer you :)

By the way, there's a website: http://python-sfml.org where you might find useful information.

128
General / Re: Can't sfml-main be merged into sfml-system ?
« on: March 18, 2013, 05:03:16 pm »
Hmmm, fair enough ;p

Thanks!

129
General / Re: Can't sfml-main be merged into sfml-system ?
« on: March 18, 2013, 04:44:28 pm »
And would it change/affect something if we merge it into sfml-system ? If the SFML user declares his own WinMain function, would it override the one contained in sfml-main ?

130
General / Can't sfml-main be merged into sfml-system ?
« on: March 18, 2013, 04:06:53 pm »
Hello,

I was wondering if it wouldn't be better to merge sfml-main into sfml-system since it's a system specific stuff and sfml-system is mandatory. Has anyone ever thought about that ? What was his conclusion ?

131
Name: python-sfml
Language: Python
Status: Active
Author: Jonathan De Wachter & Edwin Marshall
Website: www.python-sfml.org

132
Python / Re: Switching from Pygame
« on: March 17, 2013, 01:58:24 pm »
I don't know Pygame but if you tell us what it does, we can come up with the equivalent :)

133
I confirm for my bindings and if it hasn't been updated for 20 days, that's because I'm busy with other tasks related to it such porting other SFML-based library to make them compatible with the bindings.

134
Python / Re: python-sfml2
« on: February 20, 2013, 01:27:20 am »
The version of pySFML contained in this repository (sfm-stable) is 1.2 and depends on the release candidate of SFML2. You simply installed the latest version of SFML2 on top and thus overwrote the right SFML version.

To fix that, reinstall the libsfml package:
sudo apt-get install --reinstall libsfml

Be careful, you're having the wrong headers too, so you may want to reinstall libsfml-dev as well ;)

135
Python / Re: python-sfml2
« on: January 31, 2013, 08:44:48 pm »
The website is temporarily unavailable. The hard drive failed but hopefully I have backups. I hope it won't take too long...

I'm using Ubuntu 12.10, and it seems to work great. (installed with no bugs, but I still got to check with a hello world :))

Why not installing pysfml-examples package, then typing pysfml-pong ? :) Some codes are available on the website, section Examples: http://python-sfml.org/examples.html

Pages: 1 ... 7 8 [9] 10 11 12