Compare commits

...

2 Commits

5
.gitignore vendored

@ -11,6 +11,11 @@ art/exported/
# Exported web builds are zipped into zip files in the root of the repo
*.zip
# We checkin the zipped art blend to keep stuff small, the file compresses really well apparently...
!art/art.zip
art/art.blend
# ctags
tags

@ -4,6 +4,8 @@ RPG GPT. Short experience
![Western Frontier](https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Distribution_of_US_Rural_Population_during_1900.pdf/page1-1280px-Distribution_of_US_Rural_Population_during_1900.pdf.jpg)
# Important Building Steps and Contribution Notes
Every time you checkin/clone the project, you have to unzip art.blend... If this is annoying to you, make a git hook
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

@ -189,6 +189,7 @@ for o in D.objects:
for animation in anims:
write_string(f, animation.name)
old_action = armature.animation_data.action
armature.animation_data.action = animation
startFrame = int(animation.frame_range.x)
endFrame = int(animation.frame_range.y)
@ -228,7 +229,8 @@ for o in D.objects:
write_v3(f, translation)
write_quat(f, rotation)
write_v3(f, scale)
armature.animation_data.action = old_action
# write the mesh data for the armature
bm = bmesh.new()
mesh = mesh_object.to_mesh()

BIN
art/art.blend (Stored with Git LFS)

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save