Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/694f5245-1110-800b-b182-7c2accd50046
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== ✅ 你現在該怎麼做(最省力、成功率最高) ==== ===== 1) 新聊天室的第一句就立「規則」 ===== 把這段丟給 Gemini(直接貼): : 你接下來只能依照我貼上的檔案內容工作,不得自行腦補、不得省略、不得用... : 任何 function/class/const 若引用到但未定義,請回報「缺少清單」,不要猜。 : 你的任務是:先確認流程(bootOnce → opening → mechSelect → saferoom → combat → clear → reward → next),再修復 bug。 這一句的效果是:把它從「創作模式」鎖回「工程模式」,避免它自己補劇情補到把 init 又寫回來。 ===== 2) 只搬「成熟果肉」:一次給它最小可運作核心 ===== 你其實已經有 cleaned_js_modules.zip 了(那包就是果肉👍)。 在新聊天室你先只貼「檔名列表 + 入口點」: * Config_Localization.js * State_Init.js * GameLoop.js * UISystem.js * MapSystem.js * EnemyAI.js * CombatSystem.js * Architecture.js 然後要求它做兩件事: # 畫出一張狀態機表(uiState 會有哪些值,怎麼跳) # 列出 boot/init/startNewRun 的責任分離 只要它先把「責任分離」講清楚,它就比較不會亂把 opening 叫回來。 ===== 3) 遇到「opening 回魂」這種歪掉,直接用三刀斬(不靠上下文) ===== 在新聊天室你讓它照這三刀改(不用它理解歷史): * 刀 1:boot guard(init 只能跑一次) * 刀 2:startNewRun 不碰 opening DOM * 刀 3:每幀如果不是 OPENING 就強制 hidden opening 這三刀是「工程保命套件」,不管它哪裡寫歪,都能把最惡性的回魂壓住。
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)