im planning on making a inventory using viewportframes to showcase the items, each item can have upto 100 parts will it cause alot of lag if i have 50 items in the inventory?
According to the wiki (https://developer.roblox.com/en-us/articles/viewportframe-gui)
Moving a viewport’s physical children is less performant than keeping them static. If you need to update the view, it’s better to move the camera than move the parts/models.
Basically meaning, if youre changing the parts a lot it may cause lag.
A viewport frame is not designed for rendering a large number of complex objects — it may be slow if you put too many objects inside.
This meaning, lots of parts may equal lots of lag.
Through actual experience, i havent notice much lag with many viewports, but having lots of parts i've noticed some issues here and there.