Ship Simulator

English forum => Small talk => Topic started by: firestar12 on October 11, 2009, 18:06:23

Title: Python.
Post by: firestar12 on October 11, 2009, 18:06:23
Has anyone here ever used Python to make programs? I finally found a programming language I like! Python is so simple, what do you guys think of it? Ever heard of it?
Title: Re: Python.
Post by: Tomaten on October 11, 2009, 18:53:14
I've heard of it, but never used it,
good luck with the programming mate  :D
Title: Re: Python.
Post by: Wave Music on October 11, 2009, 19:22:54
Shane, I see each day you're becoming more & more advanced guy. 

Good luck with programming & looking forward to the result!  :thumbs:
Title: Re: Python.
Post by: TJK on October 11, 2009, 21:07:48
Here you have a pyton i think  :D

well the was maybe this you meant http://www.python.org/download/
sorry newer used it, kud not live this without say something stupid  :doh:
Tore :lol:
Title: Re: Python.
Post by: llamalord on October 11, 2009, 22:21:27
I have in fact used Python many, many times, :doh:

You should have no problem with it, it is a very nice programming environment.  The only thing that gets a little bit hairy is importing 3D meshes for using inside of a program.  I have this problem when I went to go make a Aircraft Carrier Flight Simulator. :P
Title: Re: Python.
Post by: firestar12 on October 12, 2009, 21:51:15
Yeah, I'm already good with it, I've already programmed a calculator that can divide, multiply, and all that jazz. It won't do percents though, I'm positive that if I use 'float' that I could though. Llamalord, do you know if it would be possible to create a basic crappy mac dock look alike?
Title: Re: Python.
Post by: Agent|Austin on October 12, 2009, 21:57:24
Yeah, I'm already good with it, I've already programmed a calculator that can divide, multiply, and all that jazz. It won't do percents though, I'm positive that if I use 'float' that I could though. Llamalord, do you know if it would be possible to create a basic crappy mac dock look alike?

You can get a mac and have a really nice one. haha

(Sent from his Macbook?)
Title: Re: Python.
Post by: firestar12 on October 12, 2009, 22:20:00
Not going to happen. Now I don't want this going off topic, I know it is small talk, but I want this topic to stay python related please.
Title: Re: Python.
Post by: Agent|Austin on October 12, 2009, 22:30:22
*hiss* *slither*
On-topic
Title: Re: Python.
Post by: Kapn Jonah on October 12, 2009, 23:08:51
Uh, whats this "Python" for?
Title: Re: Python.
Post by: firestar12 on October 12, 2009, 23:09:42
...
I'm experimenting with making model icons and a reflective surface in blender, to imitate the mac dock. I then will make some python scripts or game scripts to make them bigger when the mouse is over them, then somehow load the models with python, I'm not sure if it'll work, but it's worth a shot.

EDIT: Here is the dock in it's current state: (With a self made blender icon) :P
Title: Re: Python.
Post by: firestar12 on October 12, 2009, 23:10:33
Reply to Jonah:
Python is a programming language, used to write programs, you can do whatever you want with it, from make a 3d modeling program from scratch, or, in a darker tone, make malware.
Title: Re: Python.
Post by: Kapn Jonah on October 12, 2009, 23:11:02
Sweet....
Title: Re: Python.
Post by: Agent|Austin on October 12, 2009, 23:25:37
Gonna have the genie effect when minimizing windows? haha
Title: Re: Python.
Post by: firestar12 on October 12, 2009, 23:47:20
Uh....I'm no where near a mac right now. Tomorrow I'll look into that. Here's what I got at the moment.
(Austin, you could really help me with getting this looking good!)
Title: Re: Python.
Post by: llamalord on October 13, 2009, 00:52:09
Llamalord, do you know if it would be possible to create a basic crappy mac dock look alike?

For that Flight Simulator I mentioned, I created a menu at the top when you hover over it with your mouse so I imagine that wouldn't be that much harder. :P
Title: Re: Python.
Post by: Kapn Jonah on October 13, 2009, 00:53:31
So i could make my own Nautical Simulator with this program then?
Title: Re: Python.
Post by: llamalord on October 13, 2009, 01:01:50
You could... but as I found out the process pool and RAM pool for Python are relatively small so after you get about 500,000 polygons in a single frame and then Render to Texture, even before the extras like Anti-Aliasing take place, your frame rates will drop to about 10FPS and go down from there. :sleepy:
Title: Re: Python.
Post by: Kapn Jonah on October 13, 2009, 01:02:51
Oh, well thats no fun :P
Title: Re: Python.
Post by: Master Captain on October 13, 2009, 01:04:52
totally off topic, but when i read this topic i thought the discussion would be about this http://www.wired.com/autopia/2009/10/watercar-python-is-a-hot-rod-for-land-and-water/?npu=1&mbid=yhp (http://www.wired.com/autopia/2009/10/watercar-python-is-a-hot-rod-for-land-and-water/?npu=1&mbid=yhp)
Title: Re: Python.
Post by: firestar12 on October 13, 2009, 01:36:25
You could... but as I found out the process pool and RAM pool for Python are relatively small so after you get about 500,000 polygons in a single frame and then Render to Texture, even before the extras like Anti-Aliasing take place, your frame rates will drop to about 10FPS and go down from there. :sleepy:
Could you please PM me with more info, Llamalord?
@ MC If you knew it was off topic, then why did you post it even after I politely asked for it to stay clear of that discussion? Is it any different then Aad or Saltydog asking for things to stay on topic? No, they asked exactly like I did and apparently there are different levels of respect here if what I see is true.
Title: Re: Python.
Post by: Kapn Jonah on October 13, 2009, 01:37:40
Sorry Shane, i was just trying to understand the program.
Title: Re: Python.
Post by: firestar12 on October 13, 2009, 01:38:37
Jonah, no problem, I wasn't talking to you, but thanks! :thumbs:
You were on topic almost the whole time.
Title: Re: Python.
Post by: Kapn Jonah on October 13, 2009, 01:40:49
Okay  ;D

I think we should get back on topic now anyway Shane
 :doh:
Title: Re: Python.
Post by: firestar12 on October 13, 2009, 01:44:27
Good idea. Who wants to see some python code?

print("This is python code")
x = raw_input("Enter your favorite number")
if x


And that's all I bothered to write as I'm very tired.
Title: Re: Python.
Post by: Agent|Austin on October 13, 2009, 03:12:46
Firestar, looks like your dock extends 'back' a little father then the mac dock does.
Title: Re: Python.
Post by: firestar12 on October 13, 2009, 21:34:56
I see what you mean Austin, though I should have made it clear that the shots there were on camera perspective "9" as opposed to my normal thirty. I'll post a pic later of normal perspective so we can see for sure. Thanks for the help! :)
Title: Re: Python.
Post by: Master Captain on October 14, 2009, 00:29:41
Could you please PM me with more info, Llamalord?
@ MC If you knew it was off topic, then why did you post it even after I politely asked for it to stay clear of that discussion? Is it any different then Aad or Saltydog asking for things to stay on topic? No, they asked exactly like I did and apparently there are different levels of respect here if what I see is true.
well sorry.... thought it might interest some people :P