HSP - Hot Soup Processor [15]at GAMEDEVHSP - Hot Soup Processor [15] - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト111:名前は開発中のものです。 07/06/24 17:04:49 pviiOgcx //-------------------------------------- repeat getkey k_esc, 27//esc強制終了 if k_esc==1: goto *gameend es_timer tm if tm>=tmnxt: gosub *mainloop//メインループ await 0 loop //-------------------------------------- *gameend es_bye: end //////////////////////////////////////// *mainloop es_getfps fps//fps取得 tmnxt+=tmwait//fps管理 //-------------------------------------- es_cls//裏画面 pos 0, 0 es_mes "fps="+fps, -2 pos 0, 16 es_mes "tm="+tm, -2 pos 0, 32 es_mes "tmnxt="+tmnxt, -2 pos 0, 48 es_mes "tmwait="+tmwait, -2 //-------------------------------------- es_sync 0 return 112:名前は開発中のものです。 07/06/24 18:07:32 ZU4NTMm1 別にes_timerなんてややこしいことしなくても repeat es_sync 16 // ≒ 1000 / 60 await 0 loop だけで60fpsになるはず。 repeat es_cls es_getfps fps pos 0, 0 es_mes str(fps) + "fps." es_sync 16 await 0 loop とでもしてみ。 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch