https://github.com/thacuber2a03/made-with-raylib
A simple badge that tells others that your project was made with raylib.
https://github.com/thacuber2a03/made-with-raylib
2d c header-only raylib
Last synced: over 1 year ago
JSON representation
A simple badge that tells others that your project was made with raylib.
- Host: GitHub
- URL: https://github.com/thacuber2a03/made-with-raylib
- Owner: thacuber2a03
- License: mit
- Created: 2023-01-10T20:36:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T23:18:43.000Z (over 3 years ago)
- Last Synced: 2025-02-03T04:31:52.053Z (over 1 year ago)
- Topics: 2d, c, header-only, raylib
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Made with Raylib
A badge that tells others that your project was made with raylib.
# Installation
Made with Raylib is a header only library, so just dragging it into your project will do.
And of course, it requires [raylib](https://raylib.com).
# Customization
The library only has 2 customization flags:
```c
#define MADE_WITH_RAYLIB_PADDING 8
#define MADE_WITH_RAYLIB_FONT_SIZE 30
```
# Functions
```c
// Initializes the badge.
void InitMadeWithRaylib();
// Gets the size of the scaled badge.
Vector2 GetMadeWithRaylibBadgeSize(float scale);
// Displays the badge with extra parameters.
void MadeWithRaylibEx(Vector2 pos, float scale, Color textColor, Color backgroundColor, bool center, bool directToWebsite);
// Displays the badge.
void MadeWithRaylib(Vector2 pos, float scale, Color textColor, Color backgroundColor);
// Deinitalizes the badge.
void EndMadeWithRaylib();
```