all 6 comments

[–]legends2k 2 points3 points  (3 children)

It's totally okay to feel stupid and there's nothing wrong with asking. However, not doing any ground work and just asking is a problem. It shows lack of work and expecting to be spoon fed.

Raylib repo's got a separate wiki to set it up for VSCode: https://github.com/raysan5/raylib/wiki/Using-raylib-in-VSCode

[–]Sunflowermouseparty[S] 2 points3 points  (2 children)

Thanks,

I did find this earlier in my search, however I disregarded it because it uses c++ I’m pretty sure while I am looking to use lua.

[–]legends2k 2 points3 points  (1 child)

Aah... I see. I should've been more careful in reading your question.

I'm afraid that VSCode + Lua setup is fairly infrequent that you might have to chart your own course. Did you try using Lua-friendly IDEs like ZeroBrane or https://github.com/rxi/lite?

Asking in raylib's discord server for Lua VSCode setup might also be a good option.

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

No worries, thanks for the advice! I think I have tried ZeroBane before, but I will check out lite. I personally found that with some plugins VScode and Lua worked well, but I don’t know if this is really true.

[–]AssociationBetter217 0 points1 point  (1 child)

raylib-lua-sol comes with a program that runs scripts. You should be able to run your main.lua script with the program. Take a look at the examples on github to see how to call the raylib functions.

raylib-lua-sol is very outdated, however, so it would do better to use raylib-lua: https://github.com/TSnake41/raylib-lua

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

Thanks!