Skip to content

TeamMeadows/rndx-atomic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNDX for Atomic

This repository is a port of RNDX to the Atomic Framework.

Installation

Download the latest version and extract it to the addons folder

Example of usage

---@class YoursPackage: Atomic.Package
local package = current()
local config = self:getConfiguration()
local rounding = config:get("rounding")

local RNDX = package:getDependency("dev.srlion.rndx")
---@cast RNDX RNDX

local someColor = Color(170, 55, 127)
package:listen(function(self)
  local w, h = ScrW(), ScrH()
  local boxW, boxH = w/2, h/2

  RNDX:draw(rounding, w/2-boxW/2, h/2-boxH/2, boxW, boxH, someColor)
end, "HUDPaint")

About

Srlion's RNDX ported to Atomic Framework

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages