Here it goes: http://www.megafileupload.com/en/file/94660/jogo-tar-gz.html
run it with: python tofu_machine.py single Move him with me mouse, and directional keyboard, to quit hit ESQ my code is a mess, good luck! :P you will see many guys walking randomly, they shoud be pedestrians, shoot them!! ;) any doubt, mail me! Gustavo Teixeira 2009/4/2, soya-user-requ...@gna.org <soya-user-requ...@gna.org>: > Send Soya-user mailing list submissions to > soya-user@gna.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.gna.org/listinfo/soya-user > or, via email, send a message with subject or body 'help' to > soya-user-requ...@gna.org > > You can reach the person managing the list at > soya-user-ow...@gna.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Soya-user digest..." > > > Today's Topics: > > 1. Re: Tofu Introduction (Jan Filip Tristan Hasecke) > 2. Re: Soya-user Digest, Vol 44, Issue 4 (Jan Filip Tristan Hasecke) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 01 Apr 2009 15:27:02 +0200 > From: Jan Filip Tristan Hasecke <blender...@web.de> > Subject: Re: [Soya-user] Tofu Introduction > To: Jiba <jibal...@free.fr> > Cc: Soya 3D mailing list <soya-user@gna.org> > Message-ID: <49d36ba6.2070...@web.de> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Jiba schrieb: >> On Mon, 30 Mar 2009 16:25:20 +0200 >> Jan Filip Tristan Hasecke <blender...@web.de> wrote: >> >> >>> Hi, >>> >>> I'm already familiar to soya. Now I want to program a game playable in >>> the internet. I want to use Tofu, but I never used it before. I read the >>> yet.-in, but I still don't understand it. My question is: Does anybody >>> have a file like game_skel_5.py, but with tofu. It should contain a >>> how-to init a server, client and adding Players and basic collisions >>> (wall, ground) and it should have a controller for eventhandling. >>> >> >> Hi, >> >> The latest version (and the less buggy) of Tofu is the one included in >> Balazar 3 (in the SVN). But as far as I know, there is no other game using >> it than Balazar 3... >> >> Actually, Tofu is far from being as stable as Soya is. >> >> Jiba >> > hi, > > I've tryed some basic stuff with tofu, but in the beginning I have my > first problem I don't understand. I want to load a model to a Mobile and > get this error, which I never had before... : > > > * Soya * Using 8 bits stencil > buffer > > * Soya * version 0.14 > * Using OpenGL 2.1.2 NVIDIA 177.82 > * - renderer : GeForce 8600M GT/PCI/SSE2 > * - vendor : NVIDIA Corporation > * - maximum number of lights : 8 > * - maximum number of clip planes : 6 > * - maximum number of texture units : 4 > * - maximum texture size : 8192 pixels > > * Tofu * Creating new player Player... > * Soya * Converting data/blender/normbauch.blend to Model... > Traceback (most recent call last): > File "run.py", line 41, in <module> > tofu.MainLoop(scene).main_loop() > File "/usr/lib/python2.5/site-packages/soya/tofu/sides.py", line > 77, in f > for f1 in fs: r = f1(*args, **kargs) > File "/usr/lib/python2.5/site-packages/soya/tofu/__init__.py", > line 155, in __init__ > player = Player.get_or_create(player_id) > File "/usr/lib/python2.5/site-packages/soya/tofu/__init__.py", > line 567, in get_or_create > if not player_id.filename in Class.availables(): return > CREATE_PLAYER(player_id) > File "/home/filip/3drpg_tofu/player.py", line 9, in __init__ > self.mobile.set_model( soya.Model.get("normbauch")) > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line > 283, in get > return klass._alls.get(filename) or > klass._alls.setdefault(filename, klass.load(filename)) > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line > 292, in load > dirname = > klass._get_directory_for_loading_and_check_export(filename) > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line > 228, in _get_directory_for_loading_and_check_export > klass._export(d, filename) > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line > 496, in _export > model = World.get(filename).to_model() > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line > 283, in get > return klass._alls.get(filename) or > klass._alls.setdefault(filename, klass.load(filename)) > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line > 294, in load > obj = loads(open(os.path.join(dirname, klass.DIRNAME, filename + > ".data"), "rb").read()) > File "/usr/lib/python2.5/site-packages/soya/__init__.py", line 65, > in loads > raise ValueError("Cannot read file / data!") > ValueError: Cannot read file / data! > > Thank you very much for all help > > Yours, Filip Hasecke > > > > ------------------------------ > > Message: 2 > Date: Wed, 01 Apr 2009 15:54:11 +0200 > From: Jan Filip Tristan Hasecke <blender...@web.de> > Subject: Re: [Soya-user] Soya-user Digest, Vol 44, Issue 4 > To: Soya 3D mailing list <soya-user@gna.org> > Message-ID: <49d37203.6080...@web.de> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > gsteixei schrieb: >> I am doing a little game using Tofu, not much progress and the code is >> still a mess cause i am learning yet... Maybe its not a good choice >> for begginers purpose. >> >> The best examples i know are those which are in the Tutorial, under >> Tofu folder, thats where i learned from all i know... :P >> >> Anyway if you want i can send to you. >> > Hi, > I'am learning tofu and I did not understand it completely, so... > I would like to see your project, maybe I understand tofu better then. > With which version of soya and tofu is it made? > > I would really like to see your project. > > Thank you very muck. > > Yours, Filip Hasecke > > > > ------------------------------ > > _______________________________________________ > Soya-user mailing list > Soya-user@gna.org > https://mail.gna.org/listinfo/soya-user > > > End of Soya-user Digest, Vol 45, Issue 2 > **************************************** > _______________________________________________ Soya-user mailing list Soya-user@gna.org https://mail.gna.org/listinfo/soya-user