rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.2k stars 260 forks source link

Typo correction: batch file launch JS example in place of TS one. #456

Closed PatBG closed 1 month ago

PatBG commented 1 month ago

"examples\board\touch-event-ts.bat" launch "touch-event.js" in place of "touch-event-ts.ts"

PatBG commented 1 month ago

Sorry if I'm not very used to Git, this Pull Request is only about the typo correction of the batch file (1 file changed), I'm confused that my 2 previous commit appear here (no consequence).

PatBG commented 1 month ago

I need to RTFM to better understand the process of GIT push/pull/request... There is a second correction that need to be done after this Pull Request: the "examples\board\touch-event-ts.ts" script need to be corrected Line 43: Replace: this.add.text(chess.x, chess.y, tileXY.x + ',' + tileXY.y) By: scene.add.text(chess.x, chess.y, tileXY.x + ',' + tileXY.y) Because "this" is undefined here.

rexrainbow commented 1 month ago

Thanks for finding this bug, PR merged.