ncase.me-trust/js/slides/0_Slides_Intro.js
2017-07-13 11:07:33 -04:00

43 lines
No EOL
722 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:304, y:466, size:"long",
text_id:"intro_button",
message:"slideshow/scratch"
});
},
onend: function(self){
self.clear();
}
});