-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcredits.js
20 lines (19 loc) · 955 Bytes
/
credits.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Credits extends Phaser.Scene {
constructor() {
super('Credits')
}
create() {
this.add.text( 175, 75, 'Arrithmetic', {fill: '#000000', fontSize: '40px'})
this.add.text( 175, 125, 'Version 0.0.2 (alpha)', {fill: '#000000', fontSize: '30px'})
this.add.text( 175, 175, 'Game design: Dmitry Yaskovich', {fill: '#000000', fontSize: '20px'})
this.add.text( 175, 200, 'Development: Dmitry Yaskovich', {fill: '#000000', fontSize: '20px'})
this.add.text( 175, 225, 'Graphics: Dmitry Yaskovich', {fill: '#000000', fontSize: '20px'})
this.add.text( 175, 250, 'Audio: Dmitry Yaskovich', {fill: '#000000', fontSize: '20px'})
this.add.text( 175, 275, 'QA: Dmitry Yaskovich', {fill: '#000000', fontSize: '20px'})
this.add.text( 175, 500, 'Dimini Inc., 2021', {fill: '#000000', fontSize: '20px'})
this.input.on('pointerdown', () => {
this.scene.stop('Credits');
this.scene.start('Menu');
})
}
}