269 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
24
views
How do I make directional movement in my 3D Raylib game
I am currently making a 3D game with C# in Raylib a game library and when coding the movement of my player which is just a hitbox and a camera, I ran into a problem on how the player movement controls ...
0
votes
2
answers
113
views
Unable to link Raylib.h in C project using MinGW in Visual Studio Code on Windows
I hope you're all good.
I'm trying to set up a C project using Raylib in Visual Studio Code with MinGW as the compiler on Windows 10. I downloaded Raylib from the official site(it's storage about 2....
0
votes
1
answer
127
views
How to fix the error: multiple definition of 'GuiEnable'?
I am having some trouble configuring raygui.h with cmake using two targets, a library and a executable. There is a repository here with the exact files that causes errors of multiple definition of ...
1
vote
1
answer
70
views
Why doesn’t rlgl 2D drawing appear when using Raylib Camera2D?
I'm trying to batch some textures together in raylib (2d game) and so it tried using the 2d rlgl and for some reason that I can't figure out why nothing is getting drawn. I looked at examples and ...
0
votes
1
answer
156
views
Getting Access violation exception thrown when setting up raylib with visual studio 2022
I wanted to learn game dev in C++ lately, so I decided to setup raylib in Visal Studio 2022 by following a tutorial online. I downloaded the latest release from the raylib github repo and configured ...
1
vote
0
answers
156
views
Custom Raylib Shader Problem, Unable To See My Textures
I have written a custom shader for both vs and fs. The shader is supposed to draw two textures one in the front face of the cube and the other is in the back face of the cube. What I'm struggling with ...
1
vote
0
answers
167
views
C++ Raylib issue with finding Collisions with Mesh when mesh DrawModel() Position is not work center
I am trying to make a game which requires checking collisions with the players camera. When trying to handle collisions I found that I was not able to detect collisions with a Model unless the ...
0
votes
1
answer
108
views
"loadImageSVG" linker error when building with Ada Raylib
Hope you an help me, I am attempting to get into simple game development using Ada and the Raylib Ada binding. So far so good, I set everything up through Alire Package Manager, got VS Code to find ...
0
votes
0
answers
445
views
How to add custom fonts in raylib?
How can I add a custom font in raylib? For example, if I have a ttf file, how do i display the font with the DrawText() function?
1
vote
0
answers
122
views
Raylib simple snow particle system flickering problem
I'm quite new to Raylib and trying to make a simple snow particle system. I managed to make it as below code and built it. But when I run it, the snowflakes flicker and I can easily notice it.
Here's ...
0
votes
0
answers
60
views
Disable Raylib-J log messages
Is there a way to disable logging in raylib-j
INFO: Initializing raylib 4.2 INFO: Supported raylib modules: INFO: > rcore:..... loaded (mandatory) INFO: > rlgl:...... loaded (mandatory) ...
2
votes
0
answers
201
views
raylib - input attribute to vertex shader
I have simple vertex shader
#version 330 core
in vec4 vertexPosition;
in vec4 vertexColor;
out vec4 v_color;
uniform mat4 mvp;
void main()
{
v_color = vertexColor;
gl_Position = mvp * ...
1
vote
1
answer
152
views
How to fix jitteriness when moving diagonally?
In my game (C++/Raylib) when I move the player diagonally there is a lot of jitter for the rest of the elements
When I move the character I "Scroll" the level (adds an offset to an ...
3
votes
0
answers
365
views
Searching for raylib library (cross-platform) in CMakeLists before fetching?
I want to use CMake for my raylib video game so that any user can easily build the application on their platform. The idea is to try and find raylib library in the system before trying to install it ...
0
votes
0
answers
63
views
blurred circles in Raylib-cs
I wrote some code in C# and Raylib-cs. It should do this: When you do a click, there should be drawn a circle and a line between the center of the circle and the actual mouse position. When you do ...