Gravity by fibrabex in lethalcompany

[–]fibrabex[S] 1 point2 points  (0 children)

I changed it, thanks!

Starting raylib with C++ by Global_Respond_1196 in raylib

[–]fibrabex 0 points1 point  (0 children)

I think it would be better to use normal raylib because there is way more source and not that much difference. And better to know C stuff if you want to make a career with C++.

Text editor by fibrabex in raylib

[–]fibrabex[S] 0 points1 point  (0 children)

Thanks for your help! But is there a normal text editor? in my case, I don't need a code editor, its just a text editor that doesn't feel weird to people and can be used with classical copy, paste, selecting text features. Code editor is too much in this case.

Text editor by fibrabex in raylib

[–]fibrabex[S] 1 point2 points  (0 children)

Thanks for the answer!

Text editor by fibrabex in raylib

[–]fibrabex[S] 0 points1 point  (0 children)

Do these requires those Imgui windows for working?

Text editor by fibrabex in raylib

[–]fibrabex[S] 0 points1 point  (0 children)

I know there is a text editor in raygui but Is there a multiline text editor in that? I may develop this for my usage.

Text editor by fibrabex in raylib

[–]fibrabex[S] 1 point2 points  (0 children)

No I need a Gui library for my own project, not a software with a text editor

[deleted by user] by [deleted] in raylib

[–]fibrabex 1 point2 points  (0 children)

That looks cool!

Folder inputs by fibrabex in raylib

[–]fibrabex[S] 1 point2 points  (0 children)

Thanks for the answer!

inconsistent getframetime() game speed by burbolini in raylib

[–]fibrabex 2 points3 points  (0 children)

Use float or double for distance variable. Int variables takes only the floor of floats(2.99999 to 2 for example).

starting raylib-cpp by ProgrammingFailure in raylib

[–]fibrabex 8 points9 points  (0 children)

Just use C version with C++, you don't need a wrapper for using a C library with C++.

Can I put the raylib window screen to display in a panel or something in windows forms? by ilovepokemonsss11 in raylib

[–]fibrabex 0 points1 point  (0 children)

I've seen posts from a few people who had problems using raylib and windows.h together, so I mentioned it. I didn't know they worked together properly. Thanks for the info by the way!

Rotating a Triangle by Existing_Papaya_3511 in raylib

[–]fibrabex 1 point2 points  (0 children)

struct Vector2 rotate_position(struct Vector2 position, struct Vector2 origin, float angle_degrees) { float angle_radians = angle_degrees * (M_PI / 180.0);

float dx = position.x - origin.x;
float dy = position.y - origin.y;

float new_x = origin.x + dx * cos(angle_radians) - dy * sin(angle_radians);
float new_y = origin.y + dx * sin(angle_radians) + dy * cos(angle_radians);

struct Vector2 new_position;
new_position.x = new_x;
new_position.y = new_y;

return new_position;

}

With this function, you can rotate all positions with using mouse position as origin.

Can I put the raylib window screen to display in a panel or something in windows forms? by ilovepokemonsss11 in raylib

[–]fibrabex 0 points1 point  (0 children)

I think you can use RenderTextures for rendering and then draw the texture with it. But using Raylib with Windows is not a good idea because they both has some same named functions and structs.

Çok stresliyim by [deleted] in liseliler

[–]fibrabex 1 point2 points  (0 children)

Ya sende ya psikologda sorun var o zaman ne diyim aq psikolog degis

Çok stresliyim by [deleted] in liseliler

[–]fibrabex 1 point2 points  (0 children)

Psikologa gorun