diff --git a/ropy-31.blend b/ropy-31.blend index cd6daf9..dbfee23 100644 Binary files a/ropy-31.blend and b/ropy-31.blend differ diff --git a/rp_config.xml b/rp_config.xml index aae8bf8..f13a7df 100644 --- a/rp_config.xml +++ b/rp_config.xml @@ -8,8 +8,8 @@ 20.22315788269043 - 1280 - 720 + 960 + 540 diff --git a/rp_store.py b/rp_store.py index 729fd91..50a2930 100644 --- a/rp_store.py +++ b/rp_store.py @@ -38,6 +38,8 @@ ACTIVATE = bge.logic.KX_INPUT_ACTIVE def init(): + print ("init") + # Mémorisation de la position de la tablette du store scene.objects["Store"]['init_lx']=scene.objects["Store"].worldPosition.x scene.objects["Store"]['init_ly']=scene.objects["Store"].worldPosition.y @@ -46,10 +48,10 @@ def init(): # Placement de la position de la tablette du store scene.objects['Store'].worldScale = [0.01, 0.01, 0.01] # applyRotationTo(scene.objects['Store'], None, (-0.2*math.pi)/180, (115*math.pi)/180, False) - applyRotationTo(scene.objects['Store'], None, (-2.38*math.pi)/180, (100*math.pi)/180, False) + applyRotationTo(scene.objects['Store'], None, (-2.38*math.pi)/180, (100*math.pi)/180, False) # dernière version # scene.objects['Store'].applyRotation((math.pi/2+(0.59189*math.pi)/180, 0, 0), True) - # scene.objects['Store'].applyRotation((math.pi/2+(3*math.pi)/180, 0, 0), True) - scene.objects['Store'].applyRotation((math.pi/4+(2*math.pi)/180, 0, 0), True) + # scene.objects['Store'].applyRotation((math.pi/4+(2*math.pi)/180, 0, 0), True) # avant dernière version + scene.objects['Store'].applyRotation((math.pi/2+(3*math.pi)/180, 0, 0), True) # dernière version ## # Ouverture du store