トピック
KuroHana elijahpwg

I know this is a dumb question, but how do I use and detect the touch screen?

4そうだね
プレイ済み
返信[1]
親投稿
Caesar Caesar267
Use the XSCREEN command. I recommend checking the help section for various settings. Hope this helps! Happy programming!
0そうだね
プレイ済み
返信[2]
親投稿
KuroHana elijahpwg
Where is the help section
0そうだね
プレイ済み
返信[3]
親投稿
OlOOlOOl pi_r_round
The code in the attached screenshot shows how to detect touches on the touch screen. Help can be accessed by positioning your cursor on a SmileBasic command then tapping the [?] button near the upper right corner of the touch screen.
2そうだね
プレイ済み
返信[4]
親投稿
PChicken NerdChicken
The touchscreen is an important part of programming! Use TOUCH OUT TM, TX, TY. If TM equals 0, then it's not being touched. You can figure out the rest pretty easily.
1そうだね
プレイ済み
返信[5]
親投稿
KuroHana elijahpwg
how do i clear the bottom screen?
0そうだね
プレイ済み
返信[6]
親投稿
OlOOlOOl pi_r_round
Clear it of what? If you want the keyboard to disappear, the XSCREEN 2 will do that, but it'll reappear when your program is finished running. If you've printed text to the lower console screen, try DISPLAY 1 and CLS. If you've drawn graphics on the lower screen, try DISPLAY 1 and GCLS.
1そうだね
プレイ済み