mirror of
https://forge.apps.education.fr/blender-edutech/jumeaux-numeriques.git
synced 2024-01-27 06:56:18 +01:00
About : logo de la forge
This commit is contained in:
parent
a0cf0f59fc
commit
d9ea3f6ba3
@ -49,7 +49,7 @@ Les applications pédagogique se trouvent dans le [dépôt des ressouces pédago
|
||||
https://forge.aeif.fr/blender-edutech/jumeau-numerique . </div> <div> </div> <div> L'environnement de développement est basé sur : la plateforme de
|
||||
modélisation et d'animation 3D [Blender](https://blender.org), le langage [Python](https://python.org) et le moteur de jeu 3D
|
||||
[UPBGE](https://upbge.org). </div> <div> </div> <div> La version de Blender/UPBGE utilisée pour le développement est la version 0.36.1 (20 août
|
||||
2023). Etant trop lente sous Windows, la version utilisée pour le déploiement (mise en production) est la version 0.30 (3 décembre 2021).</td>
|
||||
2023).</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
2
twin.py
2
twin.py
@ -18,7 +18,7 @@ import twin_about # About
|
||||
# @project: Blender-EduTech
|
||||
# @lang: fr
|
||||
# @authors: Philippe Roy <philippe.roy@ac-grenoble.fr>
|
||||
# @copyright: Copyright (C) 2020-2023 Philippe Roy
|
||||
# @copyright: Copyright (C) 2020-2024 Philippe Roy
|
||||
# @license: GNU GPL
|
||||
#
|
||||
# Cet environnement 3D est programmable en Python. Il est destiné à la découverte de la programmation de système pluritechnologique.
|
||||
|
@ -9,7 +9,7 @@ import webbrowser
|
||||
# @project: Blender-EduTech
|
||||
# @lang: fr
|
||||
# @authors: Philippe Roy <philippe.roy@ac-grenoble.fr>
|
||||
# @copyright: Copyright (C) 2020-2023 Philippe Roy
|
||||
# @copyright: Copyright (C) 2020-2024 Philippe Roy
|
||||
# @license: GNU GPL
|
||||
###############################################################################
|
||||
|
||||
@ -44,8 +44,8 @@ credits_description = {
|
||||
'Matplotlib' : ["Matplotlib","Bibliothèque de visualisation graphique de données","https://matplotlib.org", "BSD"],
|
||||
'wxWidgets' : ["wxWidgets","Bibliothèque GUI","https://www.wxwidgets.org", "wxWindows Library Licence"],
|
||||
'wxPython' : ["wxPython","API Python de wxWidgets","https://www.wxpython.org", "GNU GPL"],
|
||||
'Qt5' : ["Qt5","Bibliothèque GUI","https://www.qt.io", "GNU LGPL-3"],
|
||||
'PyQt' : ["PyQt","API Python de Qt5","https://www.riverbankcomputing.com/software/pyqt","GNU GPL"],
|
||||
'Qt6' : ["Qt6","Bibliothèque GUI","https://www.qt.io", "GNU LGPL-3"],
|
||||
'PyQt' : ["PyQt","API Python de Qt6","https://www.riverbankcomputing.com/software/pyqt","GNU GPL"],
|
||||
'Game-icons.net' : ["Game-icons.net","Icônes","https://game-icons.net/","CC BY 3.0"],
|
||||
'Kenney' : ["Kenney","Icônes","https://www.kenney.nl/","CC0 1.0"],
|
||||
'EspressoDolce' : ["Espresso Dolce","Police de caractères","https://www.dafont.com/fr/espresso-dolce.font", "OFL"]}
|
||||
@ -68,7 +68,9 @@ def open():
|
||||
scene.objects['Script-text'].setVisible(False,True) # Crash de UPBGE sur la supression de l'Overlay
|
||||
scene.objects['About_close'].color= color_link
|
||||
scene.objects['About_credits'].color= color_link
|
||||
scene.objects['Credits_close'].color= color_link
|
||||
scene.objects["About_text-git"].color = color_link
|
||||
scene.objects["About_text2-git"].color = color_link
|
||||
scene.objects["About_text-upbge"].color = color_link
|
||||
|
||||
# Mémorisation de la position des pages
|
||||
scene.objects["About"]['init_lx']=scene.objects["About"].worldPosition.x
|
||||
@ -143,16 +145,33 @@ def close(cont):
|
||||
##
|
||||
|
||||
def hl(cont):
|
||||
|
||||
# Focus souris
|
||||
if cont.sensors['MO'].status == JUST_ACTIVATED:
|
||||
obj = cont.owner
|
||||
name=obj.name[:-7]
|
||||
scene.objects[name].color = color_link_hl
|
||||
|
||||
# Liens composés de texte
|
||||
if name == "About_link-git":
|
||||
scene.objects["About_text-git"].color = color_link_hl
|
||||
scene.objects["About_text2-git"].color = color_link_hl
|
||||
if name == "About_link-upbge":
|
||||
scene.objects["About_text-upbge"].color = color_link_hl
|
||||
|
||||
# Perte du focus souris
|
||||
if cont.sensors['MO'].status == JUST_RELEASED:
|
||||
obj = cont.owner
|
||||
name=obj.name[:-7]
|
||||
scene.objects[name].color = color_link
|
||||
|
||||
# Liens composés de texte
|
||||
if name == "About_link-git":
|
||||
scene.objects["About_text-git"].color = color_link
|
||||
scene.objects["About_text2-git"].color = color_link
|
||||
if name == "About_link-upbge":
|
||||
scene.objects["About_text-upbge"].color = color_link
|
||||
|
||||
##
|
||||
# Liens
|
||||
##
|
||||
@ -183,6 +202,7 @@ def credits(cont):
|
||||
scene.objects["About"].worldPosition.z = scene.objects["Credits"]['init_lz']
|
||||
scene.objects['About'].setVisible(False,True)
|
||||
scene.objects['Credits'].setVisible(True,True)
|
||||
scene.objects['Credits_close'].color= color_link
|
||||
|
||||
# Afficher les descriptions
|
||||
credits_description_list=list (credits_description)
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user