Commit Graph

24 Commits

Author SHA1 Message Date
44d2f4e7e9 Finished commenting on all functions in the mod. Now just to write up some documentation. 2018-03-19 23:01:43 -07:00
a915a06460 More comments round 2 2018-03-19 03:32:00 -07:00
fabef6ba82 Started the great comment update. 2018-03-18 19:06:08 -07:00
9834bbcf28 Fixed npc movment, npcs now correctly animate when moving, need to fix graphics for it though. 2018-03-18 16:06:49 -07:00
5c1f09b266 Fixed modular npc breathing. 2018-03-18 03:20:06 -07:00
bd6e479b4f Finished the basics of the npc renderer. I have included the base art assets for generating a female npc and polished off all of the code. Base goal achived. 2018-03-18 01:48:01 -07:00
9162091329 Fixed drawing glitches with the custom npc renderer. Now just have to get individual assets and make a nice compilation. 2018-03-17 21:49:22 -07:00
f8517e37c3 Implemented code for custom npc merchants. Pretty simple actually and the result is very pleasing. 2018-03-17 04:39:46 -07:00
07757dac1f Discovered that the mod is now corectly rendering npcs. Issue: AnimatedSpriteCollection.draw functionality is inconsistent and needs to be fixed. 2018-03-17 04:18:35 -07:00
43573f0bba Fixed glitches pertaining to loading assets in and generating random npcs. Need to fix layer depth to see if NPC will properly render. 2018-03-17 04:04:04 -07:00
68c831029b New constructors for ExtendedNPC that don't take a CharacterRenderer, just a basic Sprite. 2018-03-04 15:21:39 -08:00
e17dd9ea7c Made a function to generate renderers. 2018-03-04 14:44:52 -08:00
c737024599 The asset loader should now have all like assets bundled together. So all swimming animations will pull from the same body sprite as defined instead of always random. 2018-03-04 14:32:59 -08:00
d5536b9e52 Getting closer to the finished product. Assets are grouped together now with .json holding all the info for the different animation types. 2018-03-04 13:23:40 -08:00
005ad14cfd I think the asset loader works this time. I can have 4 pngs assigned per .json file. Only way to know for sure is to start loading in a ton of art... 2018-03-04 07:53:55 -08:00
b9e42ae256 Got the asset loaded up and running. Currently I can load in normal npc sprites using .json files. 2018-03-04 04:36:46 -08:00
e6696d8bb0 Made a way to keep track of npcs so that way they can be safely removed before saving and NOT crash the game. 2018-03-04 03:36:19 -08:00
e5808eeb5c Yup. 2018-03-03 19:24:36 -08:00
4fb792db11 Fixed the default non-modular spriter renderer to draw normal npcs again. 2018-02-24 01:36:41 -08:00
45c5b69ba0 Updated a constuctor to used the new character sprite class. 2018-02-24 01:05:58 -08:00
fd9f5d9703 I think the integration is finished for the custom npc renderer. Who knows though. 2018-02-24 01:04:35 -08:00
b19de23487 integrated code to ExtendedNPC that needs to be overwritten to fix the this.sprite issue. 2018-02-23 23:40:34 -08:00
b57a5f506f Finished base code for basic renderer. Now all I have to do is create the character renderer and AssetManager... 2018-02-23 23:16:10 -08:00
1fc38b964c Started work on custom npcs. Can load in new npcs from graphics. They don't do anything but stand there... 2018-02-23 19:10:56 -08:00