This is amazing. I think you deserve a +1.
2
multiglass - Now 101% less useless! (Now with multiple window support) (OpenPeripheral Glasses)
Started by blunty666, Sep 04 2015 08:11 PM
computer peripheral
29 replies to this topic
#21
Posted 13 October 2015 - 06:11 PM
#23
Posted 16 October 2015 - 01:43 AM
Now add multiple panel support!
#24
Posted 25 October 2015 - 07:13 PM
DemHydraz, on 16 October 2015 - 01:43 AM, said:
Now add multiple panel support!
Don't worry I'm working on it! To help improve performance to make this possible I have a new version to share. The windows now have an active buffer and an update buffer which allows the 'term' functions of the window to perform at the same speed as the vanilla CC windows. The new function, 'pushUpdates()', pushes any changes in the update buffer to the active buffer and updates the screen in the process. Hopefully this will keep the lag to a minimum when I get round to having multiple windows on the screen, just need to work out how I want to implement this now...
The Dev version is available at pastebin: nTQN6hQA
(Requires OpenPeripheralAddons dev build 218 or greater)
#26
Posted 01 January 2016 - 03:25 PM
Awesome!
#27
Posted 02 January 2016 - 02:03 AM
Now, we need more programs like this one in CC. It's creative, and well designed.
#28
Posted 03 October 2016 - 10:05 PM
Hi there, i wanted to try out your code and i couldn't run the code, so i saw that theres a problem with the code
I'm no specialist, but i changed this(line 1201):
Amazing job btw! Respect
I'm no specialist, but i changed this(line 1201):
local surfaceHandler = tiles.new(playerSurface) local player = { capture = bridge.getCaptureControl(playerUUID), surfaceHandler = surfaceHandler, }to this:
local capture = bridge.getCaptureControl(playerUUID) local surfaceHandler = tiles.newSurfaceHandler(playerSurface, capture) local player = { capture = capture, surfaceHandler = surfaceHandler, }and it seemed to fix the issue.
Amazing job btw! Respect
#29
Posted 05 October 2016 - 09:29 PM
Saadar, on 03 October 2016 - 10:05 PM, said:
Thanks for letting me know! I've been working on this on and off for a while now and the latest code is only Github at the moment. I'll get the pastebins updated over the weekend and maybe do a quick installer for Github to try and avoid this issue going forward.
#30
Posted 08 October 2016 - 08:21 AM
Saadar, on 03 October 2016 - 10:05 PM, said:
Ok so I've updated the pastebin to the latest version which will automatically download the required APIs when it runs. Give it a go and let me know if there are any problems.
The main change is that it now uses the 'guiTiles' API, and the windows are in their own API (the glassWindow API), so you can more easily create your own programs that use them if you want to.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users