Amakuo
Newbie
- Jun 17, 2021
- 82
- 154
- 124
Firefox fix
Follow these three steps to force the game to let you play it regardless of your browser and (mostly) fix the layout. Made for Prologue Build v0.01a, don’t expect updates.
1. Remove the browser compatibility warning. In World of Bemoria.html, at line 19884, remove these four lines:
2. Load in an additional CSS file to fix the broken layouts. In World of Bemoria.html, at line 20464, after this line:
add:
3. Download the attached .txt file to the game’s folder (next to World of Bemoria.html) and rename it to firefix.css (since I can’t attach a .css file).
Bemorian Studios I’m sorry to say that your HTML/CSS is a mess. I’m surprised it works on Chromium browsers and I would advise rebuilding it to standards before you’re too far along adding content and interfaces onto this shoddy foundation. Specifically, the way you use flexboxes, negative margins and absolute/relative positioning is kind of wild and the equivalent of fixing everything with duct tape. It’s not scalable at all to other resolutions and you’re probably going to hate yourself if you ever decide to add more buttons/options/longer text than what is currently there or move things around.
That aside, two general bugs:
Curious to see this develop, good luck!
Follow these three steps to force the game to let you play it regardless of your browser and (mostly) fix the layout. Made for Prologue Build v0.01a, don’t expect updates.
1. Remove the browser compatibility warning. In World of Bemoria.html, at line 19884, remove these four lines:
JavaScript:
if (!isChrome && !isChromium && !isEdge) {
showErrorScreen();
return false;
}
JavaScript:
document.head.appendChild(styleElement);
JavaScript:
// Firefix
var firefix = document.createElement('div');
firefix.innerHTML = '<link href="firefix.css" rel="stylesheet">';
document.head.appendChild(firefix);
Bemorian Studios I’m sorry to say that your HTML/CSS is a mess. I’m surprised it works on Chromium browsers and I would advise rebuilding it to standards before you’re too far along adding content and interfaces onto this shoddy foundation. Specifically, the way you use flexboxes, negative margins and absolute/relative positioning is kind of wild and the equivalent of fixing everything with duct tape. It’s not scalable at all to other resolutions and you’re probably going to hate yourself if you ever decide to add more buttons/options/longer text than what is currently there or move things around.
That aside, two general bugs:
- At line 25865, you should not add "Check" to the updated text content of span#rollType since it’s already present after the element. Otherwise you end up with something like "Roll for Seduction Check Check". (Or vice versa if you want "check" styled the same way as the attribute.)
- At line 30492, you should remove the + sign after span#targetNumber since you already have a JS function adding it inside the element when checking whether the player has a bonus. Otherwise you end up with something like "You need 4+ (you have +1 bonus)+ to succeed".
Curious to see this develop, good luck!