2.2.2 Cycle 10
Design
Objectives
Usability Features
Key Variables
Variable Name
Use
Pseudocode
//Scene 'mainMenu'
export Phaser Scene
constructor(){
super('mainMenu')
}
preload(){
}
create(){
background = add.image(0,0 'background)
logo = add.image(innerwidth / 2, innerheight / 2, 'logo')
playbutton = add.image(innerwidth / 2, innnerheight / 2.5, 'playbutton')
settings = add.image(innerwidth / 2, innerheight / 3.5, 'settings')
playbutton.interactive()
playbutton.onclick(){
scene.stop()
scene.start('game')
}
}Development
Outcome
Challenges
Testing
Tests
Test
Instructions
What I expect
What actually happens
Pass/Fail
Tests
Test
Instructions
What I expect
What actually happens
Pass/Fail
Last updated