3. Дополненная виртуальность (AV)
EA Sport Games, Nintendo
Сайт; http://www.nintendofuse.com/2009/03/13/ea-sports-active-tiger-woods-10-grand-slam-tennis-wii-motion-plus/
42. class MyGameActivity
extends CardboardActivity
- Экран не отключается
- Портретная ориентация экрна
- Кнопки управления громкостью отключаются
- Скрывает все системные контролы
(Все может быть переопределено)
44. class MyGameRenderer
implements CardboardView.StereoRenderer
- onNewFrame - вызывается каждый раз при рендеринге
- onDrawEye - вызывается для рендеринга сцены для каждого глаза,
- но с разными параметрами
- onFinishFrame - вызывается после рендеринга для обоих глаз
69. Chart data source info here
Chart title
0
25
50
75
100
April May June July
70. Chart data source info here
Chart title
0
25
50
75
100
April May June July
71. <paper-button id="go" disabled>Go!</paper-
HTML
.paper-button {
background-color: red;
CSS
document.querySelector('.paper-button')
.addEventListener('click', function(e) {
// your code here
JavaScript
For really short code snippets,
use this style, with optional
indication of filename or
Visit j.mp/iohighlighter in
Safari and copy + paste into
72. protected void onTryUpdate(int reason) throws RetryException {
// Do some awesome stuff
int foo = 15;
publishArtwork(new Artwork.Builder()
.title(photo.name)
.imageUri(Uri.parse(photo.image_url))
.viewIntent(new Intent(Intent.ACTION_VIEW,
Uri.parse("http://500px.com/photo/" + photo.id)))
.build());
scheduleUpdate(System.currentTimeMillis() + ROTATE_TIME_MILLIS);
} Visit j.mp/iohighlighter in
Safari and copy + paste into
MainActivity.j
If your code snippet is over 6 lines, use
a full-page slide of code in this style
73. protected void onTryUpdate(int reason) throws RetryException {
// Do some awesome stuff
int foo = 15;
publishArtwork(new Artwork.Builder()
.title(photo.name)
.imageUri(Uri.parse(photo.image_url))
.viewIntent(new Intent(Intent.ACTION_VIEW,
Uri.parse("http://500px.com/photo/" + photo.id)))
.build());
scheduleUpdate(System.currentTimeMillis() + ROTATE_TIME_MILLIS);
}
MainActivity.j
Use this style to highlight a particular
74. // A couple more notes on code slides:
// * Use the Inconsolata font available at google.com/fonts
// * Set line spacing to 1.2
// * Don’t use font sizes below 40pt
code_slides.tx
75. Photos make for
excellent segue slides
Photo source info here
Use a semitransparent dark gray
or black to ensure text is legible
81. Avoid using titles
• Also try to avoid bullets
·
Here’s what sub-bullets look like
·
But you should generally avoid them, too
• Think about all the awesome visuals
you could be showing instead!
• A third bullet (by now, no one’s paying
attention to what you’re actually saying)
• DON’T USE 3RD-LEVEL BULLETS!
But when you need to use them, sentence case