Add infinite clones option
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -189,6 +189,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<input name="turbowarp.username" type="text" value="">
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label>
|
||||
Infinite clones
|
||||
<input name="turbowarp.infiniteClones" type="checkbox">
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
Stage size
|
||||
<input name="turbowarp.stageSize.width" type="number" value="480">
|
||||
|
||||
@@ -272,6 +272,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
handleProjectLoaded: function () {
|
||||
vm.setCompilerOptions(${stringify(this.options.compilerOptions)});
|
||||
vm.setFramerate(${stringify(this.options.framerate)});
|
||||
if (${stringify(this.options.infiniteClones)}) vm.setRuntimeOptions({ maxClones: Infinity });
|
||||
if (${stringify(this.options.highQualityPen)}) vm.renderer.setUseHighQualityRender(true);
|
||||
if (${stringify(this.options.turbo)}) vm.setTurboMode(true);
|
||||
if (${stringify(this.options.interpolation)}) vm.setInterpolation(true);
|
||||
|
||||
Reference in new issue
Block a user