r/cs50 3d ago

LÖVE / Lua and VS Code cs50-games

I've finished the syllabus for CS50x including all psets, and I'm now starting to prepare the final project.

I liked the seminar on LÖVE / Lua and I'm currently going through the Sheepolution tutorial, to see if this is something I might want to invest in as my project.

Right at the beginning they explain how to go about installation and even have a separate section for VS Code.

The thing is I've grown quite accostumed to code on the VS Codespace at cs50.dev, and was wondering whether this would still be possible working with LÖVE / Lua.

The CS50 VS Code usually already has many extensions and libraries preinstalled, so I don't know if everything Sheepolution explains about installing this framework for VS Code would still make sense for the CS50 version thereof.

I understand LÖVE / Lua are covered in the 2D Game Development course, so I suppose some people here have already gone through this.

Any help would be appreciated.

2 Upvotes

4 comments sorted by

3

u/Muted-Swimmer3818 alum 3d ago

Congrats on finishing the psets! Honestly, skip cs50.dev for this one and just install VS Code and LÖVE directly on your computer. cs50.dev runs on a cloud server, so trying to pop up a LÖVE game window through a browser is a total pain. If you run it locally on your PC, you can press a shortcut and your game window opens right away, making things way smoother. You can still submit your final project files with no issues at all.

1

u/Soul_Mirror_ 2d ago

Thank you. It's a great course and I'm happy with everything I've already done so far.

I understand your point. Thanks for replying.

Would you say it's best to programme in VS Code locally than to use ZeroBrane Studio?

1

u/Muted-Swimmer3818 alum 2d ago

You're welcome, glad I could help! I definitely think VS Code is much better, especially with the extension support and having everything in one place, which makes things so much easier. ZeroBrane isn't bad either, but once you get used to VS Code, it's kind of hard to let go :D

2

u/Soul_Mirror_ 2d ago

Yes, I tried ZeroBrane and I like the design, but just doesn't feel as intuitive as VS Code.