Coder Social home page Coder Social logo

custommoderatorbadge's Introduction

Custom Moderator Badge

What is this?

This is a library that allows you to modify Geometry Dash to display custom moderator badges in user profiles and comments. Normally the game can only process two hardcoded moderator levels(which are sent back from the game's servers), however, this library provides you with the necessary tools to display different badges for as many moderator levels you desire.

Quickstart

All of the functionality of this library is provided through the CustomBadgeManager class. This class is a singleton and as such can only be accessed throught the method CustomBadgeManager::get.

To add a new moderator badge:

Call the method mapBadgeIdToSprite. The first parameter is the "moderator level" you want the custom badge sprite to be associated with. The second parameter is the name of the sprite you want to display to the user. NOTE: The sprite must already be loaded into the game's texture cache before calling this method.

CustomBadgeManager::get().mapBadgeIdToSprite(modLevel, "customSpriteName");

Documentation

You can find documentation for all the methods of this library inside the "CustomProfileBadges.hpp" header file.

custommoderatorbadge's People

Contributors

nihr4 avatar

Stargazers

 avatar yuki avatar user95401 avatar Nick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.