Return to Video

PS 04-36 Centrado de ViewRect

  • 0:00 - 0:04
    La primera cosa que haremos es poner
    los valores viewRect de ancho y altura
  • 0:04 - 0:06
    iguales al tamaño del lienzo.
    Así sabemos que el viewRect
  • 0:06 - 0:10
    va a abarcar todo cuanto el lienzo
    en realidad puede ver. A partir de aquí,
  • 0:10 - 0:14
    traducimos los valores X y Y
    de la viewRect contrarestándolos
  • 0:14 - 0:19
    a la mitad del tamaño. Lo que esto
    va a hacer es cambiar la viewRect,
  • 0:19 - 0:22
    de modo que los valores X y Y
    queden en el centro de la viewRect;
  • 0:22 - 0:25
    o sea, que está en el centro
    de lo que el lienzo dibujará.
Title:
PS 04-36 Centrado de ViewRect
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
CS255 - HTML5 Game Development
Duration:
0:25
  • Dear Nidia:

    Please check the length of your subtitles. Many of them exceed the length rule of the guidelines. Subtitles shouldn't be longer than 42 characters per line.
    Please pay special attention to line breaks. According to the guidelines it's better to avoid ending phrases with prepositions or connectors, (e.g: que, y, con, de, etc.) So, instead try to move them to the beginning of the next phrase.

    If a subtitle is longer, you can easily break lines in the Beta editor just by pressing shift+enter.
    If the length of the subtitle exceeds 84 characters (42 per line) you can move the remaining text to a new line or to the next subtitle line.
    After this please, remember to adjust time accordingly.

    Kindest regards.

  • Please, check line length.

  • Dear Nidia:

    Beta Editor allows you to make all the changes that you need.
    Beta Editor allows you to add as many new lines as you need to any subtitle, you can do this by pressing the "+" sign that appears between lines.
    So, in this way you won't have to cut phrases and leave them incomplete or making no sense at all.

    Please remember that each subtitle has a maximum length of 42 characters per line and two lines max.
    The shorter one shouldn't be less than 50% the length of the longer one.
    This editor also provides you a very useful "character counter" that appears in a dialog box on the right side of each subtitle line, so in this way you can verify if each line meets the rule of 42 chars. per line.
    If a subtitle is longer, you can easily break lines in the Beta editor just by pressing shift+enter.
    If the length of the subtitle exceeds 84 characters(42 per line) you can move the remaining text to a new line or to the next subtitle line. After this please, remember to adjust time accordingly.

    If you have any question please feel free to contact me.

    Best wishes.

Spanish, Mexican subtitles

Revisions Compare revisions