Changes between Version 24 and Version 25 of FAQ


Ignore:
Timestamp:
07/04/13 14:29:43 (14 months ago)
Author:
NewtonKing
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v24 v25  
    1 This is PySoy's Frequently Asked Questions page.  These are not a selection of questions that we think will be frequently asked; they ''have'' been frequently asked. 
    2  
    3  
    4 = Design Choices = 
    5 == why did you... == 
    6 '''Q:''' license the engine under the [http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3]? 
    7  
    8 '''A:''' Many people have commented that PySoy would be more popular if licensed under a MIT/BSD style license.  While likely true, our goal is to promote and enable the creation of copyleft games.  The [source:trunk/pysoy/LICENSE AGPLv3 license] best protects player's freedoms to use, modify, and redistribute PySoy-based games. 
    9  
    10  
    11 '''Q:''' build the engine for [http://www.python.org/ Python]? 
    12  
    13 '''A:''' Python was chosen due to it being easy to learn, fast to develop with, and because it's the scripting language used in both 2d and 3d art software ([http://www.blender.org/ Blender], [http://www.gimp.org/ GIMP], etc).  [http://degreehouse.org/online-business-degree/ online business degrees]  It's also in fairly wide use in the proprietary games industry, both for add-on scripts and the core engine, and is cross-platform.  With all the speed-intensive functions in C, there's really not a noticeable difference to players. 
    14  
    15  
    16 '''Q:''' base the engine on OpenGL 1.4, isn't that really outdated? 
    17  
    18 '''A:''' While many game engines are based on OpenGL 2.0+, we aim for PySoy-based games to be playable on virtually any modern system including netbooks and smartphones.  We've decided to focus on convenience and fun for everyone, not just "gamers". 
    19 [http://www.kindercube.com/ perlengkapan bayi] | [http://vamostech.com/gps-tracking GPS tracking] | [http://vamostech.com/gps-tracking GPS tracker] | [http://www.goldenfibreglass.com/product-atap-fiberglass.php atap fiberglass] | [http://subconscious-therapy.com/hipnoterapi-surabaya/ hipnoterapi surabaya] 
    20  
    21 '''Q:''' use a threaded architecture?  isn't that pointless in Python? 
    22  
    23 '''A:''' Much of PySoy runs in GObject-based threads which never need to hold Python's Global Interpreter Lock (GIL), and thus, PySoy can utilize all available cores on a server. 
    24  
    25  
    26 '''Q:''' use so many [http://www.gnome.org/ Gnome] libraries? 
    27  
    28 '''A:''' PySoy's primary development target is the Gnome desktop, as is used by [http://www.ubuntu.com/ Ubuntu] and most other modern GNU/Linux distributions.  As these libraries are cross-platform PySoy is also available on MacOSX and Windows. 
    29  
    30  
    31 '''Q:''' use [http://www.xmpp.org/ XMPP] for networking? 
    32  
    33 '''A:''' We've seen from existing free software game networks that dedicated chat systems fail at building a viable player community.  By implementing [http://www.xmpp.org/ XMPP] (aka Jabber) we allow any player using any PySoy based game to chat with any user on a federated server.  Players will be able to log in using their existing account(s), join chat rooms for different games, utilize ''teamspeak''-type chat via the [http://xmpp.org/extensions/xep-0166.html Jingle extensions], and advertise their own servers.  The actual game play is done via [http://www.xmpp.org/extensions/xep-0176.html ICE-UDP] for minimal latency. 
    34  
    35  
    36 = Build Problems = 
    37 == i can't get it installed! == 
    38 Q: GCC cannot find '''xf86vmode.h''', reporting an error like this: 
    39 {{{ 
    40 src/textures/soy.textures.c:43:38: error: X11/extensions/xf86vmode.h: No such file or directory 
    41 }}} 
    42 A: If you're on a Debian-derived distro (ie, Ubuntu), that header is provided in the '''x11proto-xf86vidmode-dev''' package. You will likely also need to install the '''libxxf86vm-dev''' package. 
    43  
    44  
    45 = Import Problems = 
    46 == i get a segfault on import == 
    47 Q: I'm getting an error like this, what is wrong? 
    48 {{{ 
    49 ImportError: /usr/lib/python2.5/site-packages/soy/shapes.so: undefined symbol: __cxa_pure_virtual 
    50 }}} 
    51 A: You're using an old version of ODE that we don't support.  You need ODE 0.10 or higher. 
    52  
    53  
    54 Q: I'm getting an error like this, what is wrong? 
    55 {{{ 
    56 ImportError: /usr/lib/python2.4/site-packages/soy/_core.so: undefined symbol: dInitODE 
    57 }}} 
    58 A: You either don't have ODE installed, or it is installed in a path your distribution is not configured to search for libraries in.  Check /etc/ld.so.conf for the ODE install path. 
    59  
    60 Q: Are these errors a reflection on the quality of PySoy? 
    61  
    62 A: Of course not!  This is happening because PySoy is still in Beta, and as such, isn't in distros' repositories, so you can install without dependencies.  Then bad things happen because they're missing or too old. 
    63  
    64  
    65 = Should I...? = 
    66  
    67 Q: Should I use PySoy for 2D games? 
    68  
    69 A: If you're looking at a 3d side scroller, akin to Little Big Planet, PySoy may be ideal.  For true 2D games you may want to consider [http://www.pygame.org/ PyGame]. 
    70  
    71  
    72  
    73 Q: Should I use PySoy for my project yet? 
    74  
    75 A: Until we've released PySoy 1.0, it's not a very good idea to use PySoy for a major project, as we haven't nailed everything down yet.  APIs may appear, disappear, or change in functionality or interface.  If you want to play around with it and see what it has to offer, go ahead!  Catastrophic changes don't happen very often, we just can't guarantee that they won't yet. 
    76  
    77 Q: (Where) Should I start? 
    78  
    79 A: The '''[wiki:"PySoy Primer/Part1" Part 1: A Spinning Cube] shows you how to setup a scene and animate a 3d PySoy object''', which is a pretty good start. Also take a look in the /tests and /examples in your pysoy root directory. (And yes, you should start). 
    80  
    81 = Other ...? = 
    82 '''Q:''' Are you all a bunch of vegetarians? 
    83  
    84 '''A:''' We're not anti-meat, we're anti-wheat, and to be a true part of the PySoy team you must swear an oath to rid the world of heathen gluten-lovers.  In all seriousness, some of us are, but the name is really just something we have fun with. 
     1Spam infested!