THIS PLUGIN HAS BEEN REMOVED FROM THE PLUGIN STORE BECAUSE IT DOES NOT WORK
this plugin is currently in a broken state and i am unable to resolve this anytime soon, ive only left this post up for archival reasons.
betterThumb.png (304.8 KiB) Viewed 6745 times
this plugin adds a button to your sidebar, when pressed the camera will slowly move to random points in your city until you disable it.
This plugin is also available on the plugin store.
the tool will run just fine on mobile but the camera speed is framerate dependend, since i made the plugin on pc the camera speed is adjusted for ~200 fps. Obviously phones have a way lower framerate and the camera will move ungodly slow there. Thankfully i think i found a fix to normalize for framerate so i should have a fix tomorrow
yeah it doesnt like it when you rotate for some reason, in the update its gonna lock your rotation cuz i dont think ill be able to fix it.
also its supposed to look like this: https://youtu.be/N-WM5pDmQH8 (ignore ja's party house)
This is a really cool plug-in. I've always wondered if something like this was possible, but I just didn't have the time to test it myself.
If I were to make one suggestion, I wish the icon would disappear in Hide UI mode.
the camera speed is now adjusted for your devices fps, which should give approximately the same camera speed on pc and mobile. Also rotating no longer breaks it as a side effect of some optimizations ive made
the tool will run just fine on mobile but the camera speed is framerate dependend, since i made the plugin on pc the camera speed is adjusted for ~200 fps. Obviously phones have a way lower framerate and the camera will move ungodly slow there. Thankfully i think i found a fix to normalize for framerate so i should have a fix tomorrow
If you don't mind me asking, how did you fix this framerate issue?
local lastMS = 0
local movementPerSecond = 42
local x = 0
function script:update()
local ms = Runtime.getTime()
local passedSeconds = (ms - lastMS) / 1000
if passedSeconds <= 1 then
x = x + movementPerSecond * passedSeconds
end
lastMS = ms
end