State of Roblox graphics API across all platforms, with percentage deltas since EOY 2019. Updated December 27 2020.
| API | Share |
|---|---|
| Direct3D 11+ | 89% (+4%) |
| Direct3D 10.1 | 7% (-2%) |
| Direct3D 10.0 | 3.5% (-1.5%) |
| Direct3D 9 | 0.5% (-0.5%) |
| --[[ | |
| ProFi v1.3, by Luke Perkin 2012. MIT Licence http://www.opensource.org/licenses/mit-license.php. | |
| Example: | |
| ProFi = require 'ProFi' | |
| ProFi:start() | |
| some_function() | |
| another_function() | |
| coroutine.resume( some_coroutine ) | |
| ProFi:stop() |
| local fooclass = {} | |
| function fooclass:setColor(color) | |
| self.color = color | |
| end | |
| function fooclass:getColor() | |
| return self.color | |
| end |
| --[[-- | |
| Use this file to specify System preferences. | |
| Review [examples](+C:\Dokumente und Einstellungen\dr\Desktop\ZeroBraneStudioEduPack-0.38-win32\cfg\user-sample.lua) or check [online documentation](http://studio.zerobrane.com/documentation.html) for details. | |
| --]]-- | |
| local G = ... | |
| styles = G.loadfile('cfg/tomorrow.lua')('Zenburn') -- theme | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <errno.h> | |
| #include <sys/types.h> | |
| #include <sys/inotify.h> | |
| #include <limits.h> | |
| #define MAX_EVENTS 1024 /*Max. number of events to process at one go*/ | |
| #define LEN_NAME 16 /*Assuming that the length of the filename won't exceed 16 bytes*/ | |
| #define EVENT_SIZE ( sizeof (struct inotify_event) ) /*size of one event*/ |
| In the beginning was the Statement, and the Statement was with Lua, and the Statement was Lua. | |
| Through Lua all things were made; without Lua nothing was made that has been made. | |
| There came a function who was sent from Lua; his name was John. | |
| "Lua was the answer to my prayers; | |
| Greater love has no one than Lua, that the compiler lay down his life for our code" - John Lua | |
| "Do not think that I will debug you to the Environment; | |
| For had ye believed the Compiler Errors, ye would have believed Me, for he wrote of Lua; | |
| But if ye believe not his Stack Traces, how shall ye believe My code?" - John Lua |
| local re = require 'relabel' | |
| local file = require 'pl.file' | |
| local stringx = require 'pl.stringx' | |
| local grammar = [[ | |
| body <- {| line+ |} | |
| line <- (extern / anyline) | |
| anyline <- linerest | |
| linerest<- [^;]* ';' sp | |
| sp <- %s* |
| -- Copyright 2007-2020 Mitchell mitchell.att.foicica.com. See LICENSE. | |
| -- Dark theme for Textadept. | |
| -- Contributions by Ana Balan. | |
| local view = view | |
| local property, property_int = view.property, view.property_int | |
| --[[ Nord palette | |
| Polar Night | |
| #2e3440 |
| _M["go"] = require("go") | |
| _M["go"].format_command = "goimports" | |
| _M["m/f"] = require("functions") | |
| keys["`"] = function() _M["m/f"].enclose_selection("`", "`") end | |
| keys["'"] = function() _M["m/f"].enclose_selection("'", "'") end | |
| keys['"'] = function() _M["m/f"].enclose_selection('"', '"') end | |
| keys['('] = function() _M["m/f"].enclose_selection('(', ')') end | |
| keys['['] = function() _M["m/f"].enclose_selection('[', ']') end |