Escena 21

El salón

Escena 21

General

Lugar: Países Bajos

El salón es una de las primeras escenas del juego y ya contiene varios objetos que puedes usar.

Como ves, el juego transcurre en algún momento entre los años 60 y 80, cuando todavía no había internet. ¡Qué buenos tiempos, jaja! :) Elegí esa época a propósito, como quedará claro más adelante en el juego.

Diseño

Esta es la segunda escena que ha pasado del boceto al estilo pixel perfect. Lo difícil fue sobre todo que las proporciones y la perspectiva quedaran bien. Todo se puede mejorar siempre, pero por ahora, con la iluminación, se ve muy bien. Tiene varias animaciones, como encender la tele o abrir el grifo o la nevera.

Boceto de la escena 21

El boceto de la escena 21

He ganado mucha experiencia montando la escena. La integración con Engine3 también funciona bien. Aquí abajo, un ejemplo abreviado.

framesets:
  animation/20059: # tv
    framesetArguments:
      x: 224
      y: 91
      zindexType: above # put on top of the given zindexStatic after processing
      zindexStatic: 44
    # audiosetArguments:
    #   audiosetType: *audioset-type-loop
    #   loopDelay: 0
    class: *class-animation
    ukey: *tv
    clickable: true
    animationKey: 1
    animationStatus: *animation-pause
  #  audioset: assets/audio/20055/audio.mp
  item/20058: # plant
    framesetArguments:
      x: 178
      y: 70
      zindexType: above # put on top of the given zindexStatic after processing
      zindexStatic: 46
    class: *class-item
    ukey: *plant-21
    clickable: true
  item/20057: # cooking-pot
    framesetArguments:
      x: 404
      y: 66
      zindexType: above # put on top of the given zindexStatic after processing
      zindexStatic: 45
    class: *class-item
    ukey: *cooking-pot
    clickable: true
# HOVER
# ==================================================
*action-hover:
  *newspaper: newspaper
  *books-21: books
  *door-21: door
  *fridge: fridge
  *faucet: faucet
  *hotspot-21-stairs: Go upstairs
  *cooking-pot: cooking pot
  *plant-21: plant
  *tv: tv

# SCENE GLOBAL USE
# ==================================================
*action-use:
  *tv:
    - <<: *walk
      id: 210054
      target:
        x: 263
        y: 148
        framesetIndex: *move-up # force actor to frameset up, head to towards the tv
    - <<: *animation
      id: 210056
      ukey: *tv
      animationStatus: *animation-toggle
      animationKeys: [2,3,4]
      animationType: *animation-type-loop
      dontWaitForCallback: true