Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- загружаем библиотеки и получаем прокси видеокарты
- local component = require("component")
- local event = require("event")
- local gpu = component.gpu
- WIDTH = 150
- HEIGHT = 35
- -- устанавливаем разрешение
- gpu.setResolution(WIDTH, HEIGHT)
- print("Разрешение изменено на "..WIDTH.." x "..HEIGHT)
- -- gpu.setBackground(0x000000)
- -- gpu.fill(1, 1, WIDTH*2, HEIGHT, " ")
- -- gpu.setResolution(gpu.maxResolution())
Add Comment
Please, Sign In to add comment