Happy July everybody!! ??? Half the year is gone already oh no!!!
I hope you're all well and staying safe out there!
My month was going alright, but one of my housemates moved out so my rents went up, I should be opening some #commissions soon for #pixel #portrait #gifs!
Anyway, here's what I did in June!
NPC Buildings
Since painting is done with Brushes (or bombs!) now, I took the menu option out of the House menu. In it's place I've added the option to change the Building materials.
1500
Even added a preview of the material change. It's actually just changing them and then reverting when you cancel, but don't tell anyone!!
I've taken out the floor and replaced it with a draw loop on the foundation, figured it saves the number of objects in existence.
Rebuilt how NPC Buildings are generated, they now use an array of strings as reference and loop a designated row/column if the size is bigger than the source size.
1526
1527
Used the same system to draw the NPC buildings when in the Build/Placement Menu!
1536
Now I can just edit the array that stores the data and all 3 will change!
Updated the system for changing The Materials that Building parts are made from to no longer destroy and remake the Building. This means I can keep Painted sections if I bring that back.
1539
Reworked the Collision detection for when you're resizing Buildings, it now correctly detects the Buildings Objects, like Bed/Control Orb/etc
Also updated this so if the size hasn't changed it doesn't destroy and recreate the building again, which was always daft XD
1540
I guess I should do something about Rugs being placed in relation to the Building coordinates instead of the World coordinates ?:| Also I still need to save the location of the Objects for Save games, since when you load it will put them back to where they were in relation to the original shape/size.
Building Objects now have the correct position loaded on Save file load!
And I only broke rugs once in doing it!
1543
Found a slight issue, you can get stuck in the Bartop in Cafe's if you resize too much Upwards, so I've disabled that for them specifically. Guess you'll have to choose you placement more carefully!
1544
Goblin Schedules/Pathfinding
Updated Housed Goblins to go to their bed after 22:00, and wake up after 08:00.
1509
Shortly after recording this gif I fixed pathfinding so they wouldn't walk too close to solid objects making it no longer look like they walk through them.
Gave Goblins a Sleeping bag in case they don't have a house! And you can see them sleeping in the NPC menu!
1514
Fixed Farms not working after the first crop, updated Apiary code was clearing the soils connection to them so the Goblins would just stand there until bedtime.
1532
Tools
Changed the controls, now I've got a designated [Item Action] button instead of it being an [Attack] button with with most other Items being used with the [Interact] button. Also upgraded the Shovel to have Charge up,kinda overpowered right now though!
1515
Also added the Watering Can to the Charged Tool system
1516
Added some Particle effects and scale tween to Mining. I'll adjust their appearance at a later date, they seem a bit chonky? Getting particles just right is finicky work.
1528
Also added Particles to Chopping Trees.
1524
...added Mirrorball item for...partying? I dunno, blame Bluwit she gave me the idea!
1534
It's basically a modified Glowstick, kinda want to make it bounce up and down?
...or make it continue to work when on a Pedestal?
I'm also conflicted as to whether the coloured lights should show in the white light areas?
Minor Changes
-Removed Flooring from NPC Buildings, now just drawing it instead of them being objects.
-Added NPC Buildings to the Minimap, including their culled parts list.
-Fixed Buildings expanding into Flooring/Paving
-Fixed Walls connecting to Buildings, this would cause problems if you deleted the building as the wall wouldn't autotile afterwards.
-Made Paving not qualify as "Indoor" for the purpose of Placing things.
-Cleaned up Minimap code, removing old array stuff.
Unrelated to Goblins
I made this as a small thanks to Bluwit for supporting me on Kofi, it's Nia a character from the game she's making. Please check out her stuff! https://gamejolt.com/@bluwit
Thank you all once again, I really appreciate your support and couldn't do this without you.
Please stay safe out there and look after yourselves.
4 comments