An existential western RPG about semi-conscious GPT agents. Written in a 3d engine from scratch targeting Wasm/Webgl and Desktop https://playgpt.io
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Cameron Murphy Reikes cd8c88b66b Add 3d outline rendering, combine 3d and 2d shaders 10 months ago
art Detect and error on images not in project in blender export script 10 months ago
assets Delete all previous characters and fighting state 10 months ago
marketing_page Somewhat working payment system without saving 1 year ago
server HACK disable optims on release web because of release only bug, maximize 11 months ago
thirdparty Check in sokol shader compiler 11 months ago
.gitattributes Exporter -> separate file, fix codegen, don't ignore .pn files 11 months ago
.gitignore Fix backslash in gitignore that allows sokol shdc 11 months ago
10x.10x Giving items back and forth and REFORMAT EVERYTHING. SUCKS 1 year ago
CMakeLists.txt Convert to 4 space indentation to try out CLion 1 year ago
LICENSE Initial commit 1 year ago
README.md Basic Shadow Mapping of Non-Armature Meshes 11 months ago
Session.vim Fix y coord sorting popping on extreme y coords 1 year ago
assets.mdesk Remove all old copyrighted sprites and animated sprites 11 months ago
better_assert.h Make custom assert work in wasm 1 year ago
buff.h Deserialize bones in one chunk, slice iter macro 11 months ago
build_and_run_remedy.bat Make much easier for other people to build and work on 1 year ago
build_desktop_debug.bat Do chatgpt requests on desktop build, improve writing of Bill 12 months ago
build_web_common.bat Web fixes... 11 months ago
build_web_debug.bat More tools to figure out why it's so laggy on web build 1 year ago
build_web_release.bat HACK disable optims on release web because of release only bug, maximize 11 months ago
character_info.h Farmer does an odd dance, fix scaling of things, delete more old code 10 months ago
codegen.c Meshes refer to exported images, image caching system (only load path 11 months ago
credits.txt Add credits for posterity 11 months ago
elements.mdesk ChatGPT generation/parsing functions 1 year ago
level design document.png Initialize git lfs, 3d asset exporting and loading, debug rendering 11 months ago
main.c Add 3d outline rendering, combine 3d and 2d shaders 10 months ago
make_training_prompt.txt Buff iteration by index macro 1 year ago
makeprompt.h Farmer does an odd dance, fix scaling of things, delete more old code 10 months ago
maketraining.c Rename 1 year ago
openai_cmdline_notes.txt Conver training to metadesk, add metadata. Writing 1 year ago
playgippity.png Initialize git lfs, 3d asset exporting and loading, debug rendering 11 months ago
profiling.h stb_ds ubsan, keyboard shortcuts for speak/give item, custom assert 1 year ago
quad.glsl Add 3d outline rendering, combine 3d and 2d shaders 10 months ago
run_codegen.bat Add 3d outline rendering, combine 3d and 2d shaders 10 months ago
ser.h Binary level loading, separate passes for 2d and 3d 11 months ago
threedee.glsl Add 3d outline rendering, combine 3d and 2d shaders 10 months ago
todo.txt Persistent arena is much bigger, add critical todo for later 11 months ago
tuning.h Farmer does an odd dance, fix scaling of things, delete more old code 10 months ago
web_specific_shader_header.glsl Fix Shadow Texture Border Sampling on Web 11 months ago
web_template.html Web fixes... 11 months ago

README.md

rpgpt

RPG GPT. Short experience

Important Building Steps and Contribution Notes

Be very cautious about committing a change to any large asset files, i.e the art.blend and png files. Every time you do so, even if you change one little thing like moving the player somewhere, you copy the entire file in git lfs, ballooning the storage usage of the git project on the remote. So just try to minimize edits to those big files.

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

To enable codegen error messages, change @echo off to @echo on in run_codegen.bat