Search found 4 matches

by vakhoir
Mon Feb 17, 2020 8:40 pm
Forum: Face generator
Topic: new face generator
Replies: 7
Views: 3903

Re: new face generator

Looks like the generator changed a little in display from rectangular to square, which is causing both the original and my faces to look a bit 'skinny' and 'off' now, while the accessories are too large for the faces. Didn't check the Captain Now faces, but it's probably the same. What resolution a...
by vakhoir
Tue Feb 04, 2020 7:56 pm
Forum: Pioneer development
Topic: Lua code style
Replies: 6
Views: 2450

Re: Lua code style

This is going to sound possibly contradictory, but I don't think we actually need to change much to bring the pigui code into compliance. You're already using PascalCase for method names on the classes you're writing; Well... I've been somewhat inconsistent, sometimes it's camelCase, sometimes it's...
by vakhoir
Thu Jan 30, 2020 6:19 pm
Forum: Pioneer development
Topic: Lua code style
Replies: 6
Views: 2450

Re: Lua code style

-- use the string-literal method with require() instead of import, due to import being on its way out the door -- don't use filesystem paths, use Lua's module.name syntax; paths are also being deprecated now -- also worth noting is to please name your files after their primary class, maintaining th...
by vakhoir
Tue Jan 28, 2020 8:42 pm
Forum: Pioneer development
Topic: Lua code style
Replies: 6
Views: 2450

Lua code style

It seems we don't have a consistent coding style for Lua. I should have asked about this from the start, but I figured I'd just copy the style from files that were already committed. The problem is that the PiGui style is quite different from the old UI, and module scripts. The old UI style seems to...