Implement basic scene manager with ability to switch between scenes
This commit is contained in:
parent
9063b45180
commit
f9079e4823
7 changed files with 75 additions and 21 deletions
|
|
@ -57,6 +57,7 @@ export class Player {
|
|||
}
|
||||
|
||||
private drawCursorIndicator(x: number, y: number, size: number) {
|
||||
mp5.strokeWeight(2);
|
||||
mp5.stroke(mp5.color(colors.black));
|
||||
mp5.line(x - size, y + size, x + size, y - size);
|
||||
mp5.line(x + size, y - size, x - size, y + size);
|
||||
|
|
|
|||
Reference in a new issue