Results 1 to 25 of 25

Thread: Python

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: Python

    Quote Originally Posted by edyzmedieval
    Python is an object orientated programming, so that's a big plus. Plus, it says here it's easy to learn. It might be, but the tutorials are stuffed with material.
    From what I've read about Python it certainly seems like an interesting language. I don't like tutorials much since they're usually to slow for my taste, but they're a necessary evil, most of the time.

    Well, I'm learning Python and C++ in parallel with other stuff, and I learn these in my free time. I gave up gaming for these, so I can do my own projects in the summer.
    What's the project you are planning, if you don't mind me asking ?
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  2. #2
    Ja mata, TosaInu Forum Administrator edyzmedieval's Avatar
    Join Date
    May 2005
    Location
    Fortress of the Mountains
    Posts
    11,441

    Default Re: Python

    First of all, I'll start something like Tetris, to keep my interest up.
    My bigger project is a sort of RPG, Mount&Blade style only.
    Ja mata, TosaInu. You will forever be remembered.

    Proud

    Been to:

    Swords Made of Letters - 1938. The war is looming in France - and Alexandre Reythier does not have much time left to protect his country. A novel set before the war.

    A Painted Shield of Honour - 1313. Templar Knights in France are in grave danger. Can they be saved?

  3. #3
    Ja mata, TosaInu Forum Administrator edyzmedieval's Avatar
    Join Date
    May 2005
    Location
    Fortress of the Mountains
    Posts
    11,441

    Default Re: Python

    So I'm sort of halfway to making the Tetris in C++. Hope it works. Wish me luck.

    If the mods don't mind(especially LEN, but he's easy to fool...Some Asian women and he's toast ), I'll keep my progress here.
    Ja mata, TosaInu. You will forever be remembered.

    Proud

    Been to:

    Swords Made of Letters - 1938. The war is looming in France - and Alexandre Reythier does not have much time left to protect his country. A novel set before the war.

    A Painted Shield of Honour - 1313. Templar Knights in France are in grave danger. Can they be saved?

  4. #4
    Boy's Guard Senior Member LeftEyeNine's Avatar
    Join Date
    Sep 2003
    Location
    Yozgat
    Posts
    5,168

    Default Re: Python

    No probs for me as long as you feel it's suitable for forum scene. But Granpa may have something to say though.

  5. #5
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: Python

    Quote Originally Posted by LeftEyeNine
    No probs for me as long as you feel it's suitable for forum scene. But Granpa may have something to say though.
    I rather like the idea of a game development thread, it should certainly have it's place here imho.

    edyzmedieval: which development environment are you using ?
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  6. #6
    Boy's Guard Senior Member LeftEyeNine's Avatar
    Join Date
    Sep 2003
    Location
    Yozgat
    Posts
    5,168

    Default Re: Python

    Feel free to use this for Phyton related development. Constructive and progressive threads would not bother in numbers, at least I feel so. Granpa ?

  7. #7
    Ja mata, TosaInu Forum Administrator edyzmedieval's Avatar
    Join Date
    May 2005
    Location
    Fortress of the Mountains
    Posts
    11,441

    Default Re: Python

    Quote Originally Posted by doc_bean
    I rather like the idea of a game development thread, it should certainly have it's place here imho.

    edyzmedieval: which development environment are you using ?
    Yeah, it's a nice idea.

    As for the environment, I am still learning Doc. Keep in mind, I dropped C++ some time ago, and I never knew anything about Python until 2 weeks ago.
    I'll do some basic scripts first in C++, to get my skills on the track.

    Or what do you mean by Development Environment?
    Ja mata, TosaInu. You will forever be remembered.

    Proud

    Been to:

    Swords Made of Letters - 1938. The war is looming in France - and Alexandre Reythier does not have much time left to protect his country. A novel set before the war.

    A Painted Shield of Honour - 1313. Templar Knights in France are in grave danger. Can they be saved?

  8. #8
    Arbeit macht fleisch Member ScionTheWorm's Avatar
    Join Date
    May 2005
    Location
    Norwegen
    Posts
    778

    Default Re: Python

    http://www.ogre3d.org/

    you can't write a game like m&b in python using blender (if you mean the actual battle scenes)

    python is my favourite language, though it performs about 11 times worse than a c++ application when using plain python loops. making a game as good as m&b would be very difficult alone as far as I know, if you're not experienced. c++ would certainly be required, m&b does not have that a high framerate in relatively large scale battles. using an engine like ogre3d from python could work though, but stuff like AI and other custom algorithms should be implemented in c++.

    I'm starting to get pretty anxious about starting up a M&B mod, it has so much potential and yet it's so much easier to mod than rtw. wounder if I could get people interrested from this forum...

  9. #9
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: Python

    Quote Originally Posted by edyzmedieval
    Or what do you mean by Development Environment?
    Something like eclipse, which is primarily for java, but has python plug-ins I've read. Essentially a text editor for programming that points out the obvious errors and offers several functions for faster (and correcter) programming.
    For instance if you have an object named thing (from a certain class) and you type "thing." it will give you a list of all the functions that could apply (like for instance thing.getName()), this way you don't have to remember every exact name you've used for your methods or variables. It will also point out every (in theory) error the compiler would give if you were to compile ate that moment, with access to a list of suggestion how to fix it (adding throw clauses for instance).

    I don't get the first parts of the Python tutorial...Any help?
    I don't know Python, but perhaps you could point out (and/or quote and/or explain) exactly what you don't get ?
    Last edited by doc_bean; 05-09-2006 at 19:26.
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  10. #10
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: Python

    Have a look at Panda3D. It's a free 3D engine that can be accessed through Python.
    http://www.panda3d.org/

  11. #11
    Ja mata, TosaInu Forum Administrator edyzmedieval's Avatar
    Join Date
    May 2005
    Location
    Fortress of the Mountains
    Posts
    11,441

    Default Re: Python

    Wow, it looks really nice. Check this project, which is so cool:
    http://www.etc.cmu.edu/projects/orb/images.htm

    For Python stuff, I'm learning Blender. Panda3D might be a suitable addition.
    Ja mata, TosaInu. You will forever be remembered.

    Proud

    Been to:

    Swords Made of Letters - 1938. The war is looming in France - and Alexandre Reythier does not have much time left to protect his country. A novel set before the war.

    A Painted Shield of Honour - 1313. Templar Knights in France are in grave danger. Can they be saved?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO