Performance selector is now working

Selecting something under "Powerful" will now remove some useless props from the scene, in order to save some RAM and CPU.
Not the ideal way of helping cheap computers, but for now it'll work. Maybe I will find something better later
This commit is contained in:
2024-03-08 22:01:05 +01:00
parent 2fb21764da
commit e5eac063ed
4 changed files with 44 additions and 25 deletions

View File

@@ -16,10 +16,10 @@
<div id="quality">
<label for="quality-select">How strong is your computer ?</label><br>
<select id="quality-select">
<option value="max">Powerful</option>
<option value="high">High</option>
<option value="mid">Normal</option>
<option value="low">Low</option>
<option value="1">Powerful</option><!-- Percentage of props that will be placed -->
<option value="0.85">High</option>
<option value="0.6">Normal</option>
<option value="0.35">Low</option>
</select>
</div>
<!--<div id="language">