experimenting with making a threejs game using cursor
i asked one AI how i would go about using another AI to make a threejs game.
it walked me though how to set up a threejs project folder and how to use vite to test it in the browser.
cursor is a code editor like VS code with a built in AI assistant that alters your code for you. so you just use english to write code. it seems like you can be super productive if you know what to ask the AI. so I can ask one AI like grok, what kinds of vernacular to use on cursor. the more you know about game dev and computers in general makes AI assistants that much more useful.
running the game for the first time, i have a spinning green cube.
ok. now what should i do?
i just feel like there should be a torus rotating around the cube.
i tried that and it didnt work.
so then i thought i would try to make a sphere that the player can runs on like mario galaxy.
it sort of works but the camera is messed up
ok so i decided to scrap that whole thing and have it make a top down dungeon crawler. i fed it hive post and it made something.
i eventually added doors that need keys. but it needs a lot of work to be even close to makerhack's game. but it looks cool! i kinda just want to see what kind of screen saver i can make with this stuff.
its supposed to generate a new room in the scene and build on what it has.
and then i wondered how fast i could make some form of skate game.
skategame
i was able to control the camera with the mouse and make an infinite runner that does skate tricks when he jumps.
pretty impressive for one day of work.
im not sure if you can add sounds or not.
this was way too addicting to play around with, not gonna lie, i was up till 3am messing with this.
this is all without writing a single line of code.
its just one main.js file that contains everything in the game
apparently AI's are really good when the code file they are working on is just one file. i dont see why an AI cant manage more than one but maybe it takes up too much memory. i know it takes a lot of memory to run the actual model.
the AI said i can use 3d models that i made in the game. right now all of them are generated using primitives. ill try that next. see what i can make.
the AI in cursor had me set up a threejs testing enviornment in the browser so i didnt need a server. so cool.
https://github.com/webgnar/threejsskate
the friend im hanging out with is all about AI. i dont like using it for art but am curious to see what it spits out when i use something like a 3d model generator.
i found a github of something like that and am trying to get it working. apparently M1 mac's are not the most compatible.
https://github.com/openai/shap-e
i didn't watch the youtube tutorial on how to do it. i used used AI instead. nice, but i should probably watch it cuz i couldn't get it working yesterday.
update: got it working using cursor lol.
but it... doesnt really work right lol.
python3 generate.py "a car"
right after i asked it why it doesnt look like a car i got this:
well thats all for now. i had a fun day yesterday playing with this stuff. maybe ill buy a month of this just while im at the hacker house in brazil
Leave experimenting with making a threejs game using cursor to:
Read more #gamedev posts
Best Posts From el webgnaro
We have not curated any of web-gnar's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From el webgnaro
- GNAR world dev log 13
- Studio Sim is finally done
- cleaning up my desktop and depositing the stuff here
- Global Game Jam 2026 - Theme: MASK -- Making an Auto-Shooter Incremental Game in 48 Hours! A Game Named SNOWCHINKO was born!
- studio sim update: im putting it on steam, which is quite an elaborate process.
- A side-quest into making an Excalibur.Js game in a few days.
- STUDIO SIM! - the game - is DONE for now. End of Game Jam + Music Added. ~ Final Dev log for this game.
- I Put My Childhood Games On-Chain | Ōkinoko Ināro
- Calling the game "Studio Sim" for now. art studio game? --Making Progress-- as FPS Game Jam Goes Underway!
- Working on my FPS with working title called - Painting Game - an art studio simulator that involves processes I use in the studio
- notes on blender
- Found Some Useful Stuff in Dumpster Outside my Studio + Mini Sun Installed on Ceiling
- More Skateboarding Before Winter! New skateparks Found!
- Phase 1 of my FPS in Godot is "done" - Tech Demo - No Game Loop - STUDIO SIMLUATOR? - Crocotile Game Jam
- A Visit to the Minnesota State Fairgrounds - Museum Style!
- The gnarworld Devlog #12 - massive update! gnar world rehaul. physics update and world sectioned off into seperate scenes.
- The Color Aid Painter Comes to Life! @ The Architecture Biennial 2025 in Chicago's Cultural Center.
- Photos of the city of Rio De Janeiro from the top of the mountain. + one photo of a Sao Paulo building at night
- Experiments in Unity making a Simple Ball game.
- Studio Update #123 - New Studio, New Website