tomdotbat / pixel-ui Goto Github PK
View Code? Open in Web Editor NEWA modern, optimised UI library to replace derma and other slow built in Garry's Mod functions.
Home Page: https://tomdotbat.dev
License: GNU General Public License v3.0
A modern, optimised UI library to replace derma and other slow built in Garry's Mod functions.
Home Page: https://tomdotbat.dev
License: GNU General Public License v3.0
[pixel-ui-1.3.1] addons/pixel-ui-1.3.1/lua/pixelui/drawing/cl_images.lua:31: bad argument #1 to 'setMaterial' (IMaterial expected, got nil)
1. setMaterial - [C]:-1
2. drawProgressWheel - addons/pixel-ui-1.3.1/lua/pixelui/drawing/cl_images.lua:31
3. DrawImage - addons/pixel-ui-1.3.1/lua/pixelui/drawing/cl_images.lua:49
4. DrawImgur - addons/pixel-ui-1.3.1/lua/pixelui/drawing/cl_images.lua:90
5. unknown - addons/cbox-hud/lua/cbox-hud/parts/icon.lua:16
Image directory is empty: https://i.imgur.com/m6j9vmG.png
Please just add for simplicity a wiki entry
could help with community contributions and all you'd need is a glualint.json
Could do with setting up some documentation as the library is now public.
All images stop download to the folder data/pixel
empty f4 and spammed error in console
[pixel-ui-1.3.1] addons/pixel-ui-1.3.1/lua/pixelui/core/cl_color.lua:145: attempt to call method 'Lerp' (a nil value)
I'm playing on a server which has an addon which uses Pixel UI
I'm getting script errors from cl_color.lua
[_mutui] addons/_mutui/lua/pixelui/core/cl_color.lua:154: attempt to index local 'colorMeta' (a nil value)
1. unknown - addons/_mutui/lua/pixelui/core/cl_color.lua:154
2. include - [C]:-1
3. LoadDirectory - addons/_mutui/lua/autorun/sh_pixelui_loader.lua:30
4. LoadDirectoryRecursive - addons/_mutui/lua/autorun/sh_pixelui_loader.lua:47
5. LoadDirectoryRecursive - addons/_mutui/lua/autorun/sh_pixelui_loader.lua:49
6. unknown - addons/_mutui/lua/autorun/sh_pixelui_loader.lua:53
Which seems to indicate an issue with the following code in cl_color.lua (Line 153)
local colorMeta = FindMetaTable("Color")
colorMeta.Copy = PIXEL.CopyColor
colorMeta.IsLight = PIXEL.IsColorLight
colorMeta.EqualTo = PIXEL.IsColorEqualTo
It seems that FindMetaTable("Color")
is returning nil instead of a table.
If you have any idea how to fix this, that would be great
Example code creating this issue:
https://github.com/TomDotBat/pixel-hud/blob/master/lua/pixelhud/elements/voting/cl_vote.lua#L116
It seems like the PrecacheArc function is doing some math wrong
If startang is set to 90°:
if startang stays default:
it is observable that the startang is actually changing where it is starting, but endang doesnt reflect that change
@garryspins make a develop branch and use that. people are using the branch you're editing
Add a menu which you can configure client-side UI settings from, and add functions that make it easy for developers to implement.
read what you're actually committing next time
Line 623 in 287a9c7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.