- Import the icn.hpp file along with Raylib
#include "icn.hpp"
#include <raylib.h>
- Setup the window
int main() {
InitWindow(800, 800, "ICN in C++ Example");
Icn icn;
}
- Render the ICN of your preference (add script after window setup)
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(BLACK);
icn.render(R"()", { 400, 400 }, 10); // Code, Position, Size
EndDrawing();
}