Posted September 28, 2022 by racenis
#Tramway SDK
The "half an hour or so" for making animations turned into 3 hours. Oh well. Exported all of the models and started working on assembling the level in my level editor.
Since this current editor is more of a prototype, I will not implement these features now, but when I write the proper version of the editor. Putting the level together took about 4 hours. Very not good! Also I had forgotten to add a parameter to transitions that says into which cell they are supposed to go into. Patched that in. Started programming actual gameplay code.
Some problems:
Also it looks like I didn't actually fix the animation code. It's still broken!
...
After looking into it further, it seems like that I actually did in fact fix the animation code. It's just that if the vertex group list that you define in Blender isn't in the same order as it is in the armature, everything breaks. I vaguely remember predicting this when I was originally writing the model loading code about a year ago, but I didn't do anything about it, since I would've had change the model format after I had already written all of the exporters and importers for it. Anyway, good to know; will probably fix this sometime.
Started working on gameplay logic code, there's still some bugs in how animations and everything is handled, but I think I should have enough time to fix it.