4 months ago

Another month down, and another chunk of game done! I hope you're all doing well and having a great new year so far!

I don't feel like I got as much done as last month (weird since that was holidays XD) but I'm happy with my progress!


Buildings

Added, Wells and natural Oasis. Probably gonna make the Oasis a bit prettier, but it works as proof of concept for now!

 

monstisla1804.gif

1804

You can fill your watering can at both.

Added a Merchant Landing Platform, as a way for Merchant Goblins to come to the Island.

 

monstisla1812.gif

1812

Split the sprite and adjusted the depth of the platform, so things look right now. No more walking over the Balloon!

 

monstisla1819.gif

1819

Originally I'd planned on having Docks, which Goblin Merchants could stop at, but there was going to be issues with doing the land check when placing them, it would require 2 types of land; Shallow Water + Beach. A solution to this would have been to split the Dock/Jetty building into parts but I wasn't keen on that. There was also the issue with Goblins not being able to enter water, so I'd have to flip the access value for water cells when a Dock is placed, then flip it again when destroyed.

Instead I've went for them arriving by air, reusing the Debug Hot Air Balloon sprite, with some added bob. I'd like to have bigger airships that would bring multiple Merchants, but a single Platform that can have a single Merchant land on it works for now!

Also added these to the Save System. I think I've got most buildings added, but I really need to go over each one by one and check!

NPC's

Merchant Goblins are now a Job type again. Unlike other Goblins they can't be asked to follow you, can't be housed and can't give you Requests.

 

monstisla1810.gif

1810

They also only hang around for a while...

 

ezgif-2-f78a590e22.gif

1816

But I'm not sure if I'll make them need somewhere to stay or not? That's an awful lot of work, which could easily be broken by you destroying the place they would be staying. So I guess for now, they'll just leave by the end of the day.

Fixed the depth issue with landed HAB's, so Goblins don't walk over them

 

monstisla1819.gif

1819

ALTHOUGH, if I get bigger airships...they could sleep onboard?

World Gen

Set up a chance chance system for Oasis to spawn in Deserts as well as for other things in the future, and did a big reworked how world gen works.

As you can see...it didn't work straight away X'D

 [Gif too big]

https://i.imgur.com/ThlDG64.gif

1806

Turns out there was some mistakes in my World Gen code, I was actually overshooting the edge of sub-chunks so I was spawning stuff in the first cell twice (once at the the start sub-chunk and then for the next sub-chunk on the current ones last loop)

 

monstisla1807.gif

1807

But I got that all sorted.

 

monstisla1808.gif

1808

Each Chunk is built from lines of text in arrays, there are different ones for each biome type so I can make Desserts have less trees than Grassland without having to rely on entirely one RNG check for each tree.

Improved their appearance adding an under sprite to avoid player collision.

 

monstisla1809.gif

1809

Unfortunately this gif was made before the spawn fix, that rock shouldn't have spawned on the Oasis!

Items

Made it possible to fill the Watering Can and deplete it's contents when used on Crops. Their capacity is based on their Quality.

 

monstisla1800.gif

1800

Also they can no longer be stacked

 

monstisla1801.gif

1801

Visuals

Added some new sprites for Tools and changed how they animate.

Tried having them as just a rotation of the sprite, looks good for the Axe in certain directions but needs something else

 

monstisla1821.gif

1821

 

monstisla1822.gif

1822

Still needs work. I think offsetting the y value by the frame while facing up and down might look better.

This has kinda messed up the charged effect when using the Axe, so maybe I should change it not be a slash.

Made it better. Took out the rotating sprite for the side versions and replace them with sprite frames, added a movement slash and some x/y offsetting. Only issue is this really doesn't work with the Charged Axe effect, so I think I'll keep this for Tools with a Forward Charge but make more of a 90 degree swing for the Axe.

 

ezgif-2-204b8f72a8.gif

1833

Added some more JUICE to Rock and Tree harvesting. Will definitely add an accessibility option to turn off the flash.  Also maybe a better way of doing the flash itself.

 

monstisla1837.gif

1837

Currently it's active when the object's scale is bigger than the default, but the Tween I'm using is EaseOutElastic which overshoots the target (the default size) then wiggles back and forth over it till it's equalised, which would cause flashing. I've had to manually adjust the value that causes the flash different for both trees and rocks, would be nice if they were the same.

Trying Particles for Clouds instead of sprites, I think it works well?

 

monstisla1849.gif

1849

Definitely need to figure out how to highlight the player.  Originally I was changing the sprite alpha based on if the player was above or below the Weather area, but doing that with Particles changes it for all clouds (since they share particle settings).

monstisla1850.gif

 

1950

Ok I set it up so Chunks now each have their own Cloud Particle, so I can change their opacity independently. I don't think this should effect performance...

Did a short video for this since there's a lot of moving things and that makes BIG gifs.

https://www.youtube.com/watch?v=uhnEsU1QKUY

Updated splash particles too land on Objects.

 

monstisla1857.gif

1857

Changed them to land on top with random offset

 

monstisla1858.gif

1858

Not sure hot to stop the main splashes landing on the sides of things though.

 

ezgif-2-f916ccfc6c.gif

1859

I was thinking double up on the emitter but with different depths and offset but the outcome was the same.

Realised there was some issues discrepancies between where the drops were landing and where rain stopped, so I've reworked things, they should be more connected now.

 

monstisla1860.gif

1860

The main problem with Particles is there's no way to tell them to stop at a specific point, so I've had to dust off the old distance = speed * time to calculate it XD

Also removed any randomness for rain speed/life in the particles, but I should be able to still have different speeds if I adjust the life to keep the distance the same? Otherwise the Cloud will be created in a different place?

Wait..I just found out that Weather Depth was 10x what it should have been!?! FIXED!

 

monstisla1862.gif

1862

Oh, and I had remove the y stretch on the rain particles because with them being stretched the splashes weren't lining up right, they HAVE to spawn in the centre of the particle that created them, so this makes that look better.

UI

Added a Portrait animation for when you eat, and by necessity variables for Player Appearance. Guess that means I should rebuild the Appearance UI soon!

 

monstisla1838.gif

1838

I even set the animation up so it gets cancelled if you eat again before it's finished, shame I couldn't keep the Heart Emote going. Maybe I can change it to a particle so I can have it over the UI? These ones are just sprites but if I swapped all my other emotes from objects to particles that would save performance too!

Realised I could replace this whole thing with Particles, so I scrapped it all and did that. Now I'm only using two variables, one to tell the UI to draw the portrait, and a timer to change that value to an emote once the food has hit the mouth.

 

monstisla1840.gif

1840

Also added different reactions. This probably wont be used for the player, unless there's bad food (Baked Banato?), mostly just for when Gifting NPC's things.

 

monstisla1841.gif

1841

Updated how food works slightly, food can now drain Health or Mana! O.O

Currently Drain and Regen are separate buffs/timers, not sure If I should combine them so they override each other?

 

monstisla1854.gif

1854

Built the UI for letting you change your appearance. There'll be some way to do it in game via NPC or such, rather than using the Main Menu, that was just for convenience while testing :D

 

monstisla1845.gif

1845

What I've built is kind a janky. While I am only keeping the face parts array in memory during the animation, I do have blank slots in it from where, for example, Facepaint R is just using  Facepaint L's sprites but flipped and offset (Goblin faces are odd pixel wide so flipping makes them off by 1 pixel). This shouldn't cause any problems it's just a little ugly to look at the gap.

Also for parts which are mirrored, like the Monocle or Eyepatch, instead of having a second entry for spr_Monocle I've set it to "MIRROR" and got a check to use the previous array value instead. Again this should cause any issues (unless I make a wrong entry) but it does look ugly XD

Optimisation

Checking how well things are set up by doing some stress tests. 100 Goblins? Seems fine?

[Gif too big, too many Gobo's!]

https://i.imgur.com/loaAHIc.mp4

1823

700? Not so much, even with their movement code turned off

 

monstisla1825.gif

1825

Or with movement on, but the draw code off

 

monstisla1826.gif

1826

Or both! XD

 

monstisla1827.gif

1827

I'll probably end up limiting how many Goblins you can have at once, but I'm sure there's more optimisations I can do to make things better. Currently there's no Culling system in place for them, so that should cut things down a bit if they're spread out, but won't help if there are 100+ on screen at once.

Bug Fixes and small Changes

-Fixed a bug where World Gen would duplicate the 2nd to last object in a terrain shape's row.

-Fixed a bug where World Gen would not place anything in the last column of a chunk.

-Fixed a bug where World Gen would check the wrong collision cell when attempting to place objects.

-Fixed World Gen; Chunks were populating beyond their boundary, causing things to be placed in adjacent Chunks.

-Fixed Crash bug with Merchants when you try to move to the Sell section when you have nothing to sell.

-Fixed a bug where ending a Goblins Introduction text made you leave the whole interaction.

-Fixed a bug where the Buy/Sell menu caused conversation text to be instantly displayed.

-Fixed a Crash bug when moving from Sell to Buy menu when Merchant has too few item types to buy.

-Fixed Goblins mouth position not resetting when leaving conversations.

-Fixed Merchant Buy list being shorter than it should have been.

-Fixed Delete Menu's selector box being offset incorrectly.

-Fixed an oversight which stopped Goblins facing different direction when using the Hot Air Balloon.

-Fixed Goblin Eyebrows not being effected by the Hair Palette.

-Added Nature Object (Oasis etc) to the Save and Map Systems.

-Added Error Wiggles to Buy/Sell Menu.

-Added Cactus as an item that can be gained from chopping Cactus instead of Plant Fibres, you can eat it which heals you but you take damage over time. It can also be crafted into Plant Fibres.

-Removed mirrored face sprites and replaced them with code

 

parade037s.gif

Thank you all again for all of your support and interest, it really helps me out a lot and it means the world to me! Please stay safe out there and look after yourselves!

Patreon/Ko-fi Shrine

parade036.gif


0 comments

Loading...

Next up

Ok I'm just gonna stick with the resized sprite for now, def needs cleanedup. New Building! The Mailbox! At the end of the day Goblins have a chance of sending you mail, possibly a gift! Relationships will play into this a bunch, as well as personality.

Fixed a bug with Saving and Loading Crafting Buildings while they were crafting. Seems I didn't update the Crafting check to be an array check, which caused it not to load the amount left to craft...which made them craft negative amounts forever! :S

Happy #WIPWednesday!

Are you working on a game? A song? Something else? Tell us in the comments!

Happy Sunday everyone! I hope you're all having a fantastic weekend! I'm off to lunch!

Please remember to be kind and to look after yourselves. You're all amazing! Take care, and keep being awesome!

🕹️ Enter The Highrise Game Jam Before It Ends On May 5! 🕹️

Learn the rules here: https://gamejolt.com/c/gamedev/highrisejam

Learn how to make a world on Highrise (which you MUST do to enter the jam) here: https://gamejolt.com/p/the-highrise-game-jam-is-underway-watch-t…

The jam has cash prizes! 💸💸💸

urm....uwu?

Updated the Pineapple Crop grow animation. Much better!

Might still need to redraw the actual Pineapple part though.

Anyone else think the amount of flesh on a pineapple is *obscene*?

Under the Desert Sky~

I wanted to remaster, an older piece of mine. How did I do? Tap/swipe to see the piece I created a whole year ago in January of 2023!

Reworked the Mail System. There are now multiple Mail types, including Hints, Small Talk, Gifts and Requests.