début de graphics

This commit is contained in:
electro positron 2024-01-19 23:42:18 +01:00
parent 5700673c46
commit b53967df48
8 changed files with 28 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
renpy.texture
renpy.ftl
renpy.dissolve renpy.dissolve
renpy.geometry renpy.texture
renpy.solid
renpy.geometry renpy.solid
renpy.solid
renpy.ftl
renpy.dissolve renpy.geometry
renpy.texture

View file

@ -1,3 +1,8 @@
# Création du sprite du personnage
init 50:
image personnage = Placeholder("[m.c]")
# Définition des éléments communs aux personnages
init 0 python:
class Personnage(object):

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -1,4 +1,18 @@
# Déclaration des décors
init 55:
image hall_entree = Placeholder('bg')
label matin:
if m.genre == "homme":
image personnage = Placeholder('boy')
elif m.genre == 'femme':
image personnage = Placeholder('girl')
show hall_entree
show personnage at left
m.c "Me voici arrivé au travail, allez zou au boulot."
return

View file

@ -1,5 +1,10 @@
init 50:
image patron = Placeholder('boy')
label negociation_patron:
show patron at right
m.c "Bonjour patron, donne-moi une augmentation !"
call expression patron_safe.parle("bonjour")
m.c "Non, je veux pas m'assoir !"