SmileBASIC コミュニティトピックAaron Krondelo2017/01/06 16:38:10質問Implementing Time?I'm wondering how you guys would implement time in your game. More specifically would be for a survival game where you ho through each day/night.1そうだね 4返信プレイ済み2017/11/04 04:40:50に取得
SmileBASIC コミュニティ返信[1]親投稿PChicken NerdChicken2017/1/7 0:07IF MAINCNT-PMCNT > 59 THEN INC MIN IF MIN > 59 THEN MIN=0 INC HOUR ENDIF IF HOUR > 23 THEN HOUR=0 INC DAY ENDIF PMCNT=MAINCNT ENDIF1そうだね プレイ済み2017/11/04 04:40:50に取得
SmileBASIC コミュニティ返信[2]親投稿Aaron Krondelo2017/1/7 2:55That's one way, what is PMCNT? Also, I was thinking to just have certain actions require certain amounts of time, then you have to be in bed by 10 pm.0そうだね プレイ済み2017/11/04 04:40:50に取得
SmileBASIC コミュニティ返信[3]親投稿PChicken NerdChicken2017/1/7 3:34PMCNT is not a system variable. It just stands for Previous Main Count.0そうだね プレイ済み2017/11/04 04:40:50に取得
SmileBASIC コミュニティ返信[4]親投稿Aaron Krondelo2017/1/7 4:19Oh gotchya, thanks!0そうだね プレイ済み2017/11/04 04:40:50に取得