ncase.me-trust/js/slides/0_Slides_Intro.js
2017-07-12 09:42:17 -04:00

43 lines
No EOL
739 B
JavaScript

/********************
0. Introduction
1. One Game
2. Repeated Game
3. One Tournament
4. Repeated Tournament
5. Making Mistaeks
6. Sandbox
7. Conclusion
X. Credits
Labels should be in the en.html folder
*********************/
SLIDES.push({
id: "intro",
onstart: function(self){
// Splash in background
self.add({ id:"splash", type:"Splash" });
// Circular Wordbox
self.add({
id:"intro_text", type:"TextBox",
x:160, y:10, width:640, height:500, align:"center", size:19,
text_id:"intro"
});
// Button
self.add({
id:"intro_button", type:"Button", x:385, y:466,
text_id:"intro_button", fontSize:16, upperCase:false,
message:"slideshow/scratch"
});
},
onend: function(self){
self.clear();
}
});