Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はチタン スタジオを使用して音楽ゲームを作成しています。イメージ ビューを別の場所にドラッグ アンド ドロップし、そのイメージ ビューをその場所にドロップしたときに音声を聞きたいです。
画像とスポットの上、左、高さ、幅の値を確認し、それらが交差したときにトーンを鳴らします:)
//I tought variables are defined. if(!(img_top>spot_top+height) && !(img_top+height<spot_top) && !(img_left>spot_left+width) && !(img_left+width<spot_left) { //intersected action. }