[gcompris: 106/111] decrease change in height - place_your_satellite



commit 3599a9b6c3e1c967427e41c2569694e853190b55
Author: serah <serah4291 gmail com>
Date:   Thu Sep 20 12:28:22 2012 +0530

    decrease change in height - place_your_satellite

 .../place_your_satellite.py                        |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/place_your_satellite-activity/place_your_satellite.py b/src/place_your_satellite-activity/place_your_satellite.py
index 99cf46f..e566f68 100644
--- a/src/place_your_satellite-activity/place_your_satellite.py
+++ b/src/place_your_satellite-activity/place_your_satellite.py
@@ -236,7 +236,7 @@ class Satellite:
       self.satellite = goocanvas.Image(
         parent = self.rootitem,
         pixbuf = gcompris.utils.load_pixmap(
-            "place_your_satellite/satellite.png"),
+          "place_your_satellite/satellite.png"),
         x = x,
         y = y)
       self.satellite_exists = True
@@ -444,8 +444,8 @@ class Speed:
   def set_speed(self, change):
     if self.satellite_instance.speed > 0:
       self.satellite_instance.speed += change * 2
-      self.satellite_instance.distance += change * 200 * -1
+      self.satellite_instance.distance += change * 100 * -1
     else:
       self.satellite_instance.speed += change * 2 * -1
-      self.satellite_instance.distance += change * 200 * -1
+      self.satellite_instance.distance += change * 100 * -1
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]