我想在cocos2d中創建一個倒數計時器,但我忍不住想要解決這個問題,我的代碼在這個下面,也許邏輯錯了,但我無法修復。 -(id) init
{
// always call "super" init
// Apple recommends to re-assign "self" with the "super" return value
if((self=[super init])) {
我真的不知道該怎麼稱呼它或搜索谷歌。我正在嘗試完成顯示一些文本的任務,並在所需的時間後顯示一些新文本。 像這樣 "There is an active code." (4 minutes 32 seconds remaining) <- countdown showing remaining time
然後說10分鐘後去掉「有一個活躍的代碼。」 (4分32秒時)」,並顯示 "Code has