Cameron Murphy Reikes
8c192fc5d1
Farmer does an odd dance, fix scaling of things, delete more old code
1 year ago
Cameron Murphy Reikes
7316b9e974
Delete all previous characters and fighting state
1 year ago
Cameron Murphy Reikes
6d3594c6ad
Get shadows for armatures working, testing shadow pillar
1 year ago
Cameron Murphy Reikes
46ba94bc2b
Move shadow mapper shaders into threedee.glsl
1 year ago
Cameron Murphy Reikes
5f49f53376
Run decimate on player mesh, queueing draw calls allows better code
...
reuse
1 year ago
Cameron Murphy Reikes
2e116c0eae
Broken shadows, move all shaders to one file, reuse fragment shader in armature and mesh programs
1 year ago
Cameron Murphy Reikes
c736ebd013
Armatures can have custom images, support non-alpha images in load image
1 year ago
Cameron Murphy Reikes
c9b6ce0c3e
Meshes refer to exported images, image caching system (only load path
...
once)
1 year ago
andrewjhaman
9fba3ec151
Fix collisions. Switch to No-Culling Shadow Maps. Introduce Better Shadow Bias Calculation. Calculate Normals in the Shader.
1 year ago
Cameron Murphy Reikes
563a2a69b0
Animation blending, fix facing direction of model
1 year ago
andrewjhaman
fab5c86841
Fix Shadow Texture Border Sampling on Web
...
Fix Shadow Texture Border Sampling on Web, by doing a manual check of the uvs in the shader. This probably slows down other versions, but it is not feasible to have two versions of the shader just for this reason.
1 year ago
andrewjhaman
f58d50f7ab
Merge remote-tracking branch 'upstream/main'
1 year ago
andrewjhaman
3a4dd69ffb
Remove Spurious Debug Include
1 year ago
andrewjhaman
2528423546
Bilinearly Sample Shadows Manually
1 year ago
Cameron Murphy Reikes
b84f824f0e
Export and import multiple animations, idle animation
1 year ago
Cameron Murphy Reikes
e7ac3ee43c
Walking animation working on desktop and web
...
- Skeleton texture is clamp to edge because it's an NPOT on webgl 1
1 year ago
Cameron Murphy Reikes
4137372292
Increase precision and max value of bone matrix floats
...
- I just made up a technique that is probably 30% efficient, this is
something to revisit in the future
1 year ago
andrewjhaman
60679ceb2a
Fit the shadow 'frustum' to the scene
...
Fit the shadow volume frustum to the scene geometry to maximize texel usage.
1 year ago
andrewjhaman
19c369fa1e
Basic Shadow Mapping of Non-Armature Meshes
...
Basic PCF-Sampled Shadow Mapping of Non-Armature Meshes, with a rotating sun at a fixed position
1 year ago
Cameron Murphy Reikes
f8fcd426a1
Encoding and decoding of float into normalied float vec4
1 year ago
Cameron Murphy Reikes
053ff80c39
Upload bone transforms as texture, drastically increases max bone count
...
from 4
1 year ago
Cameron Murphy Reikes
414df982a1
Lerp and slerp between animation keyframes
1 year ago
Cameron Murphy Reikes
53c04d573b
Export animations from blender, render correctly with small # of bones!
1 year ago
Cameron Murphy Reikes
36b910c34b
Move one parent relation out of poses, preparation for working anims
1 year ago
Cameron Murphy Reikes
6ce37294be
Skin mesh vertices from bone pose in vert shader, fix rotation of
...
objects being weird
1 year ago
Cameron Murphy Reikes
cbce6c9a81
Armatures are a separate kind of thing, that includes its mesh
1 year ago
Cameron Murphy Reikes
e203dcc88b
Decompose pose mat4 into offset, quaternion rotation, and scale
1 year ago
Cameron Murphy Reikes
c3738d2f8c
Deserialize bones in one chunk, slice iter macro
1 year ago
Cameron Murphy Reikes
90cd549acc
Correctly load, visualize, and transform simple armature pose
1 year ago
Cameron Murphy Reikes
5da994257b
Correctly import armature and debug draw each bone
1 year ago
Cameron Murphy Reikes
76d209f0b4
Export armature as bones, import and debug draw in 3d. Flipped coord
...
systems right now.
1 year ago
Cameron Murphy Reikes
300f849d19
3D model rotation, npcs face where they're moving
1 year ago
Cameron Murphy Reikes
dc731fafeb
Use artist's cowboy mesh for every NPC
1 year ago
Cameron Murphy Reikes
c991047524
Multithreaded chat close w/o error, working chat generations, wall of
...
rocks
1 year ago
Cameron Murphy Reikes
6108da2cdc
Place dynamic npc entities in blender as level editor, allocate on
...
initializing the gamestate
1 year ago
Cameron Murphy Reikes
560e9d8db7
player into gamestate, 3d collision system, entity struct nicer
1 year ago
Cameron Murphy Reikes
03a0d2b5d1
Respect alignment on web arenas, web build 3d works now
1 year ago
Cameron Murphy Reikes
87996ce4c5
Remove all old copyrighted sprites and animated sprites
1 year ago
Cameron Murphy Reikes
41375cc902
Delete tiled and all tilemap code from project
1 year ago
Cameron Murphy Reikes
6f5e5878b8
Remove 2d world space from the project
1 year ago
Cameron Murphy Reikes
e590838b78
Debug drawing in 3d -> 2d, frame behind because project before camera
...
sets view/projection matrices
1 year ago
Cameron Murphy Reikes
d8158c63c1
Alpha clipping, grass, stubbed out dbg3dline, made camera mat4s global
1 year ago
Cameron Murphy Reikes
2bda33bfca
Export scale from blender, and import in game, draw with scale
1 year ago
Cameron Murphy Reikes
d187308c2e
Export rotations from blender, use quaternions for rotation
1 year ago
Cameron Murphy Reikes
dcdc380b40
Draw player separate from level, camera looks at player while they move.
...
Art improvements
1 year ago
Cameron Murphy Reikes
33e7176d19
Binary level loading, separate passes for 2d and 3d
1 year ago
Cameron Murphy Reikes
86f2c544bf
Texture the 3d rendering, fix image flip coordinate system 'problem'
1 year ago
Cameron Murphy Reikes
fba0f0ec6d
Initialize git lfs, 3d asset exporting and loading, debug rendering
1 year ago
Cameron Murphy Reikes
48afb43f0a
Persistent arena is much bigger, add critical todo for later
1 year ago
Cameron Murphy Reikes
471c538162
Fix web build
1 year ago
Cameron Murphy Reikes
c956cfb00b
Characters have a persistent mood. Improves coherence of personalities.
...
Prompt tuning
1 year ago
Cameron Murphy Reikes
1c92f15e9f
Rephrase give_item to gifting, fix standing string not in prompt
1 year ago
Cameron Murphy Reikes
a721f7a416
New type of entities, machines, arrow dispenser, idol machine dispenser
1 year ago
Cameron Murphy Reikes
cb16615453
Use binary serialization in web, fix exists bug in tests
1 year ago
Cameron Murphy Reikes
0b6af91d90
Remove old health bars
1 year ago
Cameron Murphy Reikes
656d40ce29
Allocate memories instead of constant buffer, DRASTICALLY reduces entity
...
size
1 year ago
Cameron Murphy Reikes
60787202cb
Add binary serialization and serialization tests
1 year ago
Cameron Murphy Reikes
15e93821b2
Escape backslashed user input
1 year ago
Cameron Murphy Reikes
20b7465780
Web fixes...
...
https://i.kym-cdn.com/entries/icons/facebook/000/031/671/cover1.jpg
1 year ago
Cameron Murphy Reikes
5d8a977e9b
Add an arrow that insults you, and traps you in a fight until you refute the
...
insult
1 year ago
Cameron Murphy Reikes
3f965353de
Max length bump and fix in html5, NPCs can fight the player trapping
...
them in conversation. Fix giving item not creating propagated action
1 year ago
Cameron Murphy Reikes
95db17dfe5
Add an ancient door which opens from 3 secret words, and scrolls that
...
have those words
1 year ago
Cameron Murphy Reikes
90f9586384
Add pile of rocks that only releases the sword if it so desires
1 year ago
Cameron Murphy Reikes
d8de5c205b
Add sword of nazareth, when used inspires adventure among nearby NPCs
1 year ago
Cameron Murphy Reikes
3f2468fff7
Sword & backpack sprites, inventory button opens item grid
1 year ago
Cameron Murphy Reikes
55541a7060
Remove peace tokens, fix who_i_am not in quotes, improve global prompt
1 year ago
Cameron Murphy Reikes
0f14a6bcb3
Fix prompt bug, tune ordering of system prompt, better error messages
1 year ago
Cameron Murphy Reikes
f35595aefb
Text chunk pool allocation, gpt errors into separate ringbuffer, writing
...
style annotations
1 year ago
Cameron Murphy Reikes
211bc6f59f
Fix silly bugs
1 year ago
Cameron Murphy Reikes
cbe1908a70
Fixes?
1 year ago
Cameron Murphy Reikes
32fd2227dd
Fix talking_to not filled in, enum_name -> name, add todo
1 year ago
Cameron Murphy Reikes
1a38114f59
NPCs can select who their actions and speech are directed at
1 year ago
Cameron Murphy Reikes
dfb4e06fff
Remove dead content, item/act desc and fix msg type bug
1 year ago
Cameron Murphy Reikes
32fdc9f24d
Rewrite AI parsing code to use metadesk
1 year ago
Cameron Murphy Reikes
2d18600c0a
Don't propagate action if the action didn't do anything
1 year ago
Cameron Murphy Reikes
ebf4f3eed1
Fix hard to catch fmt bug, make all fmt calls linted by compiler
1 year ago
Cameron Murphy Reikes
9f275fa640
System message last, emphasize last thought, better ACT err message
1 year ago
Cameron Murphy Reikes
b890142d3d
Ability to give peace tokens, wrapped text words can be size 0
1 year ago
Cameron Murphy Reikes
d75e46c521
Communicate to player amount of peace tokens they have
1 year ago
Cameron Murphy Reikes
302aae2f03
Interaction circle on top, peace totem smaller
1 year ago
Cameron Murphy Reikes
c947281eeb
Drama document that seeds memories of all NPCs, peace totem
1 year ago
Cameron Murphy Reikes
c538208064
Internal monologue for NPCs and add more pre-conversation
1 year ago
Cameron Murphy Reikes
b52cd58395
Prompt with chat history
1 year ago
Cameron Murphy Reikes
d30032d38f
Fix web build
1 year ago
Cameron Murphy Reikes
bbd1cd5786
Longer words take longer to animate in
1 year ago
Cameron Murphy Reikes
cfeac39e67
Animate words coming in, grunt speech for words
1 year ago
Cameron Murphy Reikes
d4076f7dc2
Word wrap instead of character wrap, much more legible font
1 year ago
Cameron Murphy Reikes
bcab5ad15e
Make desktop AI gens asynchronous with threads
1 year ago
Cameron Murphy Reikes
eb8948a24c
Party members can talk back at who you're talking to
1 year ago
Cameron Murphy Reikes
fde99619f3
Do chatgpt requests on desktop build, improve writing of Bill
1 year ago
Cameron Murphy Reikes
27b41e089f
Game needed a guy and chatgippity didn't understand no ACT error.
...
- Untested trap behavior for wasm
2 years ago
Cameron Murphy Reikes
5baaa77d5f
Optimize wrapped text function by not remeasuring previous text
2 years ago
Cameron Murphy Reikes
389d17e897
More tools to figure out why it's so laggy on web build
2 years ago
Cameron Murphy Reikes
679322313f
Complete refactor for web, fix parsing bug and add test
2 years ago
Cameron Murphy Reikes
6fba00cc17
Giant refactor, balmers peak split up perceptions into memories/actions
2 years ago
Cameron Murphy Reikes
197135e14e
Rewrite parse code to use MD_String8, add test
2 years ago
Cameron Murphy Reikes
380a422aa0
Delete action elements from game. Rolling, attacking, etc
2 years ago
Cameron Murphy Reikes
30c47d3256
Generate chatgpt prompt using all MD_String8
2 years ago
Cameron Murphy Reikes
8783c057e6
Vim audoindent is broken, manually fix...
2 years ago
Cameron Murphy Reikes
4d79e96d84
Frame arena -> MD_Arena, use string8 in draw_text
2 years ago
Cameron Murphy Reikes
e8d3f44b95
Metadesk works in web with fixed-size arenas, move tuning to tuning
2 years ago
Cameron Murphy Reikes
0dfe102c3e
Cull quads before queueing, fix GNARLY nullterm string bug
2 years ago
Cameron Murphy Reikes
c8b2003ce2
Add many new characters
2 years ago
Cameron Murphy Reikes
52b0eab2e4
Improved eavesdropping and error detection
2 years ago
Cameron Murphy Reikes
9285bc5683
When chatgpt messes up, explain to it why. Allows recovery from errors
2 years ago
Cameron Murphy Reikes
27bed12418
Players in party hear conversations, and can butt in
2 years ago
Cameron Murphy Reikes
51a31cc7ea
Make custom assert work in wasm
2 years ago
Cameron Murphy Reikes
70c9a1aadb
Fix keyboard shortcuts firing when nobody to talk to
2 years ago
Cameron Murphy Reikes
c9ef9a69be
Fix debug drawing not working unless you collided with something
2 years ago
Cameron Murphy Reikes
21a8c3aa3b
Stack trace on every draw call for debugging. Trail in dbg drawing
2 years ago
Cameron Murphy Reikes
968351b5b6
stb_ds ubsan, keyboard shortcuts for speak/give item, custom assert
2 years ago
Cameron Murphy Reikes
0d07dc9f73
Fix issue where clipping in world space not transformed
2 years ago
Cameron Murphy Reikes
b87efc8c2b
For some reason there were 2 tabs instead of 1 tab everywhere
2 years ago
Cameron Murphy Reikes
f70c2fe047
Gold coin to be traded for the chalice
2 years ago
Cameron Murphy Reikes
d25a498a28
Fix prompt text bugs: no arguments printed in prompt, etc
2 years ago
Cameron Murphy Reikes
595a54a44e
Ability for king to knight player, wins game
2 years ago
Cameron Murphy Reikes
f053fdb445
Win screen
2 years ago
Cameron Murphy Reikes
d2e0f2596e
Giving items back and forth and REFORMAT EVERYTHING. SUCKS
2 years ago
Cameron Murphy Reikes
dc1cb80ecd
Convert to 4 space indentation to try out CLion
2 years ago
Cameron Murphy Reikes
7236b4e935
Remove item when npc gives it to player
2 years ago
Cameron Murphy Reikes
530f929376
Fix printf buff bug, when given item appears in dialog box
2 years ago
Cameron Murphy Reikes
c1dd916ba9
Partially through allowing arguments in actions
...
continue at makeprompt.h:760
2 years ago
Cameron Murphy Reikes
db2480a067
Clicking on item gives it
2 years ago
Cameron Murphy Reikes
b4e2352d0c
Hovering items
2 years ago
Cameron Murphy Reikes
311d8d5118
Remove y coord sorting float, sort by integer, draw into layers
2 years ago
Cameron Murphy Reikes
c726237d31
Separate queues for every render layer
2 years ago
Cameron Murphy Reikes
33a19ce611
Queue everything to render, never immediately draw
2 years ago
Cameron Murphy Reikes
a1c8bb9090
Ensure all items in item grid, clipping flag. Broken transparency sorting on button
2 years ago
Cameron Murphy Reikes
bb004730d7
Partially done item choose grid
2 years ago
Cameron Murphy Reikes
de2f8db1df
Tune text scale
2 years ago
Cameron Murphy Reikes
89aec2e408
Include npc names in dialog and fix msvc error
2 years ago
Cameron Murphy Reikes
4a1671b771
Unfinished work, but MSVC crashes with this commit! Saving for posterity
2 years ago
Cameron Murphy Reikes
71105b91e2
Begin text input on speak button
2 years ago
Cameron Murphy Reikes
7593ebe7c2
Correctly factor web build, beginnings of UI system
2 years ago
Cameron Murphy Reikes
4a4642e97d
Setup for item trade test, prevent *do stuff* hacking
2 years ago
Cameron Murphy Reikes
25e129cb93
Add king and new town layout
2 years ago
Cameron Murphy Reikes
1c76fd6d7a
Much more health, health bar, skeleton only enemy
2 years ago
Cameron Murphy Reikes
fa1e3c2b18
Cache all A* pathfinding results
2 years ago
Cameron Murphy Reikes
13dbe9ef27
REAL A* pathfinding, works!! Runs every frame though
2 years ago
Cameron Murphy Reikes
1f8b3c5d0e
Buggy A* (alternates for some reason)
2 years ago
Cameron Murphy Reikes
6c4983cf1a
Dash afterimage improvements, custom properties in level editor
2 years ago
Cameron Murphy Reikes
622380f077
Talk while time is stopped, fix anim change when time stopped
2 years ago
Cameron Murphy Reikes
74247b2f30
Time grinds to a halt when the player needs it so
2 years ago
Cameron Murphy Reikes
631c7d4aa7
Anim pointer -> enum, so can be serialized
2 years ago
Cameron Murphy Reikes
029ef591a6
Rename
2 years ago
Cameron Murphy Reikes
a7ec6bd6d2
Merge branch 'main' of https://git.rfleury.com/creikey-dev/rpgpt
2 years ago
Cameron Murphy Reikes
6a95c7f131
Roll has trail of afterimages
2 years ago
Cameron Murphy Reikes
36b64ef828
Upgrade to GPT3.5, WAY smarter responses. Saved!
2 years ago
Cameron Murphy Reikes
2834a9357a
ChatGPT generation/parsing functions
2 years ago
Cameron Murphy Reikes
6f05ae350b
Convert another loop to use buff iter i macro
2 years ago