Page 1 of 1

Using handycam.lua messes up my HUD

Posted: Sun Feb 28, 2021 10:46 am
by DB12
Im just trying to do something simple with handycam.lua to zoom the screen in

Code: Select all

local handycam = require("handycam")
handycam[1].zoom = 1.5625
handycam[2].zoom = 1.5625
When i use this my HUD is shrunken, and when I drop an item, it spawns where it would've been if didn't zoom the screen in.

Image

Image
any help would be appreciated

Re: Using handycam.lua messes up my HUD

Posted: Sun Feb 28, 2021 7:20 pm
by Hoeloe
The HUD is exactly the same size. The rest of the screen just got bigger.

As for the dropped item, you basically need to detect when an item is dropped from the itembox and move it to the correct location.

Re: Using handycam.lua messes up my HUD

Posted: Mon Mar 01, 2021 8:18 am
by DB12
Im not good at all at lunalua, so how would i go about doing this? also where can i get started learning it?