this is what i have right now, it tells me i can't multiply a vector with a
vector, i have to find a way to multiply the speed with the updated angle
(=hoek in dutch)
code :
from visual import *
import time
import math
import random
class lunar_lander(object):
def __init__(self):
Hi,
I only skimmed through the code, but I think your problem resides at the "while
True" in your brandstofmeter update(). This function never stops..
--
http://mail.python.org/mailman/listinfo/python-list
On 13 January 2013 13:57, wrote:
> this is again a newer version, right now the velocity does in fact turn, but
> the view doesn't follow, it keeps the ship vertical.
>
> i'm also having trouble letting the flame appear when pressing the "up" button
>
> and when the ship rotates the horizontal v
this is again a newer version, right now the velocity does in fact turn, but
the view doesn't follow, it keeps the ship vertical.
i'm also having trouble letting the flame appear when pressing the "up" button
and when the ship rotates the horizontal velocity keeps getting bigger and
bigger
i a
corrected a bit, loop works, gas doesn't work
from visual import *
import time
import math
import random
from datetime import datetime
import operator
class lunar_lander(object):
def __init__(self):
scene.title = 'mini star wars'
scene.width = 375
scene.height = 550
sorry for the extremely late reply, i have been very very busy :s
i implemented the solution that was posted in the second to last post. but now
it gets a little confusing because i think a couple terms where deleted that i
refered to in other code blocks, so once again i''l post the full code h
Le 07/01/13 17:22, jeltedepr...@hotmail.com a écrit :
> ok after another round of reparations, my update works again and it updates
> the fuel meter, but i still can't get the view of the spaceship to rotate,
> for now only the direction the spaceship accelerates when pressing "up"
> changes aft
ok after another round of reparations, my update works again and it updates the
fuel meter, but i still can't get the view of the spaceship to rotate, for now
only the direction the spaceship accelerates when pressing "up" changes after a
rotation, but the spaceship itself keeps pointing up. Thi
On Sun, Jan 6, 2013 at 12:14 AM, wrote:
> that's probably it, how do i solve it?
I'm afraid I can't help you there. Check out the docs for the getkey
function and see if it can be put into non-blocking mode; if not, you
may have to completely change your model. For instance, if I were
writing th
that's probably it, how do i solve it?
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jan 5, 2013 at 11:24 PM, wrote:
> hy again,thanx, i updated my code with your more efficient approach :), so
> that possibly resolves problem number 2, but still leaves me with problem
> n°1, my code is still stuck in the first update of the fuel tank
> (brandstoftank), for the sake of
hy again,thanx, i updated my code with your more efficient approach :), so that
possibly resolves problem number 2, but still leaves me with problem n°1, my
code is still stuck in the first update of the fuel tank (brandstoftank), for
the sake of your easyness i'll paste the code again
from vi
On Sat, Jan 5, 2013 at 7:01 AM, wrote:
> woow jeezes, thanks for the amazingly fast and detailed response, you guys
> are amazing.
>
> thanks again, are you guys getting paid for this or is this voluntarily?
> either way i really appreciate it
We're all volunteers (and it's now 7:30AM Saturday
woow jeezes, thanks for the amazingly fast and detailed response, you guys are
amazing.
let's clear a few things up :
1) points is a module in vpython to make points, the points do in fact appear
although its not really the effect i intended to have, the points are "lined
up" in stead of ran
On Sat, Jan 5, 2013 at 6:18 AM, Joshua Landau
wrote:
> It might measure a brand in femtometers ;).
LOL!
> But, seriously, it's Dutch for Fuel Gauge. Google told me, in case you think
> I know Dutch, but it's in the Python Spirit either way.
>
> ruimteschip -> Spaceship
> hoek -> angle
> sterren
On 4 January 2013 19:00, Chris Angelico wrote:
> On Sat, Jan 5, 2013 at 5:59 AM, Chris Angelico wrote:
> > Google tells me that brandstofmeter might mean "Babylon 9"
>
> And by the way, in case it didn't come across, I'm jesting there. What
> I mean is that Google didn't have any useful and obvi
On 2013-01-04 18:59, Chris Angelico wrote:
On Sat, Jan 5, 2013 at 5:23 AM, wrote:
hy everyone, for my exam this year i had to write a computer game on vpython (visualpython).we had to
make a lunar lander game where the ship drops by gravity and is able to manouver to safely land on
the moon.
On Sat, Jan 5, 2013 at 5:59 AM, Chris Angelico wrote:
> Google tells me that brandstofmeter might mean "Babylon 9"
And by the way, in case it didn't come across, I'm jesting there. What
I mean is that Google didn't have any useful and obvious results
indicating what this actually means. But I'm g
On Sat, Jan 5, 2013 at 5:23 AM, wrote:
> hy everyone, for my exam this year i had to write a computer game on vpython
> (visualpython).we had to make a lunar lander game where the ship drops by
> gravity and is able to manouver to safely land on the moon.right now i am
> completely stuck on tr
hy everyone, for my exam this year i had to write a computer game on vpython
(visualpython).we had to make a lunar lander game where the ship drops by
gravity and is able to manouver to safely land on the moon.right now i am
completely stuck on trying to make the visual of the ship rotate.i'm ne
20 matches
Mail list logo