Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Pygame in Github Codespaces!
- LoIdesMio
-
100+ posts
Pygame in Github Codespaces!
I was wondering if it is possible to use Pygame in Github Codespaces? Last time I tried I got confused so I left it I am also looking for other online code editors to make games and languages any ideas? I only know Python so im looking to learn other stuff :3
- bigspeedfpv
-
500+ posts
Pygame in Github Codespaces!
you can't use an online editor because pygame creates desktop apps?
why not just develop locally
why not just develop locally
- LoIdesMio
-
100+ posts
Pygame in Github Codespaces!
Eh can't you can't use an online editor because pygame creates desktop apps?
why not just develop locally

- Chiroyce
-
1000+ posts
Pygame in Github Codespaces!
Yes you technically can, but it is a hacky way I was wondering if it is possible to use Pygame in Github Codespaces? Last time I tried I got confused so I left it I am also looking for other online code editors to make games and languages any ideas? I only know Python so im looking to learn other stuff :3
docker run --rm --cap-add=SYS_ADMIN -p 4444:4444 -p 5900:5900 -e ENABLE_VNC=true selenoid/vnc_firefox:113.0 docker run --rm --name novnc -p 6080:6080 -e AUTOCONNECT=true -e VNC_PASSWORD=selenoid -e VNC_SERVER=172.16.5.4:5900 -e VIEW_ONLY=false bonigarcia/novnc:1.1.0
runs a linux gui on docker and use noVNC to forward it
- LoIdesMio
-
100+ posts
Pygame in Github Codespaces!
cool thanksYes you technically can, but it is a hacky way I was wondering if it is possible to use Pygame in Github Codespaces? Last time I tried I got confused so I left it I am also looking for other online code editors to make games and languages any ideas? I only know Python so im looking to learn other stuff :3docker run --rm --cap-add=SYS_ADMIN -p 4444:4444 -p 5900:5900 -e ENABLE_VNC=true selenoid/vnc_firefox:113.0 docker run --rm --name novnc -p 6080:6080 -e AUTOCONNECT=true -e VNC_PASSWORD=selenoid -e VNC_SERVER=172.16.5.4:5900 -e VIEW_ONLY=false bonigarcia/novnc:1.1.0
runs a linux gui on docker and use noVNC to forward it

- Mrcomputer1
-
500+ posts
Pygame in Github Codespaces!
There is a non-hacky way: https://github.com/devcontainers/features/tree/main/src/desktop-lite and https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/configuring-dev-containers/adding-features-to-a-devcontainer-file.Yes you technically can, but it is a hacky way I was wondering if it is possible to use Pygame in Github Codespaces? Last time I tried I got confused so I left it I am also looking for other online code editors to make games and languages any ideas? I only know Python so im looking to learn other stuff :3docker run --rm --cap-add=SYS_ADMIN -p 4444:4444 -p 5900:5900 -e ENABLE_VNC=true selenoid/vnc_firefox:113.0 docker run --rm --name novnc -p 6080:6080 -e AUTOCONNECT=true -e VNC_PASSWORD=selenoid -e VNC_SERVER=172.16.5.4:5900 -e VIEW_ONLY=false bonigarcia/novnc:1.1.0
runs a linux gui on docker and use noVNC to forward it
- LoIdesMio
-
100+ posts
Pygame in Github Codespaces!
cool thanks lolThere is a non-hacky way: https://github.com/devcontainers/features/tree/main/src/desktop-lite and https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/configuring-dev-containers/adding-features-to-a-devcontainer-file.Yes you technically can, but it is a hacky way I was wondering if it is possible to use Pygame in Github Codespaces? Last time I tried I got confused so I left it I am also looking for other online code editors to make games and languages any ideas? I only know Python so im looking to learn other stuff :3docker run --rm --cap-add=SYS_ADMIN -p 4444:4444 -p 5900:5900 -e ENABLE_VNC=true selenoid/vnc_firefox:113.0 docker run --rm --name novnc -p 6080:6080 -e AUTOCONNECT=true -e VNC_PASSWORD=selenoid -e VNC_SERVER=172.16.5.4:5900 -e VIEW_ONLY=false bonigarcia/novnc:1.1.0
runs a linux gui on docker and use noVNC to forward it
- bigspeedfpv
-
500+ posts
Pygame in Github Codespaces!
https://github.com/devcontainers/features/tree/main/src/desktop-lite and https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/configuring-dev-containers/adding-features-to-a-devcontainer-file.this is the same thing, the dev container config just adds stuff to your docker image lol There is a non-hacky way:
- Chiroyce
-
1000+ posts
Pygame in Github Codespaces!
yes but its a lot simpler + the docker image is a lot more lightweight i think (also doesnt come with a browser pre-installed)https://github.com/devcontainers/features/tree/main/src/desktop-lite and https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/configuring-dev-containers/adding-features-to-a-devcontainer-file.this is the same thing, the dev container config just adds stuff to your docker image lol There is a non-hacky way:
- Discussion Forums
- » Advanced Topics
-
» Pygame in Github Codespaces!