Commit Graph

30 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 7ba11188bc
migrate to new data API
SMAPI 3.0 no longer allows access to arbitrary file paths through its APIs, so this commit refactors affected code to use relative paths instead.
2019-01-06 00:31:40 -05:00
Joshua Navarro 870dd12a6d Updated CustomNpcs to have fixed texture references. Whether or notI use it is a different question. 2019-01-05 19:15:21 -08:00
Jesse Plamondon-Willard 691515072b
apply consistent code style conventions (no logic changes) 2018-12-30 05:00:05 -05:00
Joshua Navarro e1abeac68b Revitalize: Implemented Animation Manager. Need to fix when held and display in menu. 2018-12-21 15:28:52 -08:00
ad7f9754ef Console commands, bug fixes, and more! 2018-06-08 11:40:23 -07:00
ccddf1d423 The BIG 1.3 update. Everything has been touched and some mods have been reworked a bit. 2018-04-30 18:21:31 -07:00
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