Skip to content

An easy to use rendering utility to debug things fast

Notifications You must be signed in to change notification settings

benank/jc3mp-debug-circle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jc3mp-debug-circle

An easy to use rendering utility to debug things fast

alt

Installation

Just drop it in your packages directory, and you're done!

Usage

Use jcmp.DrawCircle(renderer, position, size, color); clientside.

Position and size must be Vector2f. Color (optional) must be a string that is a recognized CSS color.

Example Usage

jcmp.events.Add('Render', (r) => 
{
    jcmp.players.forEach(function(p) 
    {
        jcmp.DrawCircle(r, r.WorldToScreen(p.position), new Vector2f(25,25), 'blue');
    });
});

The above code will draw a blue circle at every streamed player's position.

About

An easy to use rendering utility to debug things fast

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published