An existential western RPG about semi-conscious GPT agents. Written in a 3d engine from scratch targeting Wasm/Webgl and Desktop https://playgpt.io
 
 
 
 
 
 
Go to file
Cameron Murphy Reikes 0c7334e460 Clarify more build shenanigans
art Export armature as bones, import and debug draw in 3d. Flipped coord
assets Draw player separate from level, camera looks at player while they move.
marketing_page Somewhat working payment system without saving
server HACK disable optims on release web because of release only bug, maximize
thirdparty Export rotations from blender, use quaternions for rotation
.gitattributes Exporter -> separate file, fix codegen, don't ignore .pn files
.gitignore Ignore vim temporary files
10x.10x Giving items back and forth and REFORMAT EVERYTHING. SUCKS
CMakeLists.txt Convert to 4 space indentation to try out CLion
LICENSE Initial commit
README.md Clarify more build shenanigans
Session.vim Fix y coord sorting popping on extreme y coords
assets.mdesk Remove all old copyrighted sprites and animated sprites
better_assert.h Make custom assert work in wasm
buff.h Generate chatgpt prompt using all MD_String8
build_and_run_remedy.bat Make much easier for other people to build and work on
build_desktop_debug.bat Do chatgpt requests on desktop build, improve writing of Bill
build_web_common.bat Web fixes...
build_web_debug.bat More tools to figure out why it's so laggy on web build
build_web_release.bat HACK disable optims on release web because of release only bug, maximize
character_info.h Remove all old copyrighted sprites and animated sprites
codegen.c Remove all old copyrighted sprites and animated sprites
elements.mdesk ChatGPT generation/parsing functions
level design document.png Initialize git lfs, 3d asset exporting and loading, debug rendering
main.c Export armature as bones, import and debug draw in 3d. Flipped coord
make_training_prompt.txt Buff iteration by index macro
makeprompt.h 3D model rotation, npcs face where they're moving
maketraining.c Rename
openai_cmdline_notes.txt Conver training to metadesk, add metadata. Writing
playgippity.png Initialize git lfs, 3d asset exporting and loading, debug rendering
profiling.h stb_ds ubsan, keyboard shortcuts for speak/give item, custom assert
quad.glsl Automatic y sorting with z buffer, 3d!
run_codegen.bat Remove all old copyrighted sprites and animated sprites
ser.h Binary level loading, separate passes for 2d and 3d
threedee.glsl Alpha clipping, grass, stubbed out dbg3dline, made camera mat4s global
todo.txt Persistent arena is much bigger, add critical todo for later
tuning.h 3D model rotation, npcs face where they're moving
web_template.html Web fixes...

README.md

rpgpt

RPG GPT. Short experience

Important Building Steps

You must clone with git lfs is, and download git lfs files in this repository. If you don't know what that is, google it

Open art.blend, go to the scripting tab and hit the play button run the script and export all the 3d assets. Then, make sure that when you build, you also build and run the codegen so that said assets and other files are copied and imported. For debug builds on windows, that's call build_desktop_debug.bat codegen, the codegen argument to the build script causing it to run codegen